| Modifier and Type | Method and Description |
|---|---|
Integer |
getKey() |
E |
getValue() |
static <E> Ord<E> |
of(int n,
E e)
Creates an Ord.
|
E |
setValue(E value) |
static <E> List<Ord<E>> |
zip(E[] elements)
Returns a numbered list based on an array.
|
static <E> Iterable<Ord<E>> |
zip(Iterable<? extends E> iterable)
Creates an iterable of
Ords over an iterable. |
static <E> Iterator<Ord<E>> |
zip(Iterator<? extends E> iterator)
Creates an iterator of
Ords over an iterator. |
static <E> List<Ord<E>> |
zip(List<? extends E> elements)
Returns a numbered list.
|
public final int i
public final E e
public Ord(int i, E e)
public static <E> Ord<E> of(int n, E e)
public static <E> Iterable<Ord<E>> zip(Iterable<? extends E> iterable)
Ords over an iterable.public static <E> Iterator<Ord<E>> zip(Iterator<? extends E> iterator)
Ords over an iterator.Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.