er.extensions.foundation
Class ERXMutableArray
java.lang.Object
com.webobjects.foundation.NSArray<E>
com.webobjects.foundation.NSMutableArray
er.extensions.foundation.ERXMutableArray
- All Implemented Interfaces:
- _NSFoundationCollection, NSCoding, NSKeyValueCoding, NSKeyValueCodingAdditions, Serializable, Cloneable, Iterable, Collection, List, RandomAccess
- Direct Known Subclasses:
- ERXMutableArray.ThreadSafeArray
public class ERXMutableArray
- extends NSMutableArray
- implements List
Custom subclass of NSMutableArray. Implements 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
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSCoding |
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 |
| Fields inherited from class com.webobjects.foundation.NSArray |
_capacity, _count, _hashCache, _NSArrayClassHashCode, _objects, _objectsCache, AverageOperatorName, CountOperatorName, EmptyArray, MaximumOperatorName, MinimumOperatorName, NotFound, SumOperatorName |
| Methods inherited from class com.webobjects.foundation.NSMutableArray |
_moveObjectAtIndexToIndex, add, add, addAll, addAll, addObject, addObjects, addObjectsFromArray, clear, clone, ensureCapacity, immutableClone, insertObjectAtIndex, iterator, listIterator, listIterator, remove, remove, removeAll, removeAllObjects, removeIdenticalObject, removeIdenticalObject, removeLastObject, removeObject, removeObject, removeObjectAtIndex, removeObjects, removeObjectsInArray, removeObjectsInRange, removeRange, replaceObjectAtIndex, replaceObjectAtIndex, replaceObjectsInRange, retainAll, set, setArray, sortUsingComparator, subList, toArray, trimToSize |
| Methods inherited from class com.webobjects.foundation.NSArray |
_ensureCapacity, _initializeWithCapacity, _mustRecomputeHash, _mutableComponentsSeparatedByString, _setMustRecomputeHash, _shallowHashCode, arrayByAddingObject, arrayByAddingObjectsFromArray, arrayList, classForCoder, componentsJoinedByString, componentsSeparatedByString, contains, containsAll, containsObject, count, decodeObject, emptyArray, encodeWithCoder, equals, firstObjectCommonWithArray, get, getObjects, getObjects, hashCode, indexOf, indexOfIdenticalObject, indexOfIdenticalObject, indexOfObject, indexOfObject, isEmpty, isEqualToArray, lastIndexOf, lastObject, makeObjectsPerformSelector, objectAtIndex, objectEnumerator, objects, objects, objectsNoCopy, operatorForKey, operatorNames, removeOperatorForKey, reverseObjectEnumerator, setOperatorForKey, size, sortedArrayUsingComparator, sortedArrayUsingSelector, subarrayWithRange, takeValueForKey, takeValueForKeyPath, toArray, toString, valueForKey, valueForKeyPath, vector |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
ERXMutableArray
public ERXMutableArray()
ERXMutableArray
public ERXMutableArray(Collection c)
ERXMutableArray
public ERXMutableArray(NSArray array)
ERXMutableArray
public ERXMutableArray(int i)
ERXMutableArray
public ERXMutableArray(Object obj)
ERXMutableArray
public ERXMutableArray(Object[] aobj)
ERXMutableArray
public ERXMutableArray(Object[] objects,
NSRange range)
ERXMutableArray
public ERXMutableArray(Vector vector,
NSRange range,
boolean flag)
toBlob
public static NSData toBlob(NSArray d)
toBlob
public static NSData toBlob(NSMutableArray d)
fromBlob
public static NSArray fromBlob(NSData d)
fromPropertyList
public static NSArray fromPropertyList(String arrayAsString)
toPropertyList
public static String toPropertyList(NSArray array)
toBlob
public NSData toBlob()
toPropertyList
public String toPropertyList()
mutableClone
public NSMutableArray mutableClone()
- Overrides:
mutableClone in class NSMutableArray
toStringArray
public String[] toStringArray()
synchronizedArray
public static NSArray synchronizedArray()
synchronizedArray
public static NSArray synchronizedArray(NSArray array)
Copyright © 2002 – 2007 Project Wonder.