T
@InterfaceAudience.Public @InterfaceStability.Stable public class PairOfSameType<T> extends Object implements Iterable<T>
if Types differ.
PairOfSameType(T a, T b)
boolean
equals(Object other)
getFirst()
getSecond()
int
hashCode()
Iterator<T>
iterator()
String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public PairOfSameType(T a, T b)
a
b
public T getFirst()
public T getSecond()
public boolean equals(Object other)
equals
Object
public int hashCode()
hashCode
public String toString()
toString
public Iterator<T> iterator()
iterator
Iterable<T>
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.