@Generated(value={"Immutables.generator","JCGLVersionType"}) public final class JCGLVersion extends Object implements JCGLVersionType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCGLVersion.Builder
Builds instances of type
JCGLVersion. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLVersion.Builder |
builder()
Creates a builder for
JCGLVersion. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLVersion that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
number, text. |
JCGLVersionNumber |
number() |
static JCGLVersion |
of(JCGLVersionNumber number,
String text)
Construct a new immutable
JCGLVersion instance. |
String |
text() |
String |
toString()
Prints the immutable value
JCGLVersion with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic JCGLVersionNumber number()
number in interface JCGLVersionTypepublic String text()
text in interface JCGLVersionTypepublic boolean equals(Object another)
JCGLVersion that have equal attribute values.public int hashCode()
number, text.public String toString()
JCGLVersion with attribute values.public static JCGLVersion of(JCGLVersionNumber number, String text)
JCGLVersion instance.number - The value for the number attributetext - The value for the text attributepublic static JCGLVersion.Builder builder()
JCGLVersion.Copyright © 2017 <code@io7m.com> http://io7m.com