Inherited by SubList< E >.

Classes | |
| class | Itr |
| class | ListItr |
Public Member Functions | |
| void | _moveObjectAtIndexToIndex (int sourceIndex, int destIndex) |
| boolean | add (E element) |
| void | add (int index, E element) |
| boolean | addAll (int index, Collection<?extends E > collection) |
| boolean | addAll (Collection<?extends E > collection) |
| void | addObject (E object) |
| void | addObjects (E...objects) |
| void | addObjectsFromArray (NSArray<?extends E > otherArray) |
| void | clear () |
| Object | clone () |
| int | count () |
| void | ensureCapacity (int capacity) |
| NSArray< E > | immutableClone () |
| void | insertObjectAtIndex (E object, int index) |
| Iterator< E > | iterator () |
| ListIterator< E > | listIterator (final int index) |
| ListIterator< E > | listIterator () |
| NSMutableArray< E > | mutableClone () |
| NSMutableArray (List<?extends E > list, NSRange range, boolean ignoreNull) | |
| NSMutableArray (Vector<?extends E > vector, NSRange range, boolean ignoreNull) | |
| NSMutableArray (NSArray<?extends E > otherArray) | |
| NSMutableArray (E[] objects, NSRange range) | |
| NSMutableArray (E object, E...objects) | |
| NSMutableArray (E[] objects) | |
| NSMutableArray (E object) | |
| NSMutableArray (int capacity) | |
| NSMutableArray (Collection<?extends E > collection) | |
| NSMutableArray () | |
| boolean | remove (Object o) |
| E | remove (int index) |
| boolean | removeAll (Collection<?> collection) |
| void | removeAllObjects () |
| boolean | removeIdenticalObject (Object object, NSRange range) |
| boolean | removeIdenticalObject (Object object) |
| E | removeLastObject () |
| boolean | removeObject (Object object, NSRange range) |
| boolean | removeObject (Object object) |
| E | removeObjectAtIndex (int index) |
| void | removeObjects (Object...otherObjects) |
| void | removeObjectsInArray (NSArray<?> otherArray) |
| void | removeObjectsInRange (NSRange range) |
| E | replaceObjectAtIndex (E object, int index) |
| void | replaceObjectAtIndex (int index, E object) |
| void | replaceObjectsInRange (NSRange range, NSArray<?extends E > otherArray, NSRange otherRange) |
| boolean | retainAll (Collection<?> c) |
| E | set (int index, E element) |
| void | setArray (NSArray<?extends E > otherArray) |
| void | sortUsingComparator (NSComparator comparator) throws NSComparator.ComparisonException |
| List< E > | subList (int fromIndex, int toIndex) |
| void | trimToSize () |
Static Public Attributes | |
| static final Class | _CLASS = _NSUtilitiesExtra._classWithFullySpecifiedNamePrime("com.webobjects.foundation.NSMutableArray") |
| static final Object | ERX_MARKER = "Wonder" |
Protected Member Functions | |
| void | _ensureCapacity (int capacity) |
| void | _initializeWithCapacity (int capacity) |
| void | _setCount (int count) |
| Object[] | objectsNoCopy () |
| void | removeRange (int fromIndex, int toIndex) |
Protected Attributes | |
| transient int | _capacity |
| transient int | _count |
| transient Object[] | _objectsCache |
| transient int | modCount = 0 |
Package Functions | |
| public< T > T[] | toArray (T[] array) |
Static Package Attributes | |
| static final long | serialVersionUID = -3909373569895711876L |
Private Member Functions | |
| boolean | _removeObject (Object object, int index, int length, boolean identical) |
| void | clearCache () |
anArray.add(anObject) _EOCheapCopyMutableArray | NSMutableArray | ( | ) |
| NSMutableArray | ( | Collection<?extends E > | collection | ) |
| NSMutableArray | ( | int | capacity | ) |
| NSMutableArray | ( | E | object | ) |
| NSMutableArray | ( | E[] | objects | ) |
| NSMutableArray | ( | E | object, | |
| E... | objects | |||
| ) |
| NSMutableArray | ( | E[] | objects, | |
| NSRange | range | |||
| ) |
| NSMutableArray | ( | NSArray<?extends E > | otherArray | ) |
| NSMutableArray | ( | Vector<?extends E > | vector, | |
| NSRange | range, | |||
| boolean | ignoreNull | |||
| ) |
| NSMutableArray | ( | List<?extends E > | list, | |
| NSRange | range, | |||
| boolean | ignoreNull | |||
| ) |
| void _ensureCapacity | ( | int | capacity | ) | [protected] |
| void _initializeWithCapacity | ( | int | capacity | ) | [protected] |
Reimplemented from NSArray< E >.
| void _moveObjectAtIndexToIndex | ( | int | sourceIndex, | |
| int | destIndex | |||
| ) |
| boolean _removeObject | ( | Object | object, | |
| int | index, | |||
| int | length, | |||
| boolean | identical | |||
| ) | [private] |
| void _setCount | ( | int | count | ) | [protected] |
Reimplemented from NSArray< E >.
| boolean add | ( | E | element | ) |
| void add | ( | int | index, | |
| E | element | |||
| ) |
| boolean addAll | ( | int | index, | |
| Collection<?extends E > | collection | |||
| ) |
| boolean addAll | ( | Collection<?extends E > | collection | ) |
| void addObject | ( | E | object | ) |
| void addObjects | ( | E... | objects | ) |
| void addObjectsFromArray | ( | NSArray<?extends E > | otherArray | ) |
| void clear | ( | ) |
Reimplemented from NSArray< E >.
| void clearCache | ( | ) | [private] |
Clears out the object cache and tell us to recompute the hash.
| Object clone | ( | ) |
Reimplemented from NSArray< E >.
| int count | ( | ) |
Reimplemented from NSArray< E >.
| void ensureCapacity | ( | int | capacity | ) |
| NSArray<E> immutableClone | ( | ) |
Reimplemented from NSArray< E >.
| void insertObjectAtIndex | ( | E | object, | |
| int | index | |||
| ) |
| Iterator<E> iterator | ( | ) |
| ListIterator<E> listIterator | ( | final int | index | ) |
Reimplemented in SubList< E >.
| ListIterator<E> listIterator | ( | ) |
Reimplemented from NSArray< E >.
| NSMutableArray<E> mutableClone | ( | ) |
Reimplemented from NSArray< E >.
| Object [] objectsNoCopy | ( | ) | [protected] |
Reimplemented from NSArray< E >.
| boolean remove | ( | Object | o | ) |
| E remove | ( | int | index | ) |
| boolean removeAll | ( | Collection<?> | collection | ) |
Reimplemented from NSArray< E >.
| void removeAllObjects | ( | ) |
| boolean removeIdenticalObject | ( | Object | object, | |
| NSRange | range | |||
| ) |
| boolean removeIdenticalObject | ( | Object | object | ) |
| E removeLastObject | ( | ) |
| boolean removeObject | ( | Object | object, | |
| NSRange | range | |||
| ) |
| boolean removeObject | ( | Object | object | ) |
| E removeObjectAtIndex | ( | int | index | ) |
| void removeObjects | ( | Object... | otherObjects | ) |
Much faster implementation of the remove method for larger arrays.
| void removeObjectsInArray | ( | NSArray<?> | otherArray | ) |
| void removeObjectsInRange | ( | NSRange | range | ) |
| void removeRange | ( | int | fromIndex, | |
| int | toIndex | |||
| ) | [protected] |
Reimplemented in SubList< E >.
| E replaceObjectAtIndex | ( | E | object, | |
| int | index | |||
| ) |
Clears the objectsNoCopy too. It's wrong not to clear it.
| void replaceObjectAtIndex | ( | int | index, | |
| E | object | |||
| ) |
| void replaceObjectsInRange | ( | NSRange | range, | |
| NSArray<?extends E > | otherArray, | |||
| NSRange | otherRange | |||
| ) |
| boolean retainAll | ( | Collection<?> | c | ) |
Reimplemented from NSArray< E >.
| E set | ( | int | index, | |
| E | element | |||
| ) |
| void setArray | ( | NSArray<?extends E > | otherArray | ) |
| void sortUsingComparator | ( | NSComparator | comparator | ) | throws NSComparator.ComparisonException |
| List<E> subList | ( | int | fromIndex, | |
| int | toIndex | |||
| ) |
| public<T> T [] toArray | ( | T[] | array | ) | [package] |
Bugfix for the broken implementation in NSArray.
Reimplemented from NSArray< E >.
| void trimToSize | ( | ) |
transient int _capacity [protected] |
final Class _CLASS = _NSUtilitiesExtra._classWithFullySpecifiedNamePrime("com.webobjects.foundation.NSMutableArray") [static] |
Reimplemented from NSArray< E >.
transient int _count [protected] |
transient Object [] _objectsCache [protected] |
final Object ERX_MARKER = "Wonder" [static] |
transient int modCount = 0 [protected] |
final long serialVersionUID = -3909373569895711876L [static, package] |
Reimplemented from NSArray< E >.
1.5.8