public static class ERXMutableArray.ThreadSafeArray<V> extends ERXMutableArray<V>
ERXMutableArray.synchronizedArray();
instead and we will fix all the bugs in due time.ERXMutableArray.ThreadSafeArray<V>
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
_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 |
---|
ThreadSafeArray(NSArray<? extends V> array) |
fromBlob, fromPropertyList, mutableClone, synchronizedArray, synchronizedArray, synchronizedArray, toBlob, toBlob, toBlob, toPropertyList, toPropertyList, toStringArray
_ensureCapacity, _initializeWithCapacity, _setCount, add, add, addAll, addAll, clear, ensureCapacity, iterator, listIterator, listIterator, remove, remove, removeAll, removeRange, replaceObjectAtIndex, retainAll, set, subList, toArray, trimToSize
_mustRecomputeHash, _mutableComponentsSeparatedByString, _objects, _setMustRecomputeHash, _setObjects, componentsSeparatedByString, contains, containsAll, decodeObject, emptyArray, get, getObjects, getObjects, indexOf, isEmpty, lastIndexOf, of, of, of, operatorForKey, operatorNames, removeOperatorForKey, setOperatorForKey, size, sortedArrayUsingSelector, toArray, valueForKey, valueForKey, valueForKeyPath
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public void _moveObjectAtIndexToIndex(int sourceIndex, int destIndex)
_moveObjectAtIndexToIndex
in class NSMutableArray<V>
public void addObject(Object object)
addObject
in class NSMutableArray<V>
public void addObjects(Object... objects)
addObjects
in class NSMutableArray<V>
public void addObjectsFromArray(NSArray<? extends V> otherArray)
addObjectsFromArray
in class NSMutableArray<V>
public Object clone()
clone
in class NSMutableArray<V>
public NSArray<V> immutableClone()
immutableClone
in class NSMutableArray<V>
public void insertObjectAtIndex(V object, int index)
insertObjectAtIndex
in class NSMutableArray<V>
public void removeAllObjects()
removeAllObjects
in class NSMutableArray<V>
public boolean removeIdenticalObject(Object object, NSRange range)
removeIdenticalObject
in class NSMutableArray<V>
public boolean removeIdenticalObject(Object object)
removeIdenticalObject
in class NSMutableArray<V>
public V removeLastObject()
removeLastObject
in class NSMutableArray<V>
public boolean removeObject(Object object, NSRange range)
removeObject
in class NSMutableArray<V>
public boolean removeObject(Object object)
removeObject
in class NSMutableArray<V>
public V removeObjectAtIndex(int index)
removeObjectAtIndex
in class NSMutableArray<V>
public void removeObjects(Object... objects)
NSMutableArray
removeObjects
in class NSMutableArray<V>
objects
- objects to removepublic void removeObjectsInArray(NSArray<?> otherArray)
removeObjectsInArray
in class NSMutableArray<V>
public void removeObjectsInRange(NSRange range)
removeObjectsInRange
in class NSMutableArray<V>
public V replaceObjectAtIndex(V object, int index)
NSMutableArray
replaceObjectAtIndex
in class NSMutableArray<V>
object
- the replacement objectindex
- index of object to replacepublic void replaceObjectsInRange(NSRange range, NSArray otherArray, NSRange otherRange)
replaceObjectsInRange
in class NSMutableArray<V>
public void setArray(NSArray<? extends V> otherArray)
setArray
in class NSMutableArray<V>
public void sortUsingComparator(NSComparator comparator) throws NSComparator.ComparisonException
sortUsingComparator
in class NSMutableArray<V>
NSComparator.ComparisonException
public int _shallowHashCode()
_shallowHashCode
in interface _NSFoundationCollection
_shallowHashCode
in class NSArray<V>
public NSArray<V> arrayByAddingObject(V object)
arrayByAddingObject
in class NSArray<V>
public NSArray<V> arrayByAddingObjectsFromArray(NSArray<? extends V> otherArray)
arrayByAddingObjectsFromArray
in class NSArray<V>
public Class classForCoder()
classForCoder
in interface NSCoding
classForCoder
in class NSArray<V>
public String componentsJoinedByString(String separator)
componentsJoinedByString
in class NSArray<V>
public boolean containsObject(Object object)
containsObject
in class NSArray<V>
public int count()
count
in class NSMutableArray<V>
public void encodeWithCoder(NSCoder coder)
encodeWithCoder
in interface NSCoding
encodeWithCoder
in class NSArray<V>
public boolean equals(Object object)
public V firstObjectCommonWithArray(NSArray<?> otherArray)
firstObjectCommonWithArray
in class NSArray<V>
public int hashCode()
public int indexOfIdenticalObject(Object object)
indexOfIdenticalObject
in class NSArray<V>
public int indexOfIdenticalObject(Object object, NSRange range)
indexOfIdenticalObject
in class NSArray<V>
public int indexOfObject(Object object)
indexOfObject
in class NSArray<V>
public int indexOfObject(Object object, NSRange range)
indexOfObject
in class NSArray<V>
public boolean isEqualToArray(NSArray otherArray)
isEqualToArray
in class NSArray<V>
public V lastObject()
lastObject
in class NSArray<V>
public void makeObjectsPerformSelector(NSSelector selector, Object... parameters)
makeObjectsPerformSelector
in class NSArray<V>
public V objectAtIndex(int index)
objectAtIndex
in class NSArray<V>
public Enumeration<V> objectEnumerator()
objectEnumerator
in class NSArray<V>
protected V[] objectsNoCopy()
objectsNoCopy
in class NSMutableArray<V>
public Enumeration<V> reverseObjectEnumerator()
reverseObjectEnumerator
in class NSArray<V>
public NSArray<V> sortedArrayUsingComparator(NSComparator comparator) throws NSComparator.ComparisonException
sortedArrayUsingComparator
in class NSArray<V>
NSComparator.ComparisonException
public NSArray<V> subarrayWithRange(NSRange range)
subarrayWithRange
in class NSArray<V>
public void takeValueForKey(Object value, String key)
takeValueForKey
in interface NSKeyValueCoding
takeValueForKey
in class NSArray<V>
public void takeValueForKeyPath(Object value, String keyPath)
takeValueForKeyPath
in interface NSKeyValueCodingAdditions
takeValueForKeyPath
in class NSArray<V>
public Object valueForKey(String key)
valueForKey
in interface NSKeyValueCoding
valueForKey
in class NSArray<V>
public Object valueForKeyPath(String keyPath)
valueForKeyPath
in interface NSKeyValueCodingAdditions
valueForKeyPath
in class NSArray<V>
Copyright © 2002 – 2024 Project Wonder.