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 Object
implements Trees.TemplateEnd
Immutable implementation of
Trees.TemplateEnd.
Use the static factory method to get the default singleton instance:
ImmutableTrees.TemplateEnd.of().
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis 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 ofTemplateEndtoString()Prints the immutable valueTemplateEnd.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
TemplateEnd
private TemplateEnd()
-
-
Method Details
-
equals
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. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueTemplateEnd. -
of
Returns the default immutable singleton value ofTemplateEnd- Returns:
- An immutable instance of TemplateEnd
-