Class PairList.Builder<T,U>

java.lang.Object
org.apache.calcite.runtime.PairList.Builder<T,U>
Type Parameters:
T - First type
U - Second type
Enclosing interface:
PairList<T,U>

public static class PairList.Builder<T,U> extends Object
Builds a PairList.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • add

      public PairList.Builder<T,U> add(T t, U u)
      Adds a pair to the list under construction.
    • build

      public PairList<T,U> build()
      Builds the PairList.
    • buildImmutable

      public ImmutablePairList<T,U> buildImmutable()
      Builds an ImmutablePairList.