Interface GroupSupplier<L extends ExpressionPiece,​R extends ExpressionPiece>

Type Parameters:
L - Group opening piece type.
R - Group closing piece type.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface GroupSupplier<L extends ExpressionPiece,​R extends ExpressionPiece>
Function that creates a group from the given boundaries.
  • Method Summary

    Modifier and Type Method Description
    GroupPiece apply​(L left, R right, java.util.List<ExpressionPiece> content)
    Create a group from the given pieces.