org.hypergraphdb.type.javaprimitive
Class BooleanType

java.lang.Object
  extended by org.hypergraphdb.type.javaprimitive.PrimitiveTypeBase<java.lang.Boolean>
      extended by org.hypergraphdb.type.javaprimitive.BooleanType
All Implemented Interfaces:
java.util.Comparator<byte[]>, HGGraphHolder, HGOrderedSearchable<java.lang.Boolean,HGPersistentHandle>, HGSearchable<java.lang.Boolean,HGPersistentHandle>, ByteArrayConverter<java.lang.Boolean>, HGAtomType, HGPrimitiveType<java.lang.Boolean>

public class BooleanType
extends PrimitiveTypeBase<java.lang.Boolean>

Author:
User

Nested Class Summary
static class BooleanType.BoolComparator
           
 
Field Summary
static java.lang.String INDEX_NAME
           
 
Constructor Summary
BooleanType()
           
 
Method Summary
 java.util.Comparator<byte[]> getComparator()
          Return a java.util.Comparator instance that provides an order relation of the values of the primitive type.
 
Methods inherited from class org.hypergraphdb.type.javaprimitive.PrimitiveTypeBase
compare, find, findGT, findGTE, findLT, findLTE, fromByteArray, getRefCountFor, make, release, setHyperGraph, store, subsumes, toByteArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INDEX_NAME

public static final java.lang.String INDEX_NAME
See Also:
Constant Field Values
Constructor Detail

BooleanType

public BooleanType()
Method Detail

getComparator

public java.util.Comparator<byte[]> getComparator()
Description copied from interface: HGPrimitiveType
Return a java.util.Comparator instance that provides an order relation of the values of the primitive type. An implementation is allowed to return null in which case it is assumed that the type does not offer an ordering relation. However, if a non-null value is returned, it is must be of a publicly available and default constructible class.