Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2015-2015 Amazon Technologies, Inc.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at:
 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
 * OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and
 * limitations under the License.
Represents the list_append(operand, operand) function in building expression.

"list_append (operand, operand) ??? This function evaluates to a list with a new element added to it. You can append the new element to the start or the end of the list by reversing the order of the operands."

This object is as immutable (or unmodifiable) as the values in it's operands.

public final class ListAppendFunction extends FunctionOperand {
    private final Operand first;
    private final Operand second;
    ListAppendFunction(Operand firstOperand second) {
        this. = first;
        this. = second;
        return "list_append(" + .asSubstituted(context) + ", "
                + .asSubstituted(context) + ")";
New to GrepCode? Check out our FAQ X