Package apple.foundation
Class NSArray<_ObjectType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSArray<_ObjectType>
-
- All Implemented Interfaces:
CKRecordValue,NSCoding,NSCopying,NSFastEnumeration,NSMutableCopying,NSSecureCoding,NSObject,java.lang.Iterable<_ObjectType>,java.util.Collection<_ObjectType>,java.util.List<_ObjectType>
- Direct Known Subclasses:
NSMutableArray
public class NSArray<_ObjectType> extends NSObject implements NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration, CKRecordValue, java.util.List<_ObjectType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSArray(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()voidadd(int index, _ObjectType element)booleanadd(_ObjectType e)booleanaddAll(int index, java.util.Collection<? extends _ObjectType> c)booleanaddAll(java.util.Collection<? extends _ObjectType> c)voidaddObserverForKeyPathOptionsContext(@NotNull NSObject observer, @NotNull java.lang.String keyPath, long options, @Nullable org.moe.natj.general.ptr.VoidPtr context)NSArrays are not observable, so these methods raise exceptions when invoked on NSArrays.voidaddObserverToObjectsAtIndexesForKeyPathOptionsContext(@NotNull NSObject observer, @NotNull NSIndexSet indexes, @NotNull java.lang.String keyPath, long options, @Nullable 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>
NSArray<?>array()@NotNull NSArray<_ObjectType>arrayByAddingObject(_ObjectType anObject)@NotNull NSArray<_ObjectType>arrayByAddingObjectsFromArray(@NotNull NSArray<_ObjectType> otherArray)@Nullable NSArray<_ObjectType>arrayByApplyingDifference(@NotNull NSOrderedCollectionDifference<_ObjectType> difference)static <_ObjectType>
NSArray<?>arrayWithArray(@NotNull NSArray<_ObjectType> array)static <_ObjectType>
@Nullable NSArray<_ObjectType>arrayWithContentsOfFile(@NotNull java.lang.String path)Deprecated.static <_ObjectType>
@Nullable NSArray<_ObjectType>arrayWithContentsOfURL(@NotNull NSURL url)Deprecated.static <_ObjectType>
@Nullable NSArray<_ObjectType>arrayWithContentsOfURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Reads array stored in NSPropertyList format from the specified url.static <_ObjectType>
NSArray<?>arrayWithObject(_ObjectType anObject)static <_ObjectType>
NSArray<?>arrayWithObjects(_ObjectType firstObj, java.lang.Object... varargs)static <_ObjectType>
NSArray<?>arrayWithObjectsCount(@NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()voidclear()@NotNull java.lang.StringcomponentsJoinedByString(@NotNull java.lang.String separator)booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)booleancontainsObject(_ObjectType anObject)@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)longcount()longcountByEnumeratingWithStateObjectsCount(@NotNull org.moe.natj.general.ptr.VoidPtr state, @NotNull org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer, long len)static java.lang.StringdebugDescription_static()@NotNull java.lang.Stringdescription()@NotNull java.lang.StringdescriptionWithLocale(@Nullable java.lang.Object locale)@NotNull java.lang.StringdescriptionWithLocaleIndent(@Nullable java.lang.Object locale, long level)@NotNull NSOrderedCollectionDifference<_ObjectType>differenceFromArray(@NotNull NSArray<_ObjectType> other)Uses isEqual: to determine the difference between the parameter and the receiver@NotNull NSOrderedCollectionDifference<_ObjectType>differenceFromArrayWithOptions(@NotNull NSArray<_ObjectType> other, long options)@NotNull NSOrderedCollectionDifference<_ObjectType>differenceFromArrayWithOptionsUsingEquivalenceTest(@NotNull NSArray<_ObjectType> other, long options, @NotNull NSArray.Block_differenceFromArrayWithOptionsUsingEquivalenceTest block)voidencodeWithCoder(@NotNull NSCoder coder)voidenumerateObjectsAtIndexesOptionsUsingBlock(@NotNull NSIndexSet s, long opts, @NotNull NSArray.Block_enumerateObjectsAtIndexesOptionsUsingBlock block)API-Since: 4.0voidenumerateObjectsUsingBlock(@NotNull NSArray.Block_enumerateObjectsUsingBlock block)API-Since: 4.0voidenumerateObjectsWithOptionsUsingBlock(long opts, @NotNull NSArray.Block_enumerateObjectsWithOptionsUsingBlock block)API-Since: 4.0booleanequals(java.lang.Object o)@NotNull NSArray<_ObjectType>filteredArrayUsingPredicate(@NotNull NSPredicate predicate)evaluate a predicate against an array of objects and return a filtered array_ObjectTypefirstObject()API-Since: 4.0_ObjectTypefirstObjectCommonWithArray(@NotNull NSArray<_ObjectType> otherArray)_ObjectTypeget(int index)voidgetObjects(@NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects)Deprecated.voidgetObjectsRange(@NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, NSRange range)static longhash_static()inthashCode()@NotNull NSIndexSetindexesOfObjectsAtIndexesOptionsPassingTest(@NotNull NSIndexSet s, long opts, @NotNull NSArray.Block_indexesOfObjectsAtIndexesOptionsPassingTest predicate)API-Since: 4.0@NotNull NSIndexSetindexesOfObjectsPassingTest(@NotNull NSArray.Block_indexesOfObjectsPassingTest predicate)API-Since: 4.0@NotNull NSIndexSetindexesOfObjectsWithOptionsPassingTest(long opts, @NotNull NSArray.Block_indexesOfObjectsWithOptionsPassingTest predicate)API-Since: 4.0intindexOf(java.lang.Object o)longindexOfObject(_ObjectType anObject)longindexOfObjectAtIndexesOptionsPassingTest(@NotNull NSIndexSet s, long opts, @NotNull NSArray.Block_indexOfObjectAtIndexesOptionsPassingTest predicate)API-Since: 4.0longindexOfObjectIdenticalTo(_ObjectType anObject)longindexOfObjectIdenticalToInRange(_ObjectType anObject, NSRange range)longindexOfObjectInRange(_ObjectType anObject, NSRange range)longindexOfObjectInSortedRangeOptionsUsingComparator(_ObjectType obj, NSRange r, long opts, @NotNull NSArray.Block_indexOfObjectInSortedRangeOptionsUsingComparator cmp)binary search API-Since: 4.0longindexOfObjectPassingTest(@NotNull NSArray.Block_indexOfObjectPassingTest predicate)API-Since: 4.0longindexOfObjectWithOptionsPassingTest(long opts, @NotNull NSArray.Block_indexOfObjectWithOptionsPassingTest predicate)API-Since: 4.0NSArray<?>init()NSArray<?>initWithArray(@NotNull NSArray<_ObjectType> array)NSArray<?>initWithArrayCopyItems(@NotNull NSArray<_ObjectType> array, boolean flag)NSArray<?>initWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZER@Nullable NSArray<_ObjectType>initWithContentsOfFile(@NotNull java.lang.String path)Deprecated.@Nullable NSArray<_ObjectType>initWithContentsOfURL(@NotNull NSURL url)Deprecated.@Nullable NSArray<_ObjectType>initWithContentsOfURLError(@NotNull NSURL url, @Nullable 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(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisEmpty()booleanisEqualToArray(@NotNull NSArray<_ObjectType> otherArray)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)java.util.Iterator<_ObjectType>iterator()static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)intlastIndexOf(java.lang.Object o)_ObjectTypelastObject()java.util.ListIterator<_ObjectType>listIterator()java.util.ListIterator<_ObjectType>listIterator(int index)voidmakeObjectsPerformSelector(@NotNull org.moe.natj.objc.SEL aSelector)voidmakeObjectsPerformSelectorWithObject(@NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object argument)@NotNull java.lang.ObjectmutableCopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static NSArray<?>new_objc()_ObjectTypeobjectAtIndex(long index)_ObjectTypeobjectAtIndexedSubscript(long idx)API-Since: 6.0@NotNull NSEnumerator<_ObjectType>objectEnumerator()@NotNull NSArray<_ObjectType>objectsAtIndexes(@NotNull NSIndexSet indexes)@NotNull NSArray<java.lang.String>pathsMatchingExtensions(@NotNull NSArray<java.lang.String> filterTypes)_ObjectTyperemove(int index)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)voidremoveObserverForKeyPath(@NotNull NSObject observer, @NotNull java.lang.String keyPath)voidremoveObserverForKeyPathContext(@NotNull NSObject observer, @NotNull java.lang.String keyPath, @Nullable org.moe.natj.general.ptr.VoidPtr context)API-Since: 5.0voidremoveObserverFromObjectsAtIndexesForKeyPath(@NotNull NSObject observer, @NotNull NSIndexSet indexes, @NotNull java.lang.String keyPath)voidremoveObserverFromObjectsAtIndexesForKeyPathContext(@NotNull NSObject observer, @NotNull NSIndexSet indexes, @NotNull java.lang.String keyPath, @Nullable org.moe.natj.general.ptr.VoidPtr context)API-Since: 5.0static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)booleanretainAll(java.util.Collection<?> c)@NotNull NSEnumerator<_ObjectType>reverseObjectEnumerator()_ObjectTypeset(int index, _ObjectType element)voidsetValueForKey(@Nullable java.lang.Object value, @NotNull java.lang.String key)Invoke -setValue:forKey: on each of the receiver's elements.static voidsetVersion_static(long aVersion)@NotNull NSArray<_ObjectType>shuffledArray()Returns a shuffled instance of this array using the systems underlying random source, as with [GKRandomSource sharedRandom]@NotNull NSArray<_ObjectType>shuffledArrayWithRandomSource(@NotNull GKRandomSource randomSource)Returns a shuffled instance of this array using the given random source.intsize()@NotNull NSDatasortedArrayHint()@NotNull NSArray<_ObjectType>sortedArrayUsingComparator(@NotNull NSArray.Block_sortedArrayUsingComparator cmptr)API-Since: 4.0@NotNull NSArray<_ObjectType>sortedArrayUsingDescriptors(@NotNull NSArray<? extends NSSortDescriptor> sortDescriptors)returns a new array by sorting the objects of the receiver@NotNull NSArray<_ObjectType>sortedArrayUsingFunctionContext(@NotNull NSArray.Function_sortedArrayUsingFunctionContext comparator, @Nullable org.moe.natj.general.ptr.VoidPtr context)@NotNull NSArray<_ObjectType>sortedArrayUsingFunctionContextHint(@NotNull NSArray.Function_sortedArrayUsingFunctionContextHint comparator, @Nullable org.moe.natj.general.ptr.VoidPtr context, @Nullable NSData hint)@NotNull NSArray<_ObjectType>sortedArrayUsingSelector(@NotNull org.moe.natj.objc.SEL comparator)@NotNull NSArray<_ObjectType>sortedArrayWithOptionsUsingComparator(long opts, @NotNull NSArray.Block_sortedArrayWithOptionsUsingComparator cmptr)API-Since: 4.0@NotNull NSArray<_ObjectType>subarrayWithRange(NSRange range)java.util.List<_ObjectType>subList(int fromIndex, int toIndex)static org.moe.natj.objc.Classsuperclass_static()static <_ObjectType>
booleansupportsSecureCoding()java.lang.Object[]toArray()java.lang.Object[]toArray(java.lang.Object[] a)static booleanuseStoredAccessor()Deprecated.@NotNull java.lang.ObjectvalueForKey(@NotNull java.lang.String key)Return an array containing the results of invoking -valueForKey: on each of the receiver's elements.static longversion_static()booleanwriteToFileAtomically(@NotNull java.lang.String path, boolean useAuxiliaryFile)Deprecated.booleanwriteToURLAtomically(@NotNull NSURL url, boolean atomically)Deprecated.booleanwriteToURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Serializes this instance to the specified URL in the NSPropertyList format (using NSPropertyListXMLFormat_v1_0).-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description_static, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSArray<?> alloc()
-
allocWithZone
public static NSArray<?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
array
public static <_ObjectType> NSArray<?> array()
-
arrayWithArray
public static <_ObjectType> NSArray<?> arrayWithArray(@NotNull @NotNull NSArray<_ObjectType> array)
-
arrayWithContentsOfFile
@Nullable @Deprecated public static <_ObjectType> @Nullable NSArray<_ObjectType> arrayWithContentsOfFile(@NotNull @NotNull java.lang.String path)
Deprecated.These methods are deprecated, and will be marked with API_DEPRECATED in a subsequent release. Use the variants that use errors instead. API-Since: 2.0 Deprecated-Since: 100000.0
-
arrayWithContentsOfURL
@Nullable @Deprecated public static <_ObjectType> @Nullable NSArray<_ObjectType> arrayWithContentsOfURL(@NotNull @NotNull NSURL url)
Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
arrayWithObject
public static <_ObjectType> NSArray<?> arrayWithObject(@NotNull _ObjectType anObject)
-
arrayWithObjects
public static <_ObjectType> NSArray<?> arrayWithObjects(@NotNull _ObjectType firstObj, java.lang.Object... varargs)
-
arrayWithObjectsCount
public static <_ObjectType> NSArray<?> arrayWithObjectsCount(@NotNull @NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static NSArray<?> new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static <_ObjectType> boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
addObserverForKeyPathOptionsContext
public void addObserverForKeyPathOptionsContext(@NotNull @NotNull NSObject observer, @NotNull @NotNull java.lang.String keyPath, long options, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)NSArrays are not observable, so these methods raise exceptions when invoked on NSArrays. Instead of observing an array, observe the ordered to-many relationship for which the array is the collection of related objects.- Overrides:
addObserverForKeyPathOptionsContextin classNSObject
-
addObserverToObjectsAtIndexesForKeyPathOptionsContext
public void addObserverToObjectsAtIndexesForKeyPathOptionsContext(@NotNull @NotNull NSObject observer, @NotNull @NotNull NSIndexSet indexes, @NotNull @NotNull java.lang.String keyPath, long options, @Nullable @Nullable 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. The options determine what is included in observer notifications and when they're sent, as described above, and the context is passed in observer notifications as described above. These are not merely convenience methods; invoking them is potentially much faster than repeatedly invoking NSObject(NSKeyValueObserverRegistration) methods. You should use -removeObserver:fromObjectsAtIndexes:forKeyPath:context: instead of -removeObserver:fromObjectsAtIndexes:forKeyPath: whenever possible for the same reason described in the NSObject(NSKeyValueObserverRegistration) comment.
-
arrayByAddingObject
@NotNull public @NotNull NSArray<_ObjectType> arrayByAddingObject(@NotNull _ObjectType anObject)
-
arrayByAddingObjectsFromArray
@NotNull public @NotNull NSArray<_ObjectType> arrayByAddingObjectsFromArray(@NotNull @NotNull NSArray<_ObjectType> otherArray)
-
componentsJoinedByString
@NotNull public @NotNull java.lang.String componentsJoinedByString(@NotNull @NotNull java.lang.String separator)
-
containsObject
public boolean containsObject(@NotNull _ObjectType anObject)
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
count
public long count()
-
countByEnumeratingWithStateObjectsCount
public long countByEnumeratingWithStateObjectsCount(@NotNull @NotNull org.moe.natj.general.ptr.VoidPtr state, @NotNull @NotNull org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer, long len)- Specified by:
countByEnumeratingWithStateObjectsCountin interfaceNSFastEnumeration
-
description
@NotNull public @NotNull java.lang.String description()
- Specified by:
descriptionin interfaceNSObject- Overrides:
descriptionin classNSObject
-
descriptionWithLocale
@NotNull public @NotNull java.lang.String descriptionWithLocale(@Nullable @Nullable java.lang.Object locale)
-
descriptionWithLocaleIndent
@NotNull public @NotNull java.lang.String descriptionWithLocaleIndent(@Nullable @Nullable java.lang.Object locale, long level)
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
enumerateObjectsAtIndexesOptionsUsingBlock
public void enumerateObjectsAtIndexesOptionsUsingBlock(@NotNull @NotNull NSIndexSet s, long opts, @NotNull @NotNull NSArray.Block_enumerateObjectsAtIndexesOptionsUsingBlock block)API-Since: 4.0
-
enumerateObjectsUsingBlock
public void enumerateObjectsUsingBlock(@NotNull @NotNull NSArray.Block_enumerateObjectsUsingBlock block)API-Since: 4.0
-
enumerateObjectsWithOptionsUsingBlock
public void enumerateObjectsWithOptionsUsingBlock(long opts, @NotNull @NotNull NSArray.Block_enumerateObjectsWithOptionsUsingBlock block)API-Since: 4.0
-
filteredArrayUsingPredicate
@NotNull public @NotNull NSArray<_ObjectType> filteredArrayUsingPredicate(@NotNull @NotNull NSPredicate predicate)
evaluate a predicate against an array of objects and return a filtered array
-
firstObject
@Nullable public _ObjectType firstObject()
API-Since: 4.0
-
firstObjectCommonWithArray
@Nullable public _ObjectType firstObjectCommonWithArray(@NotNull @NotNull NSArray<_ObjectType> otherArray)
-
getObjects
@Deprecated public void getObjects(@NotNull @NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects)Deprecated.This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:range: instead. API-Since: 2.0 Deprecated-Since: 11.0 Deprecated-Message: Use -getObjects:range: instead
-
getObjectsRange
public void getObjectsRange(@NotNull @NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, NSRange range)
-
indexOfObject
public long indexOfObject(@NotNull _ObjectType anObject)
-
indexOfObjectInRange
public long indexOfObjectInRange(@NotNull _ObjectType anObject, NSRange range)
-
indexOfObjectInSortedRangeOptionsUsingComparator
public long indexOfObjectInSortedRangeOptionsUsingComparator(@NotNull _ObjectType obj, NSRange r, long opts, @NotNull @NotNull NSArray.Block_indexOfObjectInSortedRangeOptionsUsingComparator cmp)binary search API-Since: 4.0
-
indexOfObjectAtIndexesOptionsPassingTest
public long indexOfObjectAtIndexesOptionsPassingTest(@NotNull @NotNull NSIndexSet s, long opts, @NotNull @NotNull NSArray.Block_indexOfObjectAtIndexesOptionsPassingTest predicate)API-Since: 4.0
-
indexOfObjectIdenticalTo
public long indexOfObjectIdenticalTo(@NotNull _ObjectType anObject)
-
indexOfObjectIdenticalToInRange
public long indexOfObjectIdenticalToInRange(@NotNull _ObjectType anObject, NSRange range)
-
indexOfObjectPassingTest
public long indexOfObjectPassingTest(@NotNull @NotNull NSArray.Block_indexOfObjectPassingTest predicate)API-Since: 4.0
-
indexOfObjectWithOptionsPassingTest
public long indexOfObjectWithOptionsPassingTest(long opts, @NotNull @NotNull NSArray.Block_indexOfObjectWithOptionsPassingTest predicate)API-Since: 4.0
-
indexesOfObjectsAtIndexesOptionsPassingTest
@NotNull public @NotNull NSIndexSet indexesOfObjectsAtIndexesOptionsPassingTest(@NotNull @NotNull NSIndexSet s, long opts, @NotNull @NotNull NSArray.Block_indexesOfObjectsAtIndexesOptionsPassingTest predicate)
API-Since: 4.0
-
indexesOfObjectsPassingTest
@NotNull public @NotNull NSIndexSet indexesOfObjectsPassingTest(@NotNull @NotNull NSArray.Block_indexesOfObjectsPassingTest predicate)
API-Since: 4.0
-
indexesOfObjectsWithOptionsPassingTest
@NotNull public @NotNull NSIndexSet indexesOfObjectsWithOptionsPassingTest(long opts, @NotNull @NotNull NSArray.Block_indexesOfObjectsWithOptionsPassingTest predicate)
API-Since: 4.0
-
initWithArray
public NSArray<?> initWithArray(@NotNull @NotNull NSArray<_ObjectType> array)
-
initWithArrayCopyItems
public NSArray<?> initWithArrayCopyItems(@NotNull @NotNull NSArray<_ObjectType> array, boolean flag)
-
initWithCoder
public NSArray<?> initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithContentsOfFile
@Nullable @Deprecated public @Nullable NSArray<_ObjectType> initWithContentsOfFile(@NotNull @NotNull java.lang.String path)
Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
initWithContentsOfURL
@Nullable @Deprecated public @Nullable NSArray<_ObjectType> initWithContentsOfURL(@NotNull @NotNull NSURL url)
Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
initWithObjects
public NSArray<?> initWithObjects(@NotNull _ObjectType firstObj, java.lang.Object... varargs)
-
initWithObjectsCount
public NSArray<?> initWithObjectsCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
-
isEqualToArray
public boolean isEqualToArray(@NotNull @NotNull NSArray<_ObjectType> otherArray)
-
lastObject
@Nullable public _ObjectType lastObject()
-
makeObjectsPerformSelector
public void makeObjectsPerformSelector(@NotNull @NotNull org.moe.natj.objc.SEL aSelector)
-
makeObjectsPerformSelectorWithObject
public void makeObjectsPerformSelectorWithObject(@NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object argument)
-
mutableCopyWithZone
@NotNull public @NotNull java.lang.Object mutableCopyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
mutableCopyWithZonein interfaceNSMutableCopying
-
objectAtIndex
@NotNull public _ObjectType objectAtIndex(long index)
-
objectAtIndexedSubscript
@NotNull public _ObjectType objectAtIndexedSubscript(long idx)
API-Since: 6.0
-
objectEnumerator
@NotNull public @NotNull NSEnumerator<_ObjectType> objectEnumerator()
-
objectsAtIndexes
@NotNull public @NotNull NSArray<_ObjectType> objectsAtIndexes(@NotNull @NotNull NSIndexSet indexes)
-
pathsMatchingExtensions
@NotNull public @NotNull NSArray<java.lang.String> pathsMatchingExtensions(@NotNull @NotNull NSArray<java.lang.String> filterTypes)
-
removeObserverForKeyPath
public void removeObserverForKeyPath(@NotNull @NotNull NSObject observer, @NotNull @NotNull java.lang.String keyPath)- Overrides:
removeObserverForKeyPathin classNSObject
-
removeObserverForKeyPathContext
public void removeObserverForKeyPathContext(@NotNull @NotNull NSObject observer, @NotNull @NotNull java.lang.String keyPath, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)API-Since: 5.0- Overrides:
removeObserverForKeyPathContextin classNSObject
-
removeObserverFromObjectsAtIndexesForKeyPath
public void removeObserverFromObjectsAtIndexesForKeyPath(@NotNull @NotNull NSObject observer, @NotNull @NotNull NSIndexSet indexes, @NotNull @NotNull java.lang.String keyPath)
-
removeObserverFromObjectsAtIndexesForKeyPathContext
public void removeObserverFromObjectsAtIndexesForKeyPathContext(@NotNull @NotNull NSObject observer, @NotNull @NotNull NSIndexSet indexes, @NotNull @NotNull java.lang.String keyPath, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)API-Since: 5.0
-
reverseObjectEnumerator
@NotNull public @NotNull NSEnumerator<_ObjectType> reverseObjectEnumerator()
-
setValueForKey
public void setValueForKey(@Nullable @Nullable java.lang.Object value, @NotNull @NotNull java.lang.String key)Invoke -setValue:forKey: on each of the receiver's elements.- Overrides:
setValueForKeyin classNSObject
-
shuffledArray
@NotNull public @NotNull NSArray<_ObjectType> shuffledArray()
Returns a shuffled instance of this array using the systems underlying random source, as with [GKRandomSource sharedRandom]
-
shuffledArrayWithRandomSource
@NotNull public @NotNull NSArray<_ObjectType> shuffledArrayWithRandomSource(@NotNull @NotNull GKRandomSource randomSource)
Returns a shuffled instance of this array using the given random source.
-
sortedArrayHint
@NotNull public @NotNull NSData sortedArrayHint()
-
sortedArrayUsingComparator
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingComparator(@NotNull @NotNull NSArray.Block_sortedArrayUsingComparator cmptr)
API-Since: 4.0
-
sortedArrayUsingDescriptors
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingDescriptors(@NotNull @NotNull NSArray<? extends NSSortDescriptor> sortDescriptors)
returns a new array by sorting the objects of the receiver
-
sortedArrayUsingFunctionContext
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingFunctionContext(@NotNull @NotNull NSArray.Function_sortedArrayUsingFunctionContext comparator, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)
-
sortedArrayUsingFunctionContextHint
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingFunctionContextHint(@NotNull @NotNull NSArray.Function_sortedArrayUsingFunctionContextHint comparator, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context, @Nullable @Nullable NSData hint)
-
sortedArrayUsingSelector
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingSelector(@NotNull @NotNull org.moe.natj.objc.SEL comparator)
-
sortedArrayWithOptionsUsingComparator
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayWithOptionsUsingComparator(long opts, @NotNull @NotNull NSArray.Block_sortedArrayWithOptionsUsingComparator cmptr)
API-Since: 4.0
-
subarrayWithRange
@NotNull public @NotNull NSArray<_ObjectType> subarrayWithRange(NSRange range)
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
valueForKey
@NotNull public @NotNull java.lang.Object valueForKey(@NotNull @NotNull java.lang.String key)Return an array containing the results of invoking -valueForKey: on each of the receiver's elements. The returned array will contain NSNull elements for each instance of -valueForKey: returning nil.- Overrides:
valueForKeyin classNSObject
-
writeToFileAtomically
@Deprecated public boolean writeToFileAtomically(@NotNull @NotNull java.lang.String path, boolean useAuxiliaryFile)Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
writeToURLAtomically
@Deprecated public boolean writeToURLAtomically(@NotNull @NotNull NSURL url, boolean atomically)Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
add
public boolean add(_ObjectType e)
- Specified by:
addin interfacejava.util.Collection<_ObjectType>- Specified by:
addin interfacejava.util.List<_ObjectType>
-
add
public void add(int index, _ObjectType element)- Specified by:
addin interfacejava.util.List<_ObjectType>
-
addAll
public boolean addAll(java.util.Collection<? extends _ObjectType> c)
- Specified by:
addAllin interfacejava.util.Collection<_ObjectType>- Specified by:
addAllin interfacejava.util.List<_ObjectType>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends _ObjectType> c)- Specified by:
addAllin interfacejava.util.List<_ObjectType>
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Collection<_ObjectType>- Specified by:
clearin interfacejava.util.List<_ObjectType>
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
containsin interfacejava.util.Collection<_ObjectType>- Specified by:
containsin interfacejava.util.List<_ObjectType>
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAllin interfacejava.util.Collection<_ObjectType>- Specified by:
containsAllin interfacejava.util.List<_ObjectType>
-
get
public _ObjectType get(int index)
- Specified by:
getin interfacejava.util.List<_ObjectType>
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOfin interfacejava.util.List<_ObjectType>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Collection<_ObjectType>- Specified by:
isEmptyin interfacejava.util.List<_ObjectType>
-
iterator
public java.util.Iterator<_ObjectType> iterator()
- Specified by:
iteratorin interfacejava.util.Collection<_ObjectType>- Specified by:
iteratorin interfacejava.lang.Iterable<_ObjectType>- Specified by:
iteratorin interfacejava.util.List<_ObjectType>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOfin interfacejava.util.List<_ObjectType>
-
listIterator
public java.util.ListIterator<_ObjectType> listIterator()
- Specified by:
listIteratorin interfacejava.util.List<_ObjectType>
-
listIterator
public java.util.ListIterator<_ObjectType> listIterator(int index)
- Specified by:
listIteratorin interfacejava.util.List<_ObjectType>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
removein interfacejava.util.Collection<_ObjectType>- Specified by:
removein interfacejava.util.List<_ObjectType>
-
remove
public _ObjectType remove(int index)
- Specified by:
removein interfacejava.util.List<_ObjectType>
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAllin interfacejava.util.Collection<_ObjectType>- Specified by:
removeAllin interfacejava.util.List<_ObjectType>
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAllin interfacejava.util.Collection<_ObjectType>- Specified by:
retainAllin interfacejava.util.List<_ObjectType>
-
set
public _ObjectType set(int index, _ObjectType element)
- Specified by:
setin interfacejava.util.List<_ObjectType>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection<_ObjectType>- Specified by:
sizein interfacejava.util.List<_ObjectType>
-
subList
public java.util.List<_ObjectType> subList(int fromIndex, int toIndex)
- Specified by:
subListin interfacejava.util.List<_ObjectType>
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArrayin interfacejava.util.Collection<_ObjectType>- Specified by:
toArrayin interfacejava.util.List<_ObjectType>
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] a)
- Specified by:
toArrayin interfacejava.util.Collection<_ObjectType>- Specified by:
toArrayin interfacejava.util.List<_ObjectType>
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.util.Collection<_ObjectType>- Specified by:
hashCodein interfacejava.util.List<_ObjectType>- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfacejava.util.Collection<_ObjectType>- Specified by:
equalsin interfacejava.util.List<_ObjectType>- Overrides:
equalsin classorg.moe.natj.objc.ObjCObject
-
arrayWithContentsOfURLError
@Nullable public static <_ObjectType> @Nullable NSArray<_ObjectType> arrayWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Reads array stored in NSPropertyList format from the specified url. API-Since: 11.0
-
initWithContentsOfURLError
@Nullable public @Nullable NSArray<_ObjectType> initWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Reads array stored in NSPropertyList format from the specified url. API-Since: 11.0
-
writeToURLError
public boolean writeToURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Serializes this instance to the specified URL in the NSPropertyList format (using NSPropertyListXMLFormat_v1_0). For other formats use NSPropertyListSerialization directly. API-Since: 11.0
-
arrayByApplyingDifference
@Nullable public @Nullable NSArray<_ObjectType> arrayByApplyingDifference(@NotNull @NotNull NSOrderedCollectionDifference<_ObjectType> difference)
-
differenceFromArray
@NotNull public @NotNull NSOrderedCollectionDifference<_ObjectType> differenceFromArray(@NotNull @NotNull NSArray<_ObjectType> other)
Uses isEqual: to determine the difference between the parameter and the receiver
-
differenceFromArrayWithOptions
@NotNull public @NotNull NSOrderedCollectionDifference<_ObjectType> differenceFromArrayWithOptions(@NotNull @NotNull NSArray<_ObjectType> other, long options)
-
differenceFromArrayWithOptionsUsingEquivalenceTest
@NotNull public @NotNull NSOrderedCollectionDifference<_ObjectType> differenceFromArrayWithOptionsUsingEquivalenceTest(@NotNull @NotNull NSArray<_ObjectType> other, long options, @NotNull @NotNull NSArray.Block_differenceFromArrayWithOptionsUsingEquivalenceTest block)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-