All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Array

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Array

public class Array
extends NativeObject
implements Coding
This class wraps the Objective-C class NSArray.


Constructor Index

 o Array()
This default constructor is equivalent to Objective-C's [[NSArray alloc] init].
 o Array(Array)
This constructor has the same effect as calling - initWithArray: on a newly allocated object.
 o Array(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Array(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Array(Object[])
 o Array(String)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

Method Index

 o array()
A wrapper for the + array Objective-C class method.
 o arrayByAddingObject(Object)
A wrapper for the - arrayByAddingObject: Objective-C instance method.
 o arrayByAddingObjectsFromArray(Array)
A wrapper for the - arrayByAddingObjectsFromArray: Objective-C instance method.
 o arrayWithArray(Array)
A wrapper for the + arrayWithArray: Objective-C class method.
 o arrayWithContentsOfFile(String)
A wrapper for the + arrayWithContentsOfFile: Objective-C class method.
 o arrayWithObject(Object)
A wrapper for the + arrayWithObject: Objective-C class method.
 o componentsJoinedByString(String)
A wrapper for the - componentsJoinedByString: Objective-C instance method.
 o containsObject(Object)
A wrapper for the - containsObject: Objective-C instance method.
 o count()
A wrapper for the - count Objective-C instance method.
 o descriptionWithLocale(Dictionary)
A wrapper for the - descriptionWithLocale: Objective-C instance method.
 o descriptionWithLocaleAndIndent(Dictionary, int)
A wrapper for the - descriptionWithLocale:indent: Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o firstObjectCommonWithArray(Array)
A wrapper for the - firstObjectCommonWithArray: Objective-C instance method.
 o indexOfIdenticalObject(Object)
A wrapper for the - indexOfObjectIdenticalTo: Objective-C instance method.
 o indexOfIdenticalObjectInRange(Object, Range)
A wrapper for the - indexOfObjectIdenticalTo:inRange: Objective-C instance method.
 o indexOfObject(Object)
A wrapper for the - indexOfObject: Objective-C instance method.
 o indexOfObjectInRange(Object, Range)
A wrapper for the - indexOfObject:inRange: Objective-C instance method.
 o initWithObjects(Object[])
 o isEqualToArray(Array)
A wrapper for the - isEqualToArray: Objective-C instance method.
 o lastObject()
A wrapper for the - lastObject Objective-C instance method.
 o makeObjectsPerformMethod(Selector)
A wrapper for the - makeObjectsPerformSelector: Objective-C instance method.
 o makeObjectsPerformMethodWithObject(Selector, Object)
A wrapper for the - makeObjectsPerformSelector:withObject: Objective-C instance method.
 o objectAtIndex(int)
A wrapper for the - objectAtIndex: Objective-C instance method.
 o objectEnumerator()
A wrapper for the - objectEnumerator Objective-C instance method.
 o reverseObjectEnumerator()
A wrapper for the - reverseObjectEnumerator Objective-C instance method.
 o sortedArrayHint()
A wrapper for the - sortedArrayHint Objective-C instance method.
 o sortedArrayUsingSelector(Selector)
A wrapper for the - sortedArrayUsingSelector: Objective-C instance method.
 o subarrayWithRange(Range)
A wrapper for the - subarrayWithRange: Objective-C instance method.
 o writeToFile(String, boolean)
A wrapper for the - writeToFile:atomically: Objective-C instance method.

Constructors

 o Array
 public Array(Object objects[])
 o Array
 protected Array(boolean shouldAllocate,
                 int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Array
 public Array()
This default constructor is equivalent to Objective-C's [[NSArray alloc] init].

 o Array
 public Array(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Array
 public Array(Array array)
This constructor has the same effect as calling - initWithArray: on a newly allocated object.

 o Array
 public Array(String path)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

Methods

 o count
 public native int count()
A wrapper for the - count Objective-C instance method.

 o objectAtIndex
 public native Object objectAtIndex(int index)
A wrapper for the - objectAtIndex: Objective-C instance method.

 o arrayByAddingObject
 public native Array arrayByAddingObject(Object anObject)
A wrapper for the - arrayByAddingObject: Objective-C instance method.

 o arrayByAddingObjectsFromArray
 public native Array arrayByAddingObjectsFromArray(Array otherArray)
A wrapper for the - arrayByAddingObjectsFromArray: Objective-C instance method.

 o componentsJoinedByString
 public native String componentsJoinedByString(String separator)
A wrapper for the - componentsJoinedByString: Objective-C instance method.

 o containsObject
 public native boolean containsObject(Object anObject)
A wrapper for the - containsObject: Objective-C instance method.

 o descriptionWithLocale
 public native String descriptionWithLocale(Dictionary locale)
A wrapper for the - descriptionWithLocale: Objective-C instance method.

 o descriptionWithLocaleAndIndent
 public native String descriptionWithLocaleAndIndent(Dictionary locale,
                                                     int level)
A wrapper for the - descriptionWithLocale:indent: Objective-C instance method.

 o firstObjectCommonWithArray
 public native Object firstObjectCommonWithArray(Array otherArray)
A wrapper for the - firstObjectCommonWithArray: Objective-C instance method.

 o indexOfObject
 public native int indexOfObject(Object anObject)
A wrapper for the - indexOfObject: Objective-C instance method.

 o indexOfObjectInRange
 public native int indexOfObjectInRange(Object anObject,
                                        Range range)
A wrapper for the - indexOfObject:inRange: Objective-C instance method.

 o indexOfIdenticalObject
 public native int indexOfIdenticalObject(Object anObject)
A wrapper for the - indexOfObjectIdenticalTo: Objective-C instance method.

 o indexOfIdenticalObjectInRange
 public native int indexOfIdenticalObjectInRange(Object anObject,
                                                 Range range)
A wrapper for the - indexOfObjectIdenticalTo:inRange: Objective-C instance method.

 o isEqualToArray
 public native boolean isEqualToArray(Array otherArray)
A wrapper for the - isEqualToArray: Objective-C instance method.

 o lastObject
 public native Object lastObject()
A wrapper for the - lastObject Objective-C instance method.

 o objectEnumerator
 public native Enumerator objectEnumerator()
A wrapper for the - objectEnumerator Objective-C instance method.

 o reverseObjectEnumerator
 public native Enumerator reverseObjectEnumerator()
A wrapper for the - reverseObjectEnumerator Objective-C instance method.

 o sortedArrayHint
 public native Data sortedArrayHint()
A wrapper for the - sortedArrayHint Objective-C instance method.

 o sortedArrayUsingSelector
 public native Array sortedArrayUsingSelector(Selector comparator)
A wrapper for the - sortedArrayUsingSelector: Objective-C instance method.

 o subarrayWithRange
 public native Array subarrayWithRange(Range range)
A wrapper for the - subarrayWithRange: Objective-C instance method.

 o writeToFile
 public native boolean writeToFile(String path,
                                   boolean useAuxiliaryFile)
A wrapper for the - writeToFile:atomically: Objective-C instance method.

 o makeObjectsPerformMethod
 public native void makeObjectsPerformMethod(Selector aSelector)
A wrapper for the - makeObjectsPerformSelector: Objective-C instance method.

 o makeObjectsPerformMethodWithObject
 public native void makeObjectsPerformMethodWithObject(Selector aSelector,
                                                       Object argument)
A wrapper for the - makeObjectsPerformSelector:withObject: Objective-C instance method.

 o array
 public static native Object array()
A wrapper for the + array Objective-C class method.

 o arrayWithContentsOfFile
 public static native Object arrayWithContentsOfFile(String path)
A wrapper for the + arrayWithContentsOfFile: Objective-C class method.

 o arrayWithObject
 public static native Object arrayWithObject(Object anObject)
A wrapper for the + arrayWithObject: Objective-C class method.

 o arrayWithArray
 public static native Object arrayWithArray(Array array)
A wrapper for the + arrayWithArray: Objective-C class method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).

 o initWithObjects
 protected native void initWithObjects(Object objects[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index