Class ImmutableLocalizedLabelOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableLocalizedLabelOperator
- All Implemented Interfaces:
LocalizedLabelOperator,Expression,Serializable
@Generated(from="LocalizedLabelOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableLocalizedLabelOperator
extends Object
implements LocalizedLabelOperator
Immutable implementation of
LocalizedLabelOperator.
Use the builder to create immutable instances:
ImmutableLocalizedLabelOperator.builder().
Use the static factory method to create immutable instances:
ImmutableLocalizedLabelOperator.of().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableLocalizedLabelOperator. -
Field Summary
Fields inherited from interface io.dialob.session.engine.program.expr.arith.LocalizedLabelOperator
EXPRESSION_PATTERN -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableLocalizedLabelOperator.copyOf(LocalizedLabelOperator instance) Creates an immutable copy of aLocalizedLabelOperatorvalue.booleanThis instance is equal to all instances ofImmutableLocalizedLabelOperatorthat have equal attribute values.com.google.common.collect.ImmutableMap<String, Expression> getValue()inthashCode()Computes a hash code from attributes:value.of(Map<String, ? extends Expression> value) Construct a new immutableLocalizedLabelOperatorinstance.toString()Prints the immutable valueLocalizedLabelOperatorwith attribute values.withValue(Map<String, ? extends Expression> entries) Copy the current immutable object by replacing thevaluemap with the specified map.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.dialob.session.engine.program.expr.arith.LocalizedLabelOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getValue
- Specified by:
getValuein interfaceLocalizedLabelOperator- Returns:
- The value of the
valueattribute
-
withValue
Copy the current immutable object by replacing thevaluemap 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 returningthis.- Parameters:
entries- The entries to replace the value map- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofImmutableLocalizedLabelOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:value. -
toString
Prints the immutable valueLocalizedLabelOperatorwith attribute values. -
of
Construct a new immutableLocalizedLabelOperatorinstance.- Parameters:
value- The value for thevalueattribute- Returns:
- An immutable LocalizedLabelOperator instance
-
copyOf
Creates an immutable copy of aLocalizedLabelOperatorvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable LocalizedLabelOperator instance
-
builder
Creates a builder forImmutableLocalizedLabelOperator.ImmutableLocalizedLabelOperator.builder() .putValue|putAllValue(String => io.dialob.session.engine.program.model.Expression) //valuemappings .build();- Returns:
- A new ImmutableLocalizedLabelOperator builder
-