Class ImmutableTrees.IfEnd
java.lang.Object
org.immutables.generator.processor.ImmutableTrees.IfEnd
- All Implemented Interfaces:
Trees.Directive,Trees.DirectiveEnd,Trees.IfEnd,Trees.TemplatePart
- Enclosing class:
ImmutableTrees
Immutable implementation of
Trees.IfEnd.
Use the static factory method to get the default singleton instance:
ImmutableTrees.IfEnd.of().
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis instance is equal to all instances ofIfEndthat have equal attribute values.inthashCode()Returns a constant hash code value.static ImmutableTrees.IfEndof()Returns the default immutable singleton value ofIfEndtoString()Prints the immutable valueIfEnd.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
IfEnd
private IfEnd()
-
-
Method Details
-
equals
This instance is equal to all instances ofIfEndthat have equal attribute values. As instances of theIfEndclass 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 valueIfEnd. -
of
Returns the default immutable singleton value ofIfEnd- Returns:
- An immutable instance of IfEnd
-