Package apple.foundation
Class NSOrderedSet<_ObjectType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSOrderedSet<_ObjectType>
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSFastEnumeration,NSMutableCopying,NSSecureCoding,NSObject
- Direct Known Subclasses:
NSMutableOrderedSet
public class NSOrderedSet<_ObjectType> extends NSObject implements NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration
Immutable Ordered Set *************** API-Since: 5.0
-
-
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 protectedNSOrderedSet(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()voidaddObserverForKeyPathOptionsContext(@NotNull NSObject observer, @NotNull java.lang.String keyPath, long options, @Nullable org.moe.natj.general.ptr.VoidPtr context)NSOrderedSets are not observable, so these methods raise exceptions when invoked on NSOrderedSets.static NSOrderedSet<?>alloc()static NSOrderedSet<?>allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@NotNull NSArray<_ObjectType>array()These two methods return a facade object for the receiving ordered set, which acts like an immutable array or set (respectively).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()booleancontainsObject(_ObjectType object)@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>differenceFromOrderedSet(@NotNull NSOrderedSet<_ObjectType> other)Uses isEqual: to determine the difference between the parameter and the receiver@NotNull NSOrderedCollectionDifference<_ObjectType>differenceFromOrderedSetWithOptions(@NotNull NSOrderedSet<_ObjectType> other, long options)@NotNull NSOrderedCollectionDifference<_ObjectType>differenceFromOrderedSetWithOptionsUsingEquivalenceTest(@NotNull NSOrderedSet<_ObjectType> other, long options, @NotNull NSOrderedSet.Block_differenceFromOrderedSetWithOptionsUsingEquivalenceTest block)voidencodeWithCoder(@NotNull NSCoder coder)voidenumerateObjectsAtIndexesOptionsUsingBlock(@NotNull NSIndexSet s, long opts, @NotNull NSOrderedSet.Block_enumerateObjectsAtIndexesOptionsUsingBlock block)voidenumerateObjectsUsingBlock(@NotNull NSOrderedSet.Block_enumerateObjectsUsingBlock block)voidenumerateObjectsWithOptionsUsingBlock(long opts, @NotNull NSOrderedSet.Block_enumerateObjectsWithOptionsUsingBlock block)@NotNull NSOrderedSet<_ObjectType>filteredOrderedSetUsingPredicate(@NotNull NSPredicate p)evaluate a predicate against an ordered set of objects and return a filtered ordered set API-Since: 5.0_ObjectTypefirstObject()voidgetObjectsRange(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, NSRange range)static longhash_static()@NotNull NSIndexSetindexesOfObjectsAtIndexesOptionsPassingTest(@NotNull NSIndexSet s, long opts, @NotNull NSOrderedSet.Block_indexesOfObjectsAtIndexesOptionsPassingTest predicate)@NotNull NSIndexSetindexesOfObjectsPassingTest(@NotNull NSOrderedSet.Block_indexesOfObjectsPassingTest predicate)@NotNull NSIndexSetindexesOfObjectsWithOptionsPassingTest(long opts, @NotNull NSOrderedSet.Block_indexesOfObjectsWithOptionsPassingTest predicate)longindexOfObject(_ObjectType object)longindexOfObjectAtIndexesOptionsPassingTest(@NotNull NSIndexSet s, long opts, @NotNull NSOrderedSet.Block_indexOfObjectAtIndexesOptionsPassingTest predicate)longindexOfObjectInSortedRangeOptionsUsingComparator(_ObjectType object, NSRange range, long opts, @NotNull NSOrderedSet.Block_indexOfObjectInSortedRangeOptionsUsingComparator cmp)binary searchlongindexOfObjectPassingTest(@NotNull NSOrderedSet.Block_indexOfObjectPassingTest predicate)longindexOfObjectWithOptionsPassingTest(long opts, @NotNull NSOrderedSet.Block_indexOfObjectWithOptionsPassingTest predicate)NSOrderedSet<?>init()NSOrderedSet<?>initWithArray(@NotNull NSArray<_ObjectType> array)NSOrderedSet<?>initWithArrayCopyItems(@NotNull NSArray<_ObjectType> set, boolean flag)NSOrderedSet<?>initWithArrayRangeCopyItems(@NotNull NSArray<_ObjectType> set, NSRange range, boolean flag)NSOrderedSet<?>initWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERNSOrderedSet<?>initWithObject(_ObjectType object)NSOrderedSet<?>initWithObjects(_ObjectType firstObj, java.lang.Object... varargs)NSOrderedSet<?>initWithObjectsCount(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)NSOrderedSet<?>initWithOrderedSet(@NotNull NSOrderedSet<_ObjectType> set)NSOrderedSet<?>initWithOrderedSetCopyItems(@NotNull NSOrderedSet<_ObjectType> set, boolean flag)NSOrderedSet<?>initWithOrderedSetRangeCopyItems(@NotNull NSOrderedSet<_ObjectType> set, NSRange range, boolean flag)NSOrderedSet<?>initWithSet(@NotNull NSSet<_ObjectType> set)NSOrderedSet<?>initWithSetCopyItems(@NotNull NSSet<_ObjectType> set, boolean flag)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)booleanintersectsOrderedSet(@NotNull NSOrderedSet<_ObjectType> other)booleanintersectsSet(@NotNull NSSet<_ObjectType> set)booleanisEqualToOrderedSet(@NotNull NSOrderedSet<_ObjectType> other)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisSubsetOfOrderedSet(@NotNull NSOrderedSet<_ObjectType> other)booleanisSubsetOfSet(@NotNull NSSet<_ObjectType> set)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)_ObjectTypelastObject()@NotNull java.lang.ObjectmutableCopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static NSOrderedSet<?>new_objc()_ObjectTypeobjectAtIndex(long idx)_ObjectTypeobjectAtIndexedSubscript(long idx)API-Since: 6.0@NotNull NSEnumerator<_ObjectType>objectEnumerator()@NotNull NSArray<_ObjectType>objectsAtIndexes(@NotNull NSIndexSet indexes)static <_ObjectType>
NSOrderedSet<?>orderedSet()@Nullable NSOrderedSet<_ObjectType>orderedSetByApplyingDifference(@NotNull NSOrderedCollectionDifference<_ObjectType> difference)static <_ObjectType>
NSOrderedSet<?>orderedSetWithArray(@NotNull NSArray<_ObjectType> array)static <_ObjectType>
NSOrderedSet<?>orderedSetWithArrayRangeCopyItems(@NotNull NSArray<_ObjectType> array, NSRange range, boolean flag)static <_ObjectType>
NSOrderedSet<?>orderedSetWithObject(_ObjectType object)static <_ObjectType>
NSOrderedSet<?>orderedSetWithObjects(_ObjectType firstObj, java.lang.Object... varargs)static <_ObjectType>
NSOrderedSet<?>orderedSetWithObjectsCount(@NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)static <_ObjectType>
NSOrderedSet<?>orderedSetWithOrderedSet(@NotNull NSOrderedSet<_ObjectType> set)static <_ObjectType>
NSOrderedSet<?>orderedSetWithOrderedSetRangeCopyItems(@NotNull NSOrderedSet<_ObjectType> set, NSRange range, boolean flag)static <_ObjectType>
NSOrderedSet<?>orderedSetWithSet(@NotNull NSSet<_ObjectType> set)static <_ObjectType>
NSOrderedSet<?>orderedSetWithSetCopyItems(@NotNull NSSet<_ObjectType> set, boolean flag)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.0static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@NotNull NSOrderedSet<_ObjectType>reversedOrderedSet()@NotNull NSEnumerator<_ObjectType>reverseObjectEnumerator()@NotNull NSSet<_ObjectType>set()voidsetValueForKey(@Nullable java.lang.Object value, @NotNull java.lang.String key)Invoke -setValue:forKey: on each of the receiver's members.static voidsetVersion_static(long aVersion)@NotNull NSArray<_ObjectType>sortedArrayUsingComparator(@NotNull NSOrderedSet.Block_sortedArrayUsingComparator cmptr)@NotNull NSArray<_ObjectType>sortedArrayUsingDescriptors(@NotNull NSArray<? extends NSSortDescriptor> sortDescriptors)returns a new array by sorting the objects of the receiver API-Since: 5.0@NotNull NSArray<_ObjectType>sortedArrayWithOptionsUsingComparator(long opts, @NotNull NSOrderedSet.Block_sortedArrayWithOptionsUsingComparator cmptr)static org.moe.natj.objc.Classsuperclass_static()static <_ObjectType>
booleansupportsSecureCoding()static booleanuseStoredAccessor()Deprecated.@NotNull java.lang.ObjectvalueForKey(@NotNull java.lang.String key)Return an ordered set containing the results of invoking -valueForKey: on each of the receiver's members.static longversion_static()-
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 NSOrderedSet<?> alloc()
-
allocWithZone
public static NSOrderedSet<?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
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 NSOrderedSet<?> new_objc()
-
orderedSet
public static <_ObjectType> NSOrderedSet<?> orderedSet()
-
orderedSetWithArray
public static <_ObjectType> NSOrderedSet<?> orderedSetWithArray(@NotNull @NotNull NSArray<_ObjectType> array)
-
orderedSetWithArrayRangeCopyItems
public static <_ObjectType> NSOrderedSet<?> orderedSetWithArrayRangeCopyItems(@NotNull @NotNull NSArray<_ObjectType> array, NSRange range, boolean flag)
-
orderedSetWithObject
public static <_ObjectType> NSOrderedSet<?> orderedSetWithObject(@NotNull _ObjectType object)
-
orderedSetWithObjects
public static <_ObjectType> NSOrderedSet<?> orderedSetWithObjects(@NotNull _ObjectType firstObj, java.lang.Object... varargs)
-
orderedSetWithObjectsCount
public static <_ObjectType> NSOrderedSet<?> orderedSetWithObjectsCount(@NotNull @NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
-
orderedSetWithOrderedSet
public static <_ObjectType> NSOrderedSet<?> orderedSetWithOrderedSet(@NotNull @NotNull NSOrderedSet<_ObjectType> set)
-
orderedSetWithOrderedSetRangeCopyItems
public static <_ObjectType> NSOrderedSet<?> orderedSetWithOrderedSetRangeCopyItems(@NotNull @NotNull NSOrderedSet<_ObjectType> set, NSRange range, boolean flag)
-
orderedSetWithSet
public static <_ObjectType> NSOrderedSet<?> orderedSetWithSet(@NotNull @NotNull NSSet<_ObjectType> set)
-
orderedSetWithSetCopyItems
public static <_ObjectType> NSOrderedSet<?> orderedSetWithSetCopyItems(@NotNull @NotNull NSSet<_ObjectType> set, boolean flag)
-
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)NSOrderedSets are not observable, so these methods raise exceptions when invoked on NSOrderedSets. Instead of observing an ordered set, observe the ordered to-many relationship for which the ordered set is the collection of related objects.- Overrides:
addObserverForKeyPathOptionsContextin classNSObject
-
array
@NotNull public @NotNull NSArray<_ObjectType> array()
These two methods return a facade object for the receiving ordered set, which acts like an immutable array or set (respectively). Note that while you cannot mutate the ordered set through these facades, mutations to the original ordered set will "show through" the facade and it will appear to change spontaneously, since a copy of the ordered set is not being made.
-
containsObject
public boolean containsObject(@NotNull _ObjectType object)
-
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 NSOrderedSet.Block_enumerateObjectsAtIndexesOptionsUsingBlock block)
-
enumerateObjectsUsingBlock
public void enumerateObjectsUsingBlock(@NotNull @NotNull NSOrderedSet.Block_enumerateObjectsUsingBlock block)
-
enumerateObjectsWithOptionsUsingBlock
public void enumerateObjectsWithOptionsUsingBlock(long opts, @NotNull @NotNull NSOrderedSet.Block_enumerateObjectsWithOptionsUsingBlock block)
-
filteredOrderedSetUsingPredicate
@NotNull public @NotNull NSOrderedSet<_ObjectType> filteredOrderedSetUsingPredicate(@NotNull @NotNull NSPredicate p)
evaluate a predicate against an ordered set of objects and return a filtered ordered set API-Since: 5.0
-
firstObject
@Nullable public _ObjectType firstObject()
-
getObjectsRange
public void getObjectsRange(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, NSRange range)
-
indexOfObject
public long indexOfObject(@NotNull _ObjectType object)
-
indexOfObjectInSortedRangeOptionsUsingComparator
public long indexOfObjectInSortedRangeOptionsUsingComparator(@NotNull _ObjectType object, NSRange range, long opts, @NotNull @NotNull NSOrderedSet.Block_indexOfObjectInSortedRangeOptionsUsingComparator cmp)binary search
-
indexOfObjectAtIndexesOptionsPassingTest
public long indexOfObjectAtIndexesOptionsPassingTest(@NotNull @NotNull NSIndexSet s, long opts, @NotNull @NotNull NSOrderedSet.Block_indexOfObjectAtIndexesOptionsPassingTest predicate)
-
indexOfObjectPassingTest
public long indexOfObjectPassingTest(@NotNull @NotNull NSOrderedSet.Block_indexOfObjectPassingTest predicate)
-
indexOfObjectWithOptionsPassingTest
public long indexOfObjectWithOptionsPassingTest(long opts, @NotNull @NotNull NSOrderedSet.Block_indexOfObjectWithOptionsPassingTest predicate)
-
indexesOfObjectsAtIndexesOptionsPassingTest
@NotNull public @NotNull NSIndexSet indexesOfObjectsAtIndexesOptionsPassingTest(@NotNull @NotNull NSIndexSet s, long opts, @NotNull @NotNull NSOrderedSet.Block_indexesOfObjectsAtIndexesOptionsPassingTest predicate)
-
indexesOfObjectsPassingTest
@NotNull public @NotNull NSIndexSet indexesOfObjectsPassingTest(@NotNull @NotNull NSOrderedSet.Block_indexesOfObjectsPassingTest predicate)
-
indexesOfObjectsWithOptionsPassingTest
@NotNull public @NotNull NSIndexSet indexesOfObjectsWithOptionsPassingTest(long opts, @NotNull @NotNull NSOrderedSet.Block_indexesOfObjectsWithOptionsPassingTest predicate)
-
init
public NSOrderedSet<?> init()
-
initWithArray
public NSOrderedSet<?> initWithArray(@NotNull @NotNull NSArray<_ObjectType> array)
-
initWithArrayCopyItems
public NSOrderedSet<?> initWithArrayCopyItems(@NotNull @NotNull NSArray<_ObjectType> set, boolean flag)
-
initWithArrayRangeCopyItems
public NSOrderedSet<?> initWithArrayRangeCopyItems(@NotNull @NotNull NSArray<_ObjectType> set, NSRange range, boolean flag)
-
initWithCoder
public NSOrderedSet<?> initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithObject
public NSOrderedSet<?> initWithObject(@NotNull _ObjectType object)
-
initWithObjects
public NSOrderedSet<?> initWithObjects(@NotNull _ObjectType firstObj, java.lang.Object... varargs)
-
initWithObjectsCount
public NSOrderedSet<?> initWithObjectsCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
-
initWithOrderedSet
public NSOrderedSet<?> initWithOrderedSet(@NotNull @NotNull NSOrderedSet<_ObjectType> set)
-
initWithOrderedSetCopyItems
public NSOrderedSet<?> initWithOrderedSetCopyItems(@NotNull @NotNull NSOrderedSet<_ObjectType> set, boolean flag)
-
initWithOrderedSetRangeCopyItems
public NSOrderedSet<?> initWithOrderedSetRangeCopyItems(@NotNull @NotNull NSOrderedSet<_ObjectType> set, NSRange range, boolean flag)
-
initWithSet
public NSOrderedSet<?> initWithSet(@NotNull @NotNull NSSet<_ObjectType> set)
-
initWithSetCopyItems
public NSOrderedSet<?> initWithSetCopyItems(@NotNull @NotNull NSSet<_ObjectType> set, boolean flag)
-
intersectsOrderedSet
public boolean intersectsOrderedSet(@NotNull @NotNull NSOrderedSet<_ObjectType> other)
-
intersectsSet
public boolean intersectsSet(@NotNull @NotNull NSSet<_ObjectType> set)
-
isEqualToOrderedSet
public boolean isEqualToOrderedSet(@NotNull @NotNull NSOrderedSet<_ObjectType> other)
-
isSubsetOfOrderedSet
public boolean isSubsetOfOrderedSet(@NotNull @NotNull NSOrderedSet<_ObjectType> other)
-
isSubsetOfSet
public boolean isSubsetOfSet(@NotNull @NotNull NSSet<_ObjectType> set)
-
lastObject
@Nullable public _ObjectType lastObject()
-
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 idx)
-
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)
-
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
-
reverseObjectEnumerator
@NotNull public @NotNull NSEnumerator<_ObjectType> reverseObjectEnumerator()
-
reversedOrderedSet
@NotNull public @NotNull NSOrderedSet<_ObjectType> reversedOrderedSet()
-
set
@NotNull public @NotNull NSSet<_ObjectType> set()
-
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 members. API-Since: 5.0- Overrides:
setValueForKeyin classNSObject
-
sortedArrayUsingComparator
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingComparator(@NotNull @NotNull NSOrderedSet.Block_sortedArrayUsingComparator cmptr)
-
sortedArrayUsingDescriptors
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayUsingDescriptors(@NotNull @NotNull NSArray<? extends NSSortDescriptor> sortDescriptors)
returns a new array by sorting the objects of the receiver API-Since: 5.0
-
sortedArrayWithOptionsUsingComparator
@NotNull public @NotNull NSArray<_ObjectType> sortedArrayWithOptionsUsingComparator(long opts, @NotNull @NotNull NSOrderedSet.Block_sortedArrayWithOptionsUsingComparator cmptr)
-
_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 ordered set containing the results of invoking -valueForKey: on each of the receiver's members. The returned ordered set might not have the same number of members as the receiver. The returned ordered set will not contain any elements corresponding to instances of -valueForKey: returning nil, nor will it contain duplicates. API-Since: 5.0- Overrides:
valueForKeyin classNSObject
-
differenceFromOrderedSet
@NotNull public @NotNull NSOrderedCollectionDifference<_ObjectType> differenceFromOrderedSet(@NotNull @NotNull NSOrderedSet<_ObjectType> other)
Uses isEqual: to determine the difference between the parameter and the receiver
-
differenceFromOrderedSetWithOptions
@NotNull public @NotNull NSOrderedCollectionDifference<_ObjectType> differenceFromOrderedSetWithOptions(@NotNull @NotNull NSOrderedSet<_ObjectType> other, long options)
-
differenceFromOrderedSetWithOptionsUsingEquivalenceTest
@NotNull public @NotNull NSOrderedCollectionDifference<_ObjectType> differenceFromOrderedSetWithOptionsUsingEquivalenceTest(@NotNull @NotNull NSOrderedSet<_ObjectType> other, long options, @NotNull @NotNull NSOrderedSet.Block_differenceFromOrderedSetWithOptionsUsingEquivalenceTest block)
-
orderedSetByApplyingDifference
@Nullable public @Nullable NSOrderedSet<_ObjectType> orderedSetByApplyingDifference(@NotNull @NotNull NSOrderedCollectionDifference<_ObjectType> difference)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-