public class ERXMutableArray<E> extends NSMutableArray<E> implements List<E>
List
and can
be used as a EOF custom value class because it can automatically en- and
decode an NSMutableArray as blob into a database. NOTE: As the List
implementation is based on the NSMutableArray implementation, care must be
taken when subclassing; it is best if you use only List-methods when
extending List-methods and NSArray methods in other cases. Otherwise you will
most likely get into stack overflows. NOTE: List allows for NULL values,
NSMutableArray does not. Therefore you can't use NULL objects. The
ERPrototype name is mutableArray
Modifier and Type | Class and Description |
---|---|
static class |
ERXMutableArray.ThreadSafeArray<V>
Simple thread safe wrapper.
|
NSArray._AvgNumberOperator, NSArray._CountOperator, NSArray._MaxOperator, NSArray._MinOperator, NSArray._Operator, NSArray._SumNumberOperator, NSArray.Operator
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
_capacity, _CLASS, _count, _objectsCache, ERX_MARKER, modCount
_hashCache, _NSArrayClassHashCode, _objects, AverageOperatorName, CheckForNull, CountOperatorName, EmptyArray, IgnoreNull, MaximumOperatorName, MinimumOperatorName, NotFound, SumOperatorName
_KeyPathSeparatorChar, KeyPathSeparator
NullValue
Constructor and Description |
---|
ERXMutableArray() |
ERXMutableArray(Collection<? extends E> c) |
ERXMutableArray(E obj) |
ERXMutableArray(E[] aobj) |
ERXMutableArray(E[] objects,
NSRange range) |
ERXMutableArray(int i) |
ERXMutableArray(NSArray<? extends E> array) |
ERXMutableArray(Vector<? extends E> vector,
NSRange range,
boolean flag) |
Modifier and Type | Method and Description |
---|---|
static NSArray |
fromBlob(NSData d) |
static NSArray |
fromPropertyList(String arrayAsString) |
ERXMutableArray<E> |
mutableClone() |
static <T> NSMutableArray<T> |
synchronizedArray() |
static <T> NSArray<T> |
synchronizedArray(NSArray<T> array) |
static <T> NSMutableArray<T> |
synchronizedArray(NSMutableArray<T> array) |
NSData |
toBlob() |
static NSData |
toBlob(NSArray<?> d) |
static NSData |
toBlob(NSMutableArray<?> d) |
String |
toPropertyList() |
static String |
toPropertyList(NSArray<?> array) |
String[] |
toStringArray() |
_ensureCapacity, _initializeWithCapacity, _moveObjectAtIndexToIndex, _setCount, add, add, addAll, addAll, addObject, addObjects, addObjectsFromArray, clear, clone, count, ensureCapacity, immutableClone, insertObjectAtIndex, iterator, listIterator, listIterator, objectsNoCopy, remove, remove, removeAll, removeAllObjects, removeIdenticalObject, removeIdenticalObject, removeLastObject, removeObject, removeObject, removeObjectAtIndex, removeObjects, removeObjectsInArray, removeObjectsInRange, removeRange, replaceObjectAtIndex, replaceObjectAtIndex, replaceObjectsInRange, retainAll, set, setArray, sortUsingComparator, subList, toArray, trimToSize
_mustRecomputeHash, _mutableComponentsSeparatedByString, _objects, _setMustRecomputeHash, _setObjects, _shallowHashCode, arrayByAddingObject, arrayByAddingObjectsFromArray, arrayList, classForCoder, componentsJoinedByString, componentsSeparatedByString, contains, containsAll, containsObject, decodeObject, emptyArray, encodeWithCoder, equals, firstObjectCommonWithArray, get, getObjects, getObjects, hashCode, indexOf, indexOfIdenticalObject, indexOfIdenticalObject, indexOfObject, indexOfObject, isEmpty, isEqualToArray, lastIndexOf, lastObject, makeObjectsPerformSelector, objectAtIndex, objectEnumerator, objects, objects, of, of, of, operatorForKey, operatorNames, removeOperatorForKey, reverseObjectEnumerator, setOperatorForKey, size, sortedArrayUsingComparator, sortedArrayUsingSelector, subarrayWithRange, takeValueForKey, takeValueForKeyPath, toArray, toString, valueForKey, valueForKey, valueForKey, valueForKeyPath, valueForKeyPath, vector
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public static final long serialVersionUID
public ERXMutableArray()
public ERXMutableArray(Collection<? extends E> c)
public ERXMutableArray(int i)
public ERXMutableArray(E obj)
public ERXMutableArray(E[] aobj)
public static NSData toBlob(NSMutableArray<?> d)
public NSData toBlob()
public String toPropertyList()
public ERXMutableArray<E> mutableClone()
mutableClone
in class NSMutableArray<E>
public String[] toStringArray()
public static <T> NSMutableArray<T> synchronizedArray()
public static <T> NSMutableArray<T> synchronizedArray(NSMutableArray<T> array)
Copyright © 2002 – 2024 Project Wonder.