Modifier and Type | Class and Description |
---|---|
class |
NSArray
Represents an Array.
|
class |
NSData
NSData objects are wrappers for byte buffers.
|
class |
NSDate
Represents a date.
|
class |
NSDictionary
A NSDictionary is a collection of keys and values, essentially a Hashtable.
|
class |
NSNumber
A number whose value is either an integer, a real number or boolean.
|
class |
NSSet
A set is an interface to an unordered collection of objects.
|
class |
NSString
A NSString contains a string.
|
class |
UID
A UID.
|
Modifier and Type | Method and Description |
---|---|
NSObject[] |
NSSet.allObjects()
Returns all objects contained in the set.
|
NSObject |
NSSet.anyObject()
Returns one of the objects in the set, or
null
if the set contains no objects. |
NSObject |
NSDictionary.get(Object key) |
NSObject[] |
NSArray.getArray()
Returns the array of NSObjects represented by this NSArray.
|
NSObject |
NSArray.lastObject()
Returns the last object contained in this array.
|
NSObject |
NSSet.member(NSObject obj)
Determines whether the set contains an object equal to a given object
and returns that object if it is present.
|
NSObject |
NSArray.objectAtIndex(int i)
Returns the object stored at the given index.
|
NSObject |
NSDictionary.objectForKey(String key)
Gets the NSObject stored for the given key.
|
NSObject[] |
NSArray.objectsAtIndexes(int... indexes)
Returns a new array containing only the values stored at the given
indices.
|
NSObject |
ASCIIPropertyListParser.parse()
Parses the property list from the beginning and returns the root object
of the property list.
|
static NSObject |
XMLPropertyListParser.parse(byte[] bytes)
Parses a XML property list from a byte array.
|
static NSObject |
PropertyListParser.parse(byte[] bytes)
Parses a property list from a byte array.
|
static NSObject |
BinaryPropertyListParser.parse(byte[] data)
Parses a binary property list from a byte array.
|
static NSObject |
ASCIIPropertyListParser.parse(byte[] bytes)
Parses an ASCII property list from a byte array.
|
static NSObject |
XMLPropertyListParser.parse(File f)
Parses a XML property list file.
|
static NSObject |
PropertyListParser.parse(File f)
Parses a property list from a file.
|
static NSObject |
BinaryPropertyListParser.parse(File f)
Parses a binary property list file.
|
static NSObject |
ASCIIPropertyListParser.parse(File f)
Parses an ASCII property list file.
|
static NSObject |
XMLPropertyListParser.parse(InputStream is)
Parses a XML property list from an input stream.
|
static NSObject |
PropertyListParser.parse(InputStream is)
Parses a property list from an InputStream.
|
static NSObject |
BinaryPropertyListParser.parse(InputStream is)
Parses a binary property list from an input stream.
|
static NSObject |
ASCIIPropertyListParser.parse(InputStream in)
Parses an ASCII property list from an input stream.
|
static NSObject |
PropertyListParser.parse(String filePath)
Parses a property list from a file.
|
NSObject |
NSDictionary.put(String key,
boolean obj)
Puts a new key-value pair into this dictionary.
|
NSObject |
NSDictionary.put(String key,
double obj)
Puts a new key-value pair into this dictionary.
|
NSObject |
NSDictionary.put(String key,
long obj)
Puts a new key-value pair into this dictionary.
|
NSObject |
NSDictionary.put(String key,
NSObject obj)
Puts a new key-value pair into this dictionary.
|
NSObject |
NSDictionary.put(String key,
Object obj)
Puts a new key-value pair into this dictionary.
|
NSObject |
NSDictionary.remove(Object key) |
NSObject |
NSDictionary.remove(String key)
Removes a key-value pair from this dictionary.
|
static NSObject |
NSObject.wrap(Object o)
Creates a NSObject representing the given Java Object.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,NSObject>> |
NSDictionary.entrySet() |
HashMap<String,NSObject> |
NSDictionary.getHashMap()
Gets the hashmap which stores the keys and values of this dictionary.
|
Iterator<NSObject> |
NSSet.objectIterator()
Returns an iterator object that lets you iterate over all elements of the set.
|
Collection<NSObject> |
NSDictionary.values() |
Modifier and Type | Method and Description |
---|---|
void |
NSSet.addObject(NSObject obj)
Adds an object to the set.
|
boolean |
NSSet.containsObject(NSObject obj)
Finds out whether a given object is contained in the set.
|
boolean |
NSDictionary.containsValue(NSObject val)
Checks whether a given value is contained in this dictionary.
|
NSObject |
NSSet.member(NSObject obj)
Determines whether the set contains an object equal to a given object
and returns that object if it is present.
|
NSObject |
NSDictionary.put(String key,
NSObject obj)
Puts a new key-value pair into this dictionary.
|
void |
NSSet.removeObject(NSObject obj)
Removes an object from the set.
|
static void |
PropertyListParser.saveAsBinary(NSObject root,
File out)
Saves a property list with the given object as root into a binary file.
|
static void |
PropertyListParser.saveAsBinary(NSObject root,
OutputStream out)
Saves a property list with the given object as root in binary format into an output stream.
|
static void |
PropertyListParser.saveAsXML(NSObject root,
File out)
Saves a property list with the given object as root into a XML file.
|
static void |
PropertyListParser.saveAsXML(NSObject root,
OutputStream out)
Saves a property list with the given object as root in XML format into an output stream.
|
static void |
BinaryPropertyListWriter.write(File file,
NSObject root)
Writes a binary plist file with the given object as the root.
|
static void |
BinaryPropertyListWriter.write(OutputStream out,
NSObject root)
Writes a binary plist serialization of the given object as the root.
|
static byte[] |
BinaryPropertyListWriter.writeToArray(NSObject root)
Writes a binary plist serialization of the given object as the root
into a byte array.
|
Modifier and Type | Method and Description |
---|---|
void |
NSDictionary.putAll(Map<? extends String,? extends NSObject> values) |
Constructor and Description |
---|
NSArray(NSObject... a)
Creates a array from an existing one
|
NSSet(boolean ordered,
NSObject... objects)
Create a set and fill it with the given objects.
|
NSSet(NSObject... objects)
Create a set and fill it with the given objects.
|
Copyright © 2014. All Rights Reserved.