Class ImmutableTrees.ForEnd
java.lang.Object
org.immutables.generator.processor.ImmutableTrees.ForEnd
- All Implemented Interfaces:
Trees.Directive,Trees.DirectiveEnd,Trees.ForEnd,Trees.TemplatePart
- Enclosing class:
ImmutableTrees
Immutable implementation of
Trees.ForEnd.
Use the static factory method to get the default singleton instance:
ImmutableTrees.ForEnd.of().
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis instance is equal to all instances ofForEndthat have equal attribute values.inthashCode()Returns a constant hash code value.static ImmutableTrees.ForEndof()Returns the default immutable singleton value ofForEndtoString()Prints the immutable valueForEnd.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ForEnd
private ForEnd()
-
-
Method Details
-
equals
This instance is equal to all instances ofForEndthat have equal attribute values. As instances of theForEndclass are interned, theequalsmethod is implemented as an efficient reference equality check. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueForEnd. -
of
Returns the default immutable singleton value ofForEnd- Returns:
- An immutable instance of ForEnd
-