类 Pair<S,T>

java.lang.Object
org.ssssssss.magicapi.core.model.Pair<S,T>

public final class Pair<S,T> extends Object
  • 字段详细资料

    • first

      private final S first
    • second

      private final T second
  • 构造器详细资料

    • Pair

      private Pair(S first, T second)
  • 方法详细资料

    • of

      public static <S, T> Pair<S,T> of(S first, T second)
    • getFirst

      public S getFirst()
    • getSecond

      public T getSecond()
    • equals

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

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