Package apple.foundation
Class NSMutableOrderedSet<_ObjectType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSOrderedSet<_ObjectType>
-
- apple.foundation.NSMutableOrderedSet<_ObjectType>
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSFastEnumeration,NSMutableCopying,NSSecureCoding,NSObject
public class NSMutableOrderedSet<_ObjectType> extends NSOrderedSet<_ObjectType>
Mutable Ordered Set ***************
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNSMutableOrderedSet.Block_sortRangeOptionsUsingComparatorstatic interfaceNSMutableOrderedSet.Block_sortUsingComparatorstatic interfaceNSMutableOrderedSet.Block_sortWithOptionsUsingComparator-
Nested classes/interfaces inherited from class apple.foundation.NSOrderedSet
NSOrderedSet.Block_differenceFromOrderedSetWithOptionsUsingEquivalenceTest, NSOrderedSet.Block_enumerateObjectsAtIndexesOptionsUsingBlock, NSOrderedSet.Block_enumerateObjectsUsingBlock, NSOrderedSet.Block_enumerateObjectsWithOptionsUsingBlock, NSOrderedSet.Block_indexesOfObjectsAtIndexesOptionsPassingTest, NSOrderedSet.Block_indexesOfObjectsPassingTest, NSOrderedSet.Block_indexesOfObjectsWithOptionsPassingTest, NSOrderedSet.Block_indexOfObjectAtIndexesOptionsPassingTest, NSOrderedSet.Block_indexOfObjectInSortedRangeOptionsUsingComparator, NSOrderedSet.Block_indexOfObjectPassingTest, NSOrderedSet.Block_indexOfObjectWithOptionsPassingTest, NSOrderedSet.Block_sortedArrayUsingComparator, NSOrderedSet.Block_sortedArrayWithOptionsUsingComparator
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSMutableOrderedSet(org.moe.natj.general.Pointer peer)
-
Method Summary
-
Methods inherited from class apple.foundation.NSOrderedSet
addObserverForKeyPathOptionsContext, array, containsObject, copyWithZone, count, countByEnumeratingWithStateObjectsCount, description, descriptionWithLocale, descriptionWithLocaleIndent, differenceFromOrderedSet, differenceFromOrderedSetWithOptions, differenceFromOrderedSetWithOptionsUsingEquivalenceTest, encodeWithCoder, enumerateObjectsAtIndexesOptionsUsingBlock, enumerateObjectsUsingBlock, enumerateObjectsWithOptionsUsingBlock, filteredOrderedSetUsingPredicate, firstObject, getObjectsRange, indexesOfObjectsAtIndexesOptionsPassingTest, indexesOfObjectsPassingTest, indexesOfObjectsWithOptionsPassingTest, indexOfObject, indexOfObjectAtIndexesOptionsPassingTest, indexOfObjectInSortedRangeOptionsUsingComparator, indexOfObjectPassingTest, indexOfObjectWithOptionsPassingTest, intersectsOrderedSet, intersectsSet, isEqualToOrderedSet, isSubsetOfOrderedSet, isSubsetOfSet, lastObject, mutableCopyWithZone, objectAtIndex, objectAtIndexedSubscript, objectEnumerator, objectsAtIndexes, orderedSetByApplyingDifference, removeObserverForKeyPath, removeObserverForKeyPathContext, reversedOrderedSet, reverseObjectEnumerator, set, setValueForKey, sortedArrayUsingComparator, sortedArrayUsingDescriptors, sortedArrayWithOptionsUsingComparator, valueForKey
-
Methods inherited from class apple.NSObject
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, 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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSMutableOrderedSet<?> alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_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
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
orderedSet
public static <_ObjectType> NSMutableOrderedSet<?> orderedSet()
-
orderedSetWithArray
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithArray(NSArray<_ObjectType> array)
-
orderedSetWithArrayRangeCopyItems
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithArrayRangeCopyItems(NSArray<_ObjectType> array, NSRange range, boolean flag)
-
orderedSetWithCapacity
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithCapacity(long numItems)
-
orderedSetWithObject
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithObject(_ObjectType object)
-
orderedSetWithObjects
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithObjects(_ObjectType firstObj, java.lang.Object... varargs)
-
orderedSetWithObjectsCount
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
-
orderedSetWithOrderedSet
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithOrderedSet(NSOrderedSet<_ObjectType> set)
-
orderedSetWithOrderedSetRangeCopyItems
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithOrderedSetRangeCopyItems(NSOrderedSet<_ObjectType> set, NSRange range, boolean flag)
-
orderedSetWithSet
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithSet(NSSet<_ObjectType> set)
-
orderedSetWithSetCopyItems
public static <_ObjectType> NSMutableOrderedSet<?> orderedSetWithSetCopyItems(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 boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
addObject
public void addObject(_ObjectType object)
-
addObjectsCount
public void addObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long count)
-
addObjectsFromArray
public void addObjectsFromArray(NSArray<_ObjectType> array)
-
exchangeObjectAtIndexWithObjectAtIndex
public void exchangeObjectAtIndexWithObjectAtIndex(long idx1, long idx2)
-
filterUsingPredicate
public void filterUsingPredicate(NSPredicate p)
evaluate a predicate against an ordered set of objects and filter the mutable ordered set directly
-
init
public NSMutableOrderedSet<?> init()
- Overrides:
initin classNSOrderedSet<_ObjectType>
-
initWithArray
public NSMutableOrderedSet<?> initWithArray(NSArray<_ObjectType> array)
- Overrides:
initWithArrayin classNSOrderedSet<_ObjectType>
-
initWithArrayCopyItems
public NSMutableOrderedSet<?> initWithArrayCopyItems(NSArray<_ObjectType> set, boolean flag)
- Overrides:
initWithArrayCopyItemsin classNSOrderedSet<_ObjectType>
-
initWithArrayRangeCopyItems
public NSMutableOrderedSet<?> initWithArrayRangeCopyItems(NSArray<_ObjectType> set, NSRange range, boolean flag)
- Overrides:
initWithArrayRangeCopyItemsin classNSOrderedSet<_ObjectType>
-
initWithCapacity
public NSMutableOrderedSet<?> initWithCapacity(long numItems)
-
initWithCoder
public NSMutableOrderedSet<?> initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classNSOrderedSet<_ObjectType>
-
initWithObject
public NSMutableOrderedSet<?> initWithObject(_ObjectType object)
- Overrides:
initWithObjectin classNSOrderedSet<_ObjectType>
-
initWithObjects
public NSMutableOrderedSet<?> initWithObjects(_ObjectType firstObj, java.lang.Object... varargs)
- Overrides:
initWithObjectsin classNSOrderedSet<_ObjectType>
-
initWithObjectsCount
public NSMutableOrderedSet<?> initWithObjectsCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
- Overrides:
initWithObjectsCountin classNSOrderedSet<_ObjectType>
-
initWithOrderedSet
public NSMutableOrderedSet<?> initWithOrderedSet(NSOrderedSet<_ObjectType> set)
- Overrides:
initWithOrderedSetin classNSOrderedSet<_ObjectType>
-
initWithOrderedSetCopyItems
public NSMutableOrderedSet<?> initWithOrderedSetCopyItems(NSOrderedSet<_ObjectType> set, boolean flag)
- Overrides:
initWithOrderedSetCopyItemsin classNSOrderedSet<_ObjectType>
-
initWithOrderedSetRangeCopyItems
public NSMutableOrderedSet<?> initWithOrderedSetRangeCopyItems(NSOrderedSet<_ObjectType> set, NSRange range, boolean flag)
- Overrides:
initWithOrderedSetRangeCopyItemsin classNSOrderedSet<_ObjectType>
-
initWithSet
public NSMutableOrderedSet<?> initWithSet(NSSet<_ObjectType> set)
- Overrides:
initWithSetin classNSOrderedSet<_ObjectType>
-
initWithSetCopyItems
public NSMutableOrderedSet<?> initWithSetCopyItems(NSSet<_ObjectType> set, boolean flag)
- Overrides:
initWithSetCopyItemsin classNSOrderedSet<_ObjectType>
-
insertObjectAtIndex
public void insertObjectAtIndex(_ObjectType object, long idx)
-
insertObjectsAtIndexes
public void insertObjectsAtIndexes(NSArray<_ObjectType> objects, NSIndexSet indexes)
-
intersectOrderedSet
public void intersectOrderedSet(NSOrderedSet<_ObjectType> other)
-
intersectSet
public void intersectSet(NSSet<_ObjectType> other)
-
minusOrderedSet
public void minusOrderedSet(NSOrderedSet<_ObjectType> other)
-
minusSet
public void minusSet(NSSet<_ObjectType> other)
-
moveObjectsAtIndexesToIndex
public void moveObjectsAtIndexesToIndex(NSIndexSet indexes, long idx)
-
removeAllObjects
public void removeAllObjects()
-
removeObject
public void removeObject(_ObjectType object)
-
removeObjectAtIndex
public void removeObjectAtIndex(long idx)
-
removeObjectsAtIndexes
public void removeObjectsAtIndexes(NSIndexSet indexes)
-
removeObjectsInArray
public void removeObjectsInArray(NSArray<_ObjectType> array)
-
removeObjectsInRange
public void removeObjectsInRange(NSRange range)
-
replaceObjectAtIndexWithObject
public void replaceObjectAtIndexWithObject(long idx, _ObjectType object)
-
replaceObjectsAtIndexesWithObjects
public void replaceObjectsAtIndexesWithObjects(NSIndexSet indexes, NSArray<_ObjectType> objects)
-
replaceObjectsInRangeWithObjectsCount
public void replaceObjectsInRangeWithObjectsCount(NSRange range, org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long count)
-
setObjectAtIndex
public void setObjectAtIndex(_ObjectType obj, long idx)
-
setObjectAtIndexedSubscript
public void setObjectAtIndexedSubscript(_ObjectType obj, long idx)
-
sortRangeOptionsUsingComparator
public void sortRangeOptionsUsingComparator(NSRange range, long opts, NSMutableOrderedSet.Block_sortRangeOptionsUsingComparator cmptr)
-
sortUsingComparator
public void sortUsingComparator(NSMutableOrderedSet.Block_sortUsingComparator cmptr)
-
sortUsingDescriptors
public void sortUsingDescriptors(NSArray<? extends NSSortDescriptor> sortDescriptors)
sorts the ordered set itself
-
sortWithOptionsUsingComparator
public void sortWithOptionsUsingComparator(long opts, NSMutableOrderedSet.Block_sortWithOptionsUsingComparator 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- Overrides:
_supportsSecureCodingin classNSOrderedSet<_ObjectType>
-
unionOrderedSet
public void unionOrderedSet(NSOrderedSet<_ObjectType> other)
-
unionSet
public void unionSet(NSSet<_ObjectType> other)
-
applyDifference
public void applyDifference(NSOrderedCollectionDifference<_ObjectType> difference)
-
-