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
com.webobjects.foundation.NSCoding._BigDecimalSupport, com.webobjects.foundation.NSCoding._BigIntegerSupport, com.webobjects.foundation.NSCoding._BooleanSupport, com.webobjects.foundation.NSCoding._ByteSupport, com.webobjects.foundation.NSCoding._CharacterSupport, com.webobjects.foundation.NSCoding._DateSupport, com.webobjects.foundation.NSCoding._DoubleSupport, com.webobjects.foundation.NSCoding._FloatSupport, com.webobjects.foundation.NSCoding._IntegerSupport, com.webobjects.foundation.NSCoding._LongSupport, com.webobjects.foundation.NSCoding._NumberSupport, com.webobjects.foundation.NSCoding._ShortSupport, com.webobjects.foundation.NSCoding._StringSupport, com.webobjects.foundation.NSCoding.Support
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.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
Constructor and Description |
---|
ERXMutableArray() |
ERXMutableArray(Collection<? extends E> c) |
ERXMutableArray(E obj) |
ERXMutableArray(E[] aobj) |
ERXMutableArray(E[] objects,
com.webobjects.foundation.NSRange range) |
ERXMutableArray(int i) |
ERXMutableArray(NSArray<? extends E> array) |
ERXMutableArray(Vector<? extends E> vector,
com.webobjects.foundation.NSRange range,
boolean flag) |
Modifier and Type | Method and Description |
---|---|
static NSArray |
fromBlob(com.webobjects.foundation.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) |
com.webobjects.foundation.NSData |
toBlob() |
static com.webobjects.foundation.NSData |
toBlob(NSArray<?> d) |
static com.webobjects.foundation.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, 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 ERXMutableArray(E[] objects, com.webobjects.foundation.NSRange range)
public static com.webobjects.foundation.NSData toBlob(NSArray<?> d)
public static com.webobjects.foundation.NSData toBlob(NSMutableArray<?> d)
public static NSArray fromBlob(com.webobjects.foundation.NSData d)
public com.webobjects.foundation.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 – 2020 Project Wonder.