@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableOperatorMap extends OperatorMap
OperatorMap.
Use the builder to create immutable instances:
ImmutableOperatorMap.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableOperatorMap.Builder
Builds instances of type
ImmutableOperatorMap. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableOperatorMap.Builder |
builder()
Creates a builder for
ImmutableOperatorMap. |
static ImmutableOperatorMap |
copyOf(OperatorMap instance)
Creates an immutable copy of a
OperatorMap value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableOperatorMap that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
prefix, infix, postfix. |
protected Map<String,OperatorMapping> |
infix() |
protected Map<String,OperatorMapping> |
postfix() |
protected Map<String,OperatorMapping> |
prefix() |
String |
toString()
Prints the immutable value
OperatorMap with attribute values. |
ImmutableOperatorMap |
withInfix(Map<String,? extends OperatorMapping> entries)
Copy the current immutable object by replacing the
infix map with the specified map. |
ImmutableOperatorMap |
withPostfix(Map<String,? extends OperatorMapping> entries)
Copy the current immutable object by replacing the
postfix map with the specified map. |
ImmutableOperatorMap |
withPrefix(Map<String,? extends OperatorMapping> entries)
Copy the current immutable object by replacing the
prefix map with the specified map. |
andThen, hasStartingWith, infixOperator, matching, postfixOperator, prefixOperatorprotected Map<String,OperatorMapping> prefix()
prefix in class OperatorMapprefix attributeprotected Map<String,OperatorMapping> infix()
infix in class OperatorMapinfix attributeprotected Map<String,OperatorMapping> postfix()
postfix in class OperatorMappostfix attributepublic final ImmutableOperatorMap withPrefix(Map<String,? extends OperatorMapping> entries)
prefix map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the prefix mapthis objectpublic final ImmutableOperatorMap withInfix(Map<String,? extends OperatorMapping> entries)
infix map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the infix mapthis objectpublic final ImmutableOperatorMap withPostfix(Map<String,? extends OperatorMapping> entries)
postfix map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the postfix mapthis objectpublic boolean equals(Object another)
ImmutableOperatorMap that have equal attribute values.public int hashCode()
prefix, infix, postfix.public String toString()
OperatorMap with attribute values.public static ImmutableOperatorMap copyOf(OperatorMap instance)
OperatorMap 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 ImmutableOperatorMap.Builder builder()
ImmutableOperatorMap.
ImmutableOperatorMap.builder()
.putPrefix|putAllPrefix(String => de.flapdoodle.eval.core.evaluables.OperatorMapping) // prefix mappings
.putInfix|putAllInfix(String => de.flapdoodle.eval.core.evaluables.OperatorMapping) // infix mappings
.putPostfix|putAllPostfix(String => de.flapdoodle.eval.core.evaluables.OperatorMapping) // postfix mappings
.build();
Copyright © 2024. All rights reserved.