org.rococoa.cocoa.foundation
Class NSPointerArray

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSPointerArray
All Implemented Interfaces:
NSCoding, NSCopying, NSFastEnumeration, NSObject, ObjCObject

public abstract class NSPointerArray
extends NSObject
implements ObjCObject, NSFastEnumeration, NSCopying, NSCoding

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSPointerArray._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSFastEnumeration
NSFastEnumeration._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPointerArray()
           
 
Method Summary
abstract  void addPointer(Pointer pointer)
          Array like operations that slide or grow contents, including NULLs
add pointer at index 'count'
Original signature : -(void)addPointer:(void*)
native declaration : NSPointerArray.h:40
static NSPointerArray alloc()
           
 NSArrayConveniences as_NSPointerArray_NSArrayConveniences()
           
abstract  void compact()
          eliminate NULLs
Original signature : -(void)compact
native declaration : NSPointerArray.h:46
abstract  NSUInteger count()
          the number of elements in the array, including NULLs
Original signature : -(NSUInteger)count
native declaration : NSPointerArray.h:48
static NSPointerArray createWithPointerFunctions(NSPointerFunctions functions)
          Factory method
static NSPointerArray._class_ getNSClass()
           
abstract  NSPointerArray initWithPointerFunctions(NSPointerFunctions functions)
          Original signature : -(id)initWithPointerFunctions:(NSPointerFunctions*)
native declaration : NSPointerArray.h:29
abstract  void insertPointer_atIndex(Pointer item, NSUInteger index)
          everything at & above index, including holes, slide higher
Original signature : -(void)insertPointer:(void*) atIndex:(NSUInteger)
native declaration : NSPointerArray.h:42
static NSPointerArray new_()
           
static NSPointerArray pointerArrayWithPointerFunctions(NSPointerFunctions functions)
          Original signature : +(id)pointerArrayWithPointerFunctions:(NSPointerFunctions*)
native declaration : NSPointerArray.h:32
abstract  Pointer pointerAtIndex(NSUInteger index)
          Original signature : -(void*)pointerAtIndex:(NSUInteger)
native declaration : NSPointerArray.h:37
abstract  NSPointerFunctions pointerFunctions()
          return an NSPointerFunctions object reflecting the functions in use.
abstract  void removePointerAtIndex(NSUInteger index)
          everything above index, including holes, slide lower
Original signature : -(void)removePointerAtIndex:(NSUInteger)
native declaration : NSPointerArray.h:41
abstract  void replacePointerAtIndex_withPointer(NSUInteger index, Pointer item)
          O(1); NULL item is okay; index must be < count
Original signature : -(void)replacePointerAtIndex:(NSUInteger) withPointer:(void*)
native declaration : NSPointerArray.h:44
abstract  void setCount(NSUInteger count)
          set desired number of elements, adding NULLs or removing items as necessary.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSFastEnumeration
countByEnumeratingWithState_objects_count
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSPointerArray

public NSPointerArray()
Method Detail

as_NSPointerArray_NSArrayConveniences

public NSArrayConveniences as_NSPointerArray_NSArrayConveniences()

initWithPointerFunctions

public abstract NSPointerArray initWithPointerFunctions(NSPointerFunctions functions)
Original signature : -(id)initWithPointerFunctions:(NSPointerFunctions*)
native declaration : NSPointerArray.h:29


createWithPointerFunctions

public static NSPointerArray createWithPointerFunctions(NSPointerFunctions functions)
Factory method

See Also:
initWithPointerFunctions(org.rococoa.cocoa.foundation.NSPointerFunctions)

pointerArrayWithPointerFunctions

public static NSPointerArray pointerArrayWithPointerFunctions(NSPointerFunctions functions)
Original signature : +(id)pointerArrayWithPointerFunctions:(NSPointerFunctions*)
native declaration : NSPointerArray.h:32


pointerFunctions

public abstract NSPointerFunctions pointerFunctions()
return an NSPointerFunctions object reflecting the functions in use. This is a new autoreleased object that can be subsequently modified and/or used directly in the creation of other pointer "collections".
Original signature : -(NSPointerFunctions*)pointerFunctions
native declaration : NSPointerArray.h:35


pointerAtIndex

public abstract Pointer pointerAtIndex(NSUInteger index)
Original signature : -(void*)pointerAtIndex:(NSUInteger)
native declaration : NSPointerArray.h:37


addPointer

public abstract void addPointer(Pointer pointer)
Array like operations that slide or grow contents, including NULLs
add pointer at index 'count'
Original signature : -(void)addPointer:(void*)
native declaration : NSPointerArray.h:40


removePointerAtIndex

public abstract void removePointerAtIndex(NSUInteger index)
everything above index, including holes, slide lower
Original signature : -(void)removePointerAtIndex:(NSUInteger)
native declaration : NSPointerArray.h:41


insertPointer_atIndex

public abstract void insertPointer_atIndex(Pointer item,
                                           NSUInteger index)
everything at & above index, including holes, slide higher
Original signature : -(void)insertPointer:(void*) atIndex:(NSUInteger)
native declaration : NSPointerArray.h:42


replacePointerAtIndex_withPointer

public abstract void replacePointerAtIndex_withPointer(NSUInteger index,
                                                       Pointer item)
O(1); NULL item is okay; index must be < count
Original signature : -(void)replacePointerAtIndex:(NSUInteger) withPointer:(void*)
native declaration : NSPointerArray.h:44


compact

public abstract void compact()
eliminate NULLs
Original signature : -(void)compact
native declaration : NSPointerArray.h:46


count

public abstract NSUInteger count()
the number of elements in the array, including NULLs
Original signature : -(NSUInteger)count
native declaration : NSPointerArray.h:48


setCount

public abstract void setCount(NSUInteger count)
set desired number of elements, adding NULLs or removing items as necessary.
Original signature : -(void)setCount:(NSUInteger)
native declaration : NSPointerArray.h:49


alloc

public static NSPointerArray alloc()

new_

public static NSPointerArray new_()

getNSClass

public static NSPointerArray._class_ getNSClass()


Copyright © 2009. All Rights Reserved.