Package openGql.grammar
Class BooleanType
- java.lang.Object
-
- openGql.grammar.BooleanType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BooleanType>
public class BooleanType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<BooleanType>
A GQL boolean type- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBooleanType.BuilderA fluent builder forBooleanType.
-
Constructor Summary
Constructors Constructor Description BooleanType(java.lang.Boolean notNull)Constructs an immutableBooleanType.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BooleanType.Builderbuilder()Creates a new fluent builder forBooleanType.intcompareTo(BooleanType other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
BooleanType
public BooleanType(java.lang.Boolean notNull)
Constructs an immutableBooleanType.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(BooleanType other)
- Specified by:
compareToin interfacejava.lang.Comparable<BooleanType>
-
builder
public static BooleanType.Builder builder()
Creates a new fluent builder forBooleanType.
-
-