Class ImmutableTrees.TemplateEnd
- java.lang.Object
-
- org.immutables.generator.processor.ImmutableTrees.TemplateEnd
-
- All Implemented Interfaces:
Trees.Directive,Trees.DirectiveEnd,Trees.Synthetic,Trees.TemplateEnd,Trees.TemplatePart
- Enclosing class:
- ImmutableTrees
@Immutable public static final class ImmutableTrees.TemplateEnd extends java.lang.Object implements Trees.TemplateEnd
Immutable implementation ofTrees.TemplateEnd.Use the static factory method to get the default singleton instance:
ImmutableTrees.TemplateEnd.of().
-
-
Field Summary
Fields Modifier and Type Field Description private static ImmutableTrees.TemplateEndINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateTemplateEnd()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object another)This instance is equal to all instances ofTemplateEndthat have equal attribute values.inthashCode()Returns a constant hash code value.static ImmutableTrees.TemplateEndof()Returns the default immutable singleton value ofTemplateEndjava.lang.StringtoString()Prints the immutable valueTemplateEnd.
-
-
-
Field Detail
-
INSTANCE
private static final ImmutableTrees.TemplateEnd INSTANCE
-
-
Method Detail
-
equals
public boolean equals(@Nullable java.lang.Object another)This instance is equal to all instances ofTemplateEndthat have equal attribute values. As instances of theTemplateEndclass are interned, theequalsmethod is implemented as an efficient reference equality check.- Overrides:
equalsin classjava.lang.Object- Returns:
trueifthisis equal toanotherinstance
-
hashCode
public int hashCode()
Returns a constant hash code value.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueTemplateEnd.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
of
public static ImmutableTrees.TemplateEnd of()
Returns the default immutable singleton value ofTemplateEnd- Returns:
- An immutable instance of TemplateEnd
-
-