tuple object.
| Modifier and Type | Class and Description |
|---|---|
| public static class | PyTuple.Builder
A class for constructing a tuple element-wise. |
| pack-priv class | PyTuple.TupleDelegate
Wrap this |
| Modifier and Type | Field and Description |
|---|---|
| private PyTuple. | delegate
Implementation help for sequence methods. |
| pack-priv static final PyTuple | EMPTY
Convenient constant for a |
| private static final int | |
| private static final int | |
| private static final int | |
| public static final PyType | TYPE
The Python type object for |
| protected final PyType | type
The Python type of this instance. |
| pack-priv final Object[] | value
The elements of the |
| Access | Constructor and Description |
|---|---|
| private <E> | |
| public < Actual element type E> | |
| protected < element type of the E>tuple internally | |
| pack-priv | PyTuple(Collection<?>
source of element values for this c)tupleConstruct a |
| protected | PyTuple(PyType
actual Python sub-class to being created type, Collection<?> elements of the tuple c)As |
| pack-priv | |
| protected | PyTuple(PyType
actual Python type to construct type, Object[] source of element values a, int first element to include start, int number of elements to take count)As |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Object | |
| private boolean | |
| private Object | |
| private Object | |
| private Object | |
| private PyTuple | |
| private Object | |
| private int | |
| private Object | |
| private int | |
| private Object | |
| private Object | |
| private Object | |
| private Object | |
| private Object | |
| private static PyTuple | |
| private int | |
| public boolean | equals(Object
the object to be compared for equality with this list other)Overrides java. Implements java. |
| pack-priv static < component type E> PyTuple | |
| pack-priv static < component type E> PyTuple | Returns: a tuple with the given contents orEMPTYvalue of new tuple c)Construct a |
| public Object | get(int
index of the element to return i)Implements abstract java. Implements java. |
| public PyType | |
| public int | hashCode()
Overrides java. Implements java. |
| private Object | |
| public Iterator | iterator()
Overrides java. Implements java. |
| public ListIterator | listIterator(final int
index of the first element to be returned from the
list iterator (by a call to index)next)Overrides java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| public String | toString()
Overrides java. |
| private static < component type of the array in the new tuple E> PyTuple |