Class Pair<L,R>

java.lang.Object
io.pebbletemplates.pebble.utils.Pair<L,R>

public class Pair<L,R> extends Object
A small utility class used to pair relevant objects together.
  • Field Details

    • left

      private final L left
  • Constructor Details

    • Pair

      public Pair(L left, R right)
  • Method Details

    • getLeft

      public L getLeft()
    • getRight

      public R getRight()
    • toString

      public String toString()
      Overrides:
      toString in class Object