|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.plist.NSObject
net.sf.plist.NSBoolean
public class NSBoolean
Represents a value of either Boolean.TRUE
or Boolean.FALSE
.
In this implementation, a primitive boolean
is used to represent the NSBoolean
.
Boolean
Field Summary | |
---|---|
static NSBoolean |
FALSE
Represents Boolean.FALSE |
static NSBoolean |
TRUE
Represents Boolean.TRUE |
Constructor Summary | |
---|---|
NSBoolean(boolean theBoolean)
Constructor. |
Method Summary | |
---|---|
boolean |
bool()
Get the boolean represented by this object. |
Boolean |
getValue()
Get the unmodifiable value of this object. |
boolean |
isTrue()
|
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 |
Field Detail |
---|
public static final NSBoolean TRUE
Boolean.TRUE
public static final NSBoolean FALSE
Boolean.FALSE
Constructor Detail |
---|
public NSBoolean(boolean theBoolean)
theBoolean
- value of the new objectMethod Detail |
---|
public Boolean getValue()
getValue
in class NSObject
bool()
,
bool()
public boolean isTrue()
bool()
public boolean bool()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |