|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.plist.NSObject
net.sf.plist.NSDictionary
public class NSDictionary
A key/value store,
with String
as keys and NSObject
as values.
Usually, the root node of a Property List is a NSDictionary
.
In this implementation, a Map
is used to represent the NSDictionary
.
Map
Constructor Summary | |
---|---|
NSDictionary(Map<String,NSObject> theMap)
Constructor . |
Method Summary | |
---|---|
Set<Map.Entry<String,NSObject>> |
entrySet()
Get the entryset for this NSObject . |
NSObject |
get(String key)
Get the NSObject associated with key . |
Map<String,NSObject> |
getValue()
Get the unmodifiable value of this object. |
Map<String,NSObject> |
map()
Get the contents of this object as a Map . |
Methods inherited from class net.sf.plist.NSObject |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NSDictionary(Map<String,NSObject> theMap)
theMap
- value of the new objectMethod Detail |
---|
public NSObject get(String key)
NSObject
associated with key
.
key
- The key to retrieve
NSObject
associated with key
Map.get(Object)
public Set<Map.Entry<String,NSObject>> entrySet()
NSObject
.
Map.entrySet()
public Map<String,NSObject> getValue()
getValue
in class NSObject
map()
public Map<String,NSObject> map()
Map
.
Map
Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |