类 Pair<L,R>

java.lang.Object
cn.yingyya.next.moment.utils.collections.Pair<L,R>

public final class Pair<L,R> extends Object
  • 方法详细资料

    • empty

      public static <L, R> Pair<L,R> empty()
    • createLeft

      public static <L, R> Pair<L,R> createLeft(L left)
    • createRight

      public static <L, R> Pair<L,R> createRight(R right)
    • create

      public static <L, R> Pair<L,R> create(L left, R right)
    • getLeft

      public L getLeft()
    • getRight

      public R getRight()
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object