public abstract class Tuple
extends java.lang.Object
implements java.lang.Iterable<com.google.protobuf.Message>, java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
Tuple(java.lang.Object... values)
Creates a new instance with the passed values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected java.lang.Object |
get(int index)
Obtains a value at the specified index.
|
int |
hashCode() |
@NonNull java.util.Iterator<com.google.protobuf.Message> |
iterator() |
protected Tuple(java.lang.Object... values)
public final @NonNull java.util.Iterator<com.google.protobuf.Message> iterator()
iterator
in interface java.lang.Iterable<com.google.protobuf.Message>
protected final java.lang.Object get(int index)
index
- a zero-based index valuejava.lang.IndexOutOfBoundsException
- if the index is out of rangepublic final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object