com.webobjects.eocontrol
Class _EOCheapCopyMutableArray
java.lang.Object
com.webobjects.foundation.NSArray<E>
com.webobjects.foundation.NSMutableArray
com.webobjects.eocontrol._EOCheapCopyMutableArray
- All Implemented Interfaces:
- EOFaulting, _NSFoundationCollection, NSCoding, NSKeyValueCoding, NSKeyValueCodingAdditions, Serializable, Cloneable, Iterable, Collection, List, RandomAccess
public class _EOCheapCopyMutableArray
- extends NSMutableArray
- implements EOFaulting
Reimp of the supplied class which will have some optimizations.
- 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 |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
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 |
| Fields inherited from class com.webobjects.foundation.NSArray |
_hashCache, _NSArrayClassHashCode, _objects, AverageOperatorName, CheckForNull, CountOperatorName, EmptyArray, IgnoreNull, MaximumOperatorName, MinimumOperatorName, NotFound, SumOperatorName |
| Methods inherited from class com.webobjects.foundation.NSMutableArray |
_ensureCapacity, _initializeWithCapacity, _moveObjectAtIndexToIndex, _setCount, add, add, addAll, addAll, addObjectsFromArray, clear, ensureCapacity, remove, remove, removeAll, removeIdenticalObject, removeIdenticalObject, removeLastObject, removeObject, removeObject, removeObjects, removeObjectsInArray, removeObjectsInRange, removeRange, replaceObjectAtIndex, replaceObjectsInRange, retainAll, set, subList, toArray, trimToSize |
| Methods inherited from class com.webobjects.foundation.NSArray |
_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, objects, objects, operatorForKey, operatorNames, removeOperatorForKey, setOperatorForKey, size, sortedArrayUsingComparator, sortedArrayUsingSelector, subarrayWithRange, takeValueForKey, takeValueForKeyPath, toArray, valueForKey, valueForKeyPath, vector |
_CLASS
public static final Class _CLASS
_EOCheapCopyMutableArray
public _EOCheapCopyMutableArray()
_EOCheapCopyMutableArray
public _EOCheapCopyMutableArray(NSArray otherArray)
_EOCheapCopyMutableArray
public _EOCheapCopyMutableArray(EOFaultHandler handler)
willRead
public void willRead()
- Specified by:
willRead in interface EOFaulting
isFault
public boolean isFault()
- Specified by:
isFault in interface EOFaulting
clearFault
public void clearFault()
- Specified by:
clearFault in interface EOFaulting
turnIntoFault
public void turnIntoFault(EOFaultHandler handler)
- Specified by:
turnIntoFault in interface EOFaulting
faultHandler
public EOFaultHandler faultHandler()
- Specified by:
faultHandler in interface EOFaulting
clone
public Object clone()
- Overrides:
clone in class NSMutableArray
mutableClone
public NSMutableArray mutableClone()
- Overrides:
mutableClone in class NSMutableArray
immutableClone
public NSArray immutableClone()
- Overrides:
immutableClone in class NSMutableArray
_setCopy
public void _setCopy(_EOCheapCopyArray copy)
objectsNoCopy
protected Object[] objectsNoCopy()
- Overrides:
objectsNoCopy in class NSMutableArray
count
public int count()
- Overrides:
count in class NSMutableArray
objectAtIndex
public Object objectAtIndex(int index)
- Overrides:
objectAtIndex in class NSArray
objectEnumerator
public Enumeration objectEnumerator()
- Overrides:
objectEnumerator in class NSArray
reverseObjectEnumerator
public Enumeration reverseObjectEnumerator()
- Overrides:
reverseObjectEnumerator in class NSArray
setArray
public void setArray(NSArray otherArray)
- Overrides:
setArray in class NSMutableArray
addObject
public void addObject(Object object)
- Overrides:
addObject in class NSMutableArray
addObjects
public void addObjects(Object... objects)
- Overrides:
addObjects in class NSMutableArray
replaceObjectAtIndex
public Object replaceObjectAtIndex(Object object,
int index)
- Description copied from class:
NSMutableArray
- Clears the objectsNoCopy too. It's wrong not to clear it.
- Overrides:
replaceObjectAtIndex in class NSMutableArray
insertObjectAtIndex
public void insertObjectAtIndex(Object object,
int index)
- Overrides:
insertObjectAtIndex in class NSMutableArray
removeObjectAtIndex
public Object removeObjectAtIndex(int index)
- Overrides:
removeObjectAtIndex in class NSMutableArray
removeAllObjects
public void removeAllObjects()
- Overrides:
removeAllObjects in class NSMutableArray
sortUsingComparator
public void sortUsingComparator(NSComparator comparator)
throws NSComparator.ComparisonException
- Overrides:
sortUsingComparator in class NSMutableArray
- Throws:
NSComparator.ComparisonException
toString
public String toString()
- Overrides:
toString in class NSArray
iterator
public Iterator iterator()
- Specified by:
iterator in interface Iterable- Specified by:
iterator in interface Collection- Specified by:
iterator in interface List- Overrides:
iterator in class NSMutableArray
listIterator
public ListIterator listIterator()
- Specified by:
listIterator in interface List- Overrides:
listIterator in class NSMutableArray
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIterator in interface List- Overrides:
listIterator in class NSMutableArray
Copyright © 2002 – 2011 Project Wonder.