Package com.db4o.foundation
Class TernaryBool
- java.lang.Object
- 
- com.db4o.foundation.TernaryBool
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public final class TernaryBool extends java.lang.Object implements java.io.Serializableyes/no/dontknow data type- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static TernaryBoolNOstatic TernaryBoolUNSPECIFIEDstatic TernaryBoolYES
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbooleanValue(boolean defaultValue)booleandefiniteNo()booleandefiniteYes()booleanequals(java.lang.Object obj)static TernaryBoolforBoolean(boolean value)inthashCode()booleanisUnspecified()java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
NOpublic static final TernaryBool NO 
 - 
YESpublic static final TernaryBool YES 
 - 
UNSPECIFIEDpublic static final TernaryBool UNSPECIFIED 
 
- 
 - 
Method Detail- 
booleanValuepublic boolean booleanValue(boolean defaultValue) 
 - 
isUnspecifiedpublic boolean isUnspecified() 
 - 
definiteYespublic boolean definiteYes() 
 - 
definiteNopublic boolean definiteNo() 
 - 
forBooleanpublic static TernaryBool forBoolean(boolean value) 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-