@Generated(value={"Immutables.generator","SMFFilterCommandModuleType"}) public final class SMFFilterCommandModule extends Object implements SMFFilterCommandModuleType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFFilterCommandModule.Builder
Builds instances of type
SMFFilterCommandModule. |
| Modifier and Type | Method and Description |
|---|---|
static SMFFilterCommandModule.Builder |
builder()
Creates a builder for
SMFFilterCommandModule. |
static SMFFilterCommandModule |
copyOf(SMFFilterCommandModuleType instance)
Creates an immutable copy of a
SMFFilterCommandModuleType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFFilterCommandModule that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
name, parsers. |
String |
name() |
static SMFFilterCommandModule |
of(String name,
javaslang.collection.SortedMap<String,SMFFilterCommandParserType> parsers)
Construct a new immutable
SMFFilterCommandModule instance. |
javaslang.collection.SortedMap<String,SMFFilterCommandParserType> |
parsers() |
String |
toString()
Prints the immutable value
SMFFilterCommandModule with attribute values. |
SMFFilterCommandModule |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
SMFFilterCommandModule |
withParsers(javaslang.collection.SortedMap<String,SMFFilterCommandParserType> value)
Copy the current immutable object by setting a value for the
parsers attribute. |
public String name()
name in interface SMFFilterCommandModuleTypepublic javaslang.collection.SortedMap<String,SMFFilterCommandParserType> parsers()
parsers in interface SMFFilterCommandModuleTypepublic final SMFFilterCommandModule withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final SMFFilterCommandModule withParsers(javaslang.collection.SortedMap<String,SMFFilterCommandParserType> value)
parsers attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for parsersthis objectpublic boolean equals(Object another)
SMFFilterCommandModule that have equal attribute values.public int hashCode()
name, parsers.public String toString()
SMFFilterCommandModule with attribute values.public static SMFFilterCommandModule of(String name, javaslang.collection.SortedMap<String,SMFFilterCommandParserType> parsers)
SMFFilterCommandModule instance.name - The value for the name attributeparsers - The value for the parsers attributepublic static SMFFilterCommandModule copyOf(SMFFilterCommandModuleType instance)
SMFFilterCommandModuleType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static SMFFilterCommandModule.Builder builder()
SMFFilterCommandModule.Copyright © 2017 <code@io7m.com> http://io7m.com