S - 最初のものの型。T - 2 番目の型。public final class Pair<S,T> extends ObjectSE
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | equals(ObjectSE o) |
S | getFirst()Pair の最初の要素を返します。 |
T | getSecond()Pair の 2 番目の要素を返します。 |
int | hashCode() |
static <S,T> Pair<S,T> | of(S first, T second) 指定された要素の新しい Pair を作成します。 |
static <S,T> CollectorSE<Pair<S,T>,?,MapSE<S,T>> | toMap() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static <S,T> Pair<S,T> of(S first, T second)
Pair を作成します。first - null であってはなりません。second - null であってはなりません。public static <S,T> CollectorSE<Pair<S,T>,?,MapSE<S,T>> toMap()
public StringSE toString()
ObjectSE の toStringSE public int hashCode()
ObjectSE の hashCodeSE Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.