Class ImmutableTrees.LetEnd
- java.lang.Object
-
- org.immutables.generator.processor.ImmutableTrees.LetEnd
-
- All Implemented Interfaces:
Trees.Directive,Trees.DirectiveEnd,Trees.LetEnd,Trees.TemplatePart
- Enclosing class:
- ImmutableTrees
@Immutable public static final class ImmutableTrees.LetEnd extends java.lang.Object implements Trees.LetEnd
Immutable implementation ofTrees.LetEnd.Use the static factory method to get the default singleton instance:
ImmutableTrees.LetEnd.of().
-
-
Field Summary
Fields Modifier and Type Field Description private static ImmutableTrees.LetEndINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateLetEnd()
-
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 ofLetEndthat have equal attribute values.inthashCode()Returns a constant hash code value.static ImmutableTrees.LetEndof()Returns the default immutable singleton value ofLetEndjava.lang.StringtoString()Prints the immutable valueLetEnd.
-
-
-
Field Detail
-
INSTANCE
private static final ImmutableTrees.LetEnd INSTANCE
-
-
Method Detail
-
equals
public boolean equals(@Nullable java.lang.Object another)This instance is equal to all instances ofLetEndthat have equal attribute values. As instances of theLetEndclass 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 valueLetEnd.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
of
public static ImmutableTrees.LetEnd of()
Returns the default immutable singleton value ofLetEnd- Returns:
- An immutable instance of LetEnd
-
-