Class ImmutableConcatOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableConcatOperator
- All Implemented Interfaces:
ConcatOperator,Expression,Serializable
@Generated(from="ConcatOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableConcatOperator
extends Object
implements ConcatOperator
Immutable implementation of
ConcatOperator.
Use the builder to create immutable instances:
ImmutableConcatOperator.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableConcatOperator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableConcatOperator.static ImmutableConcatOperatorcopyOf(ConcatOperator instance) Creates an immutable copy of aConcatOperatorvalue.booleanThis instance is equal to all instances ofImmutableConcatOperatorthat have equal attribute values.com.google.common.collect.ImmutableList<Expression> inthashCode()Computes a hash code from attributes:expressions.toString()Prints the immutable valueConcatOperatorwith attribute values.final ImmutableConcatOperatorwithExpressions(Expression... elements) Copy the current immutable object with elements that replace the content ofexpressions.final ImmutableConcatOperatorwithExpressions(Iterable<? extends Expression> elements) Copy the current immutable object with elements that replace the content ofexpressions.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.ConcatOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getExpressions
- Specified by:
getExpressionsin interfaceConcatOperator- Returns:
- The value of the
expressionsattribute
-
withExpressions
Copy the current immutable object with elements that replace the content ofexpressions.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withExpressions
Copy the current immutable object with elements that replace the content ofexpressions. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of expressions elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofImmutableConcatOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:expressions. -
toString
Prints the immutable valueConcatOperatorwith attribute values. -
copyOf
Creates an immutable copy of aConcatOperatorvalue. 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 ConcatOperator instance
-
builder
Creates a builder forImmutableConcatOperator.ImmutableConcatOperator.builder() .addExpressions|addAllExpressions(io.dialob.session.engine.program.model.Expression) //expressionselements .build();- Returns:
- A new ImmutableConcatOperator builder
-