org.bridj.objc
Class NSDictionary

java.lang.Object
  extended by org.bridj.NativeObject
      extended by org.bridj.objc.ObjCObject
          extended by org.bridj.objc.NSObject
              extended by org.bridj.objc.NSDictionary
All Implemented Interfaces:
NativeObjectInterface

public class NSDictionary
extends NSObject

Author:
ochafik

Field Summary
 
Fields inherited from class org.bridj.NativeObject
peer, typeInfo
 
Constructor Summary
NSDictionary()
           
 
Method Summary
 int count()
           
static Pointer<NSDictionary> dictionaryWithContentsOfFile(Pointer<NSString> path)
           
static Pointer<NSDictionary> dictionaryWithObjects_forKeys_count(Pointer<Pointer<NSObject>> objects, Pointer<Pointer<NSObject>> keys, int count)
           
 void getObjects_andKeys(Pointer<Pointer<NSObject>> objects, Pointer<Pointer<NSObject>> keys)
           
 Pointer<NSObject> objectForKey(Pointer<NSObject> key)
           
static Pointer<NSDictionary> pointerToNSDictionary(Map<String,NSObject> map)
           
 Map<String,NSObject> toMap()
           
 Pointer<NSObject> valueForKey(Pointer<NSString> key)
           
static NSDictionary valueOf(Map<String,NSObject> map)
           
 
Methods inherited from class org.bridj.objc.ObjCObject
description, equals, hash, hashCode, init, isEqual, isKindOf, isKindOfClassNamed, isMemberOf, isMemberOfClassNamed, methodFor, perform, perform$with, perform$with$with, respondsTo, stringValue, toString
 
Methods inherited from class org.bridj.NativeObject
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NSDictionary

public NSDictionary()
Method Detail

valueForKey

public Pointer<NSObject> valueForKey(Pointer<NSString> key)

objectForKey

public Pointer<NSObject> objectForKey(Pointer<NSObject> key)

count

public int count()

getObjects_andKeys

public void getObjects_andKeys(Pointer<Pointer<NSObject>> objects,
                               Pointer<Pointer<NSObject>> keys)

dictionaryWithContentsOfFile

public static Pointer<NSDictionary> dictionaryWithContentsOfFile(Pointer<NSString> path)

dictionaryWithObjects_forKeys_count

public static Pointer<NSDictionary> dictionaryWithObjects_forKeys_count(Pointer<Pointer<NSObject>> objects,
                                                                        Pointer<Pointer<NSObject>> keys,
                                                                        int count)

pointerToNSDictionary

public static Pointer<NSDictionary> pointerToNSDictionary(Map<String,NSObject> map)

valueOf

public static NSDictionary valueOf(Map<String,NSObject> map)

toMap

public Map<String,NSObject> toMap()


Copyright © 2009-2012. All Rights Reserved.