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<E> iterable)
Creates an iterable of
Ord s over an iterable. |
static <E> Iterator<Ord<E>> |
zip(Iterator<E> iterator)
Creates an iterator of
Ord s over an iterator. |
static <E> List<Ord<E>> |
zip(List<E> elements)
Returns a numbered list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
public final int i
public final E e
public Ord(int i, E e)
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.