public class NSArray<_ObjectType> extends NSObject implements NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration, CKRecordValue, java.util.List<_ObjectType>
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSArray(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
boolean |
add(_ObjectType e) |
void |
add(int index,
_ObjectType element) |
boolean |
addAll(java.util.Collection<? extends _ObjectType> c) |
boolean |
addAll(int index,
java.util.Collection<? extends _ObjectType> c) |
void |
addObserverForKeyPathOptionsContext(NSObject observer,
java.lang.String keyPath,
long options,
org.moe.natj.general.ptr.VoidPtr context)
NSArrays are not observable, so these methods raise exceptions when invoked on NSArrays.
|
void |
addObserverToObjectsAtIndexesForKeyPathOptionsContext(NSObject observer,
NSIndexSet indexes,
java.lang.String keyPath,
long options,
org.moe.natj.general.ptr.VoidPtr context)
Register or deregister as an observer of the values at a key path relative to each indexed element of the array.
|
static NSArray<?> |
alloc() |
static NSArray<?> |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static <_ObjectType> |
array() |
NSArray<_ObjectType> |
arrayByAddingObject(_ObjectType anObject) |
NSArray<_ObjectType> |
arrayByAddingObjectsFromArray(NSArray<_ObjectType> otherArray) |
NSArray<_ObjectType> |
arrayByApplyingDifference(NSOrderedCollectionDifference<_ObjectType> difference) |
static <_ObjectType> |
arrayWithArray(NSArray<_ObjectType> array) |
static <_ObjectType> |
arrayWithContentsOfFile(java.lang.String path)
These methods are deprecated, and will be marked with API_DEPRECATED in a subsequent release.
|
static <_ObjectType> |
arrayWithContentsOfURL(NSURL url) |
static <_ObjectType> |
arrayWithContentsOfURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
Reads array stored in NSPropertyList format from the specified url.
|
static <_ObjectType> |
arrayWithObject(_ObjectType anObject) |
static <_ObjectType> |
arrayWithObjects(_ObjectType firstObj,
java.lang.Object... varargs) |
static <_ObjectType> |
arrayWithObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
long cnt) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
void |
clear() |
java.lang.String |
componentsJoinedByString(java.lang.String separator) |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
containsObject(_ObjectType anObject) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
long |
count() |
long |
countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len) |
static java.lang.String |
debugDescription_static() |
java.lang.String |
description() |
java.lang.String |
descriptionWithLocale(java.lang.Object locale) |
java.lang.String |
descriptionWithLocaleIndent(java.lang.Object locale,
long level) |
NSOrderedCollectionDifference<_ObjectType> |
differenceFromArray(NSArray<_ObjectType> other)
Uses isEqual: to determine the difference between the parameter and the receiver
|
NSOrderedCollectionDifference<_ObjectType> |
differenceFromArrayWithOptions(NSArray<_ObjectType> other,
long options) |
NSOrderedCollectionDifference<_ObjectType> |
differenceFromArrayWithOptionsUsingEquivalenceTest(NSArray<_ObjectType> other,
long options,
NSArray.Block_differenceFromArrayWithOptionsUsingEquivalenceTest block) |
void |
encodeWithCoder(NSCoder coder) |
void |
enumerateObjectsAtIndexesOptionsUsingBlock(NSIndexSet s,
long opts,
NSArray.Block_enumerateObjectsAtIndexesOptionsUsingBlock block) |
void |
enumerateObjectsUsingBlock(NSArray.Block_enumerateObjectsUsingBlock block) |
void |
enumerateObjectsWithOptionsUsingBlock(long opts,
NSArray.Block_enumerateObjectsWithOptionsUsingBlock block) |
boolean |
equals(java.lang.Object o) |
NSArray<_ObjectType> |
filteredArrayUsingPredicate(NSPredicate predicate)
evaluate a predicate against an array of objects and return a filtered array
|
_ObjectType |
firstObject() |
_ObjectType |
firstObjectCommonWithArray(NSArray<_ObjectType> otherArray) |
_ObjectType |
get(int index) |
void |
getObjects(org.moe.natj.general.ptr.Ptr<_ObjectType> objects)
This method is unsafe because it could potentially cause buffer overruns.
|
void |
getObjectsRange(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
NSRange range) |
static long |
hash_static() |
int |
hashCode() |
NSIndexSet |
indexesOfObjectsAtIndexesOptionsPassingTest(NSIndexSet s,
long opts,
NSArray.Block_indexesOfObjectsAtIndexesOptionsPassingTest predicate) |
NSIndexSet |
indexesOfObjectsPassingTest(NSArray.Block_indexesOfObjectsPassingTest predicate) |
NSIndexSet |
indexesOfObjectsWithOptionsPassingTest(long opts,
NSArray.Block_indexesOfObjectsWithOptionsPassingTest predicate) |
int |
indexOf(java.lang.Object o) |
long |
indexOfObject(_ObjectType anObject) |
long |
indexOfObjectAtIndexesOptionsPassingTest(NSIndexSet s,
long opts,
NSArray.Block_indexOfObjectAtIndexesOptionsPassingTest predicate) |
long |
indexOfObjectIdenticalTo(_ObjectType anObject) |
long |
indexOfObjectIdenticalToInRange(_ObjectType anObject,
NSRange range) |
long |
indexOfObjectInRange(_ObjectType anObject,
NSRange range) |
long |
indexOfObjectInSortedRangeOptionsUsingComparator(_ObjectType obj,
NSRange r,
long opts,
NSArray.Block_indexOfObjectInSortedRangeOptionsUsingComparator cmp)
binary search
|
long |
indexOfObjectPassingTest(NSArray.Block_indexOfObjectPassingTest predicate) |
long |
indexOfObjectWithOptionsPassingTest(long opts,
NSArray.Block_indexOfObjectWithOptionsPassingTest predicate) |
NSArray<?> |
init() |
NSArray<?> |
initWithArray(NSArray<_ObjectType> array) |
NSArray<?> |
initWithArrayCopyItems(NSArray<_ObjectType> array,
boolean flag) |
NSArray<?> |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSArray<_ObjectType> |
initWithContentsOfFile(java.lang.String path) |
NSArray<_ObjectType> |
initWithContentsOfURL(NSURL url) |
NSArray<_ObjectType> |
initWithContentsOfURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
Reads array stored in NSPropertyList format from the specified url.
|
NSArray<?> |
initWithObjects(_ObjectType firstObj,
java.lang.Object... varargs) |
NSArray<?> |
initWithObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
long cnt) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isEmpty() |
boolean |
isEqualToArray(NSArray<_ObjectType> otherArray) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
java.util.Iterator<_ObjectType> |
iterator() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
int |
lastIndexOf(java.lang.Object o) |
_ObjectType |
lastObject() |
java.util.ListIterator<_ObjectType> |
listIterator() |
java.util.ListIterator<_ObjectType> |
listIterator(int index) |
void |
makeObjectsPerformSelector(org.moe.natj.objc.SEL aSelector) |
void |
makeObjectsPerformSelectorWithObject(org.moe.natj.objc.SEL aSelector,
java.lang.Object argument) |
java.lang.Object |
mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static NSArray<?> |
new_objc() |
_ObjectType |
objectAtIndex(long index) |
_ObjectType |
objectAtIndexedSubscript(long idx) |
NSEnumerator<_ObjectType> |
objectEnumerator() |
NSArray<_ObjectType> |
objectsAtIndexes(NSIndexSet indexes) |
NSArray<java.lang.String> |
pathsMatchingExtensions(NSArray<java.lang.String> filterTypes) |
_ObjectType |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
void |
removeObserverForKeyPath(NSObject observer,
java.lang.String keyPath) |
void |
removeObserverForKeyPathContext(NSObject observer,
java.lang.String keyPath,
org.moe.natj.general.ptr.VoidPtr context) |
void |
removeObserverFromObjectsAtIndexesForKeyPath(NSObject observer,
NSIndexSet indexes,
java.lang.String keyPath) |
void |
removeObserverFromObjectsAtIndexesForKeyPathContext(NSObject observer,
NSIndexSet indexes,
java.lang.String keyPath,
org.moe.natj.general.ptr.VoidPtr context) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
boolean |
retainAll(java.util.Collection<?> c) |
NSEnumerator<_ObjectType> |
reverseObjectEnumerator() |
_ObjectType |
set(int index,
_ObjectType element) |
void |
setValueForKey(java.lang.Object value,
java.lang.String key)
Invoke -setValue:forKey: on each of the receiver's elements.
|
static void |
setVersion_static(long aVersion) |
NSArray<_ObjectType> |
shuffledArray()
Returns a shuffled instance of this array using the systems underlying random source, as with [GKRandomSource sharedRandom]
|
NSArray<_ObjectType> |
shuffledArrayWithRandomSource(GKRandomSource randomSource)
Returns a shuffled instance of this array using the given random source.
|
int |
size() |
NSData |
sortedArrayHint() |
NSArray<_ObjectType> |
sortedArrayUsingComparator(NSArray.Block_sortedArrayUsingComparator cmptr) |
NSArray<_ObjectType> |
sortedArrayUsingDescriptors(NSArray<? extends NSSortDescriptor> sortDescriptors)
returns a new array by sorting the objects of the receiver
|
NSArray<_ObjectType> |
sortedArrayUsingFunctionContext(NSArray.Function_sortedArrayUsingFunctionContext comparator,
org.moe.natj.general.ptr.VoidPtr context) |
NSArray<_ObjectType> |
sortedArrayUsingFunctionContextHint(NSArray.Function_sortedArrayUsingFunctionContextHint comparator,
org.moe.natj.general.ptr.VoidPtr context,
NSData hint) |
NSArray<_ObjectType> |
sortedArrayUsingSelector(org.moe.natj.objc.SEL comparator) |
NSArray<_ObjectType> |
sortedArrayWithOptionsUsingComparator(long opts,
NSArray.Block_sortedArrayWithOptionsUsingComparator cmptr) |
NSArray<_ObjectType> |
subarrayWithRange(NSRange range) |
java.util.List<_ObjectType> |
subList(int fromIndex,
int toIndex) |
static org.moe.natj.objc.Class |
superclass_static() |
static <_ObjectType> |
supportsSecureCoding() |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] a) |
java.lang.Object |
valueForKey(java.lang.String key)
Return an array containing the results of invoking -valueForKey: on each of the receiver's elements.
|
static long |
version_static() |
boolean |
writeToFileAtomically(java.lang.String path,
boolean useAuxiliaryFile) |
boolean |
writeToURLAtomically(NSURL url,
boolean atomically) |
boolean |
writeToURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
Serializes this instance to the specified URL in the NSPropertyList format (using NSPropertyListXMLFormat_v1_0).
|
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description_static, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSArray<?> alloc()
public static NSArray<?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static <_ObjectType> NSArray<?> array()
public static <_ObjectType> NSArray<_ObjectType> arrayWithContentsOfFile(java.lang.String path)
public static <_ObjectType> NSArray<_ObjectType> arrayWithContentsOfURL(NSURL url)
public static <_ObjectType> NSArray<?> arrayWithObject(_ObjectType anObject)
public static <_ObjectType> NSArray<?> arrayWithObjects(_ObjectType firstObj, java.lang.Object... varargs)
public static <_ObjectType> NSArray<?> arrayWithObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSArray<?> new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static <_ObjectType> boolean supportsSecureCoding()
public static long version_static()
public void addObserverForKeyPathOptionsContext(NSObject observer, java.lang.String keyPath, long options, org.moe.natj.general.ptr.VoidPtr context)
addObserverForKeyPathOptionsContext in class NSObjectpublic void addObserverToObjectsAtIndexesForKeyPathOptionsContext(NSObject observer, NSIndexSet indexes, java.lang.String keyPath, long options, org.moe.natj.general.ptr.VoidPtr context)
public NSArray<_ObjectType> arrayByAddingObject(_ObjectType anObject)
public NSArray<_ObjectType> arrayByAddingObjectsFromArray(NSArray<_ObjectType> otherArray)
public java.lang.String componentsJoinedByString(java.lang.String separator)
public boolean containsObject(_ObjectType anObject)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic long count()
public long countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len)
countByEnumeratingWithStateObjectsCount in interface NSFastEnumerationpublic java.lang.String description()
description in interface NSObjectdescription in class NSObjectpublic java.lang.String descriptionWithLocale(java.lang.Object locale)
public java.lang.String descriptionWithLocaleIndent(java.lang.Object locale,
long level)
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic void enumerateObjectsAtIndexesOptionsUsingBlock(NSIndexSet s, long opts, NSArray.Block_enumerateObjectsAtIndexesOptionsUsingBlock block)
public void enumerateObjectsUsingBlock(NSArray.Block_enumerateObjectsUsingBlock block)
public void enumerateObjectsWithOptionsUsingBlock(long opts,
NSArray.Block_enumerateObjectsWithOptionsUsingBlock block)
public NSArray<_ObjectType> filteredArrayUsingPredicate(NSPredicate predicate)
public _ObjectType firstObject()
public _ObjectType firstObjectCommonWithArray(NSArray<_ObjectType> otherArray)
public void getObjects(org.moe.natj.general.ptr.Ptr<_ObjectType> objects)
public void getObjectsRange(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, NSRange range)
public long indexOfObject(_ObjectType anObject)
public long indexOfObjectInRange(_ObjectType anObject, NSRange range)
public long indexOfObjectInSortedRangeOptionsUsingComparator(_ObjectType obj, NSRange r, long opts, NSArray.Block_indexOfObjectInSortedRangeOptionsUsingComparator cmp)
public long indexOfObjectAtIndexesOptionsPassingTest(NSIndexSet s, long opts, NSArray.Block_indexOfObjectAtIndexesOptionsPassingTest predicate)
public long indexOfObjectIdenticalTo(_ObjectType anObject)
public long indexOfObjectIdenticalToInRange(_ObjectType anObject, NSRange range)
public long indexOfObjectPassingTest(NSArray.Block_indexOfObjectPassingTest predicate)
public long indexOfObjectWithOptionsPassingTest(long opts,
NSArray.Block_indexOfObjectWithOptionsPassingTest predicate)
public NSIndexSet indexesOfObjectsAtIndexesOptionsPassingTest(NSIndexSet s, long opts, NSArray.Block_indexesOfObjectsAtIndexesOptionsPassingTest predicate)
public NSIndexSet indexesOfObjectsPassingTest(NSArray.Block_indexesOfObjectsPassingTest predicate)
public NSIndexSet indexesOfObjectsWithOptionsPassingTest(long opts, NSArray.Block_indexesOfObjectsWithOptionsPassingTest predicate)
public NSArray<?> initWithArray(NSArray<_ObjectType> array)
public NSArray<?> initWithArrayCopyItems(NSArray<_ObjectType> array, boolean flag)
public NSArray<?> initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSArray<_ObjectType> initWithContentsOfFile(java.lang.String path)
public NSArray<_ObjectType> initWithContentsOfURL(NSURL url)
public NSArray<?> initWithObjects(_ObjectType firstObj, java.lang.Object... varargs)
public NSArray<?> initWithObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
public boolean isEqualToArray(NSArray<_ObjectType> otherArray)
public _ObjectType lastObject()
public void makeObjectsPerformSelector(org.moe.natj.objc.SEL aSelector)
public void makeObjectsPerformSelectorWithObject(org.moe.natj.objc.SEL aSelector,
java.lang.Object argument)
public java.lang.Object mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
mutableCopyWithZone in interface NSMutableCopyingpublic _ObjectType objectAtIndex(long index)
public _ObjectType objectAtIndexedSubscript(long idx)
public NSEnumerator<_ObjectType> objectEnumerator()
public NSArray<_ObjectType> objectsAtIndexes(NSIndexSet indexes)
public NSArray<java.lang.String> pathsMatchingExtensions(NSArray<java.lang.String> filterTypes)
public void removeObserverForKeyPath(NSObject observer, java.lang.String keyPath)
removeObserverForKeyPath in class NSObjectpublic void removeObserverForKeyPathContext(NSObject observer, java.lang.String keyPath, org.moe.natj.general.ptr.VoidPtr context)
removeObserverForKeyPathContext in class NSObjectpublic void removeObserverFromObjectsAtIndexesForKeyPath(NSObject observer, NSIndexSet indexes, java.lang.String keyPath)
public void removeObserverFromObjectsAtIndexesForKeyPathContext(NSObject observer, NSIndexSet indexes, java.lang.String keyPath, org.moe.natj.general.ptr.VoidPtr context)
public NSEnumerator<_ObjectType> reverseObjectEnumerator()
public void setValueForKey(java.lang.Object value,
java.lang.String key)
setValueForKey in class NSObjectpublic NSArray<_ObjectType> shuffledArray()
public NSArray<_ObjectType> shuffledArrayWithRandomSource(GKRandomSource randomSource)
public NSData sortedArrayHint()
public NSArray<_ObjectType> sortedArrayUsingComparator(NSArray.Block_sortedArrayUsingComparator cmptr)
public NSArray<_ObjectType> sortedArrayUsingDescriptors(NSArray<? extends NSSortDescriptor> sortDescriptors)
public NSArray<_ObjectType> sortedArrayUsingFunctionContext(NSArray.Function_sortedArrayUsingFunctionContext comparator, org.moe.natj.general.ptr.VoidPtr context)
public NSArray<_ObjectType> sortedArrayUsingFunctionContextHint(NSArray.Function_sortedArrayUsingFunctionContextHint comparator, org.moe.natj.general.ptr.VoidPtr context, NSData hint)
public NSArray<_ObjectType> sortedArrayUsingSelector(org.moe.natj.objc.SEL comparator)
public NSArray<_ObjectType> sortedArrayWithOptionsUsingComparator(long opts, NSArray.Block_sortedArrayWithOptionsUsingComparator cmptr)
public NSArray<_ObjectType> subarrayWithRange(NSRange range)
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic java.lang.Object valueForKey(java.lang.String key)
valueForKey in class NSObjectpublic boolean writeToFileAtomically(java.lang.String path,
boolean useAuxiliaryFile)
public boolean writeToURLAtomically(NSURL url, boolean atomically)
public boolean add(_ObjectType e)
add in interface java.util.Collection<_ObjectType>add in interface java.util.List<_ObjectType>public void add(int index,
_ObjectType element)
add in interface java.util.List<_ObjectType>public boolean addAll(java.util.Collection<? extends _ObjectType> c)
addAll in interface java.util.Collection<_ObjectType>addAll in interface java.util.List<_ObjectType>public boolean addAll(int index,
java.util.Collection<? extends _ObjectType> c)
addAll in interface java.util.List<_ObjectType>public void clear()
clear in interface java.util.Collection<_ObjectType>clear in interface java.util.List<_ObjectType>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<_ObjectType>contains in interface java.util.List<_ObjectType>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<_ObjectType>containsAll in interface java.util.List<_ObjectType>public _ObjectType get(int index)
get in interface java.util.List<_ObjectType>public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<_ObjectType>public boolean isEmpty()
isEmpty in interface java.util.Collection<_ObjectType>isEmpty in interface java.util.List<_ObjectType>public java.util.Iterator<_ObjectType> iterator()
iterator in interface java.lang.Iterable<_ObjectType>iterator in interface java.util.Collection<_ObjectType>iterator in interface java.util.List<_ObjectType>public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<_ObjectType>public java.util.ListIterator<_ObjectType> listIterator()
listIterator in interface java.util.List<_ObjectType>public java.util.ListIterator<_ObjectType> listIterator(int index)
listIterator in interface java.util.List<_ObjectType>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<_ObjectType>remove in interface java.util.List<_ObjectType>public _ObjectType remove(int index)
remove in interface java.util.List<_ObjectType>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<_ObjectType>removeAll in interface java.util.List<_ObjectType>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<_ObjectType>retainAll in interface java.util.List<_ObjectType>public _ObjectType set(int index, _ObjectType element)
set in interface java.util.List<_ObjectType>public int size()
size in interface java.util.Collection<_ObjectType>size in interface java.util.List<_ObjectType>public java.util.List<_ObjectType> subList(int fromIndex, int toIndex)
subList in interface java.util.List<_ObjectType>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<_ObjectType>toArray in interface java.util.List<_ObjectType>public java.lang.Object[] toArray(java.lang.Object[] a)
toArray in interface java.util.Collection<_ObjectType>toArray in interface java.util.List<_ObjectType>public int hashCode()
hashCode in interface java.util.Collection<_ObjectType>hashCode in interface java.util.List<_ObjectType>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<_ObjectType>equals in interface java.util.List<_ObjectType>equals in class org.moe.natj.objc.ObjCObjectpublic static <_ObjectType> NSArray<_ObjectType> arrayWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
public NSArray<_ObjectType> initWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
public boolean writeToURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
public NSArray<_ObjectType> arrayByApplyingDifference(NSOrderedCollectionDifference<_ObjectType> difference)
public NSOrderedCollectionDifference<_ObjectType> differenceFromArray(NSArray<_ObjectType> other)
public NSOrderedCollectionDifference<_ObjectType> differenceFromArrayWithOptions(NSArray<_ObjectType> other, long options)
public NSOrderedCollectionDifference<_ObjectType> differenceFromArrayWithOptionsUsingEquivalenceTest(NSArray<_ObjectType> other, long options, NSArray.Block_differenceFromArrayWithOptionsUsingEquivalenceTest block)