public final class IntPath extends Object implements Comparable<IntPath>, Iterable<Integer>
| Modifier and Type | Method and Description |
|---|---|
IntPath |
addAll(int... values) |
static boolean |
arraysEquals(int[] a,
int aFromIndex,
int aToIndex,
int[] b,
int bFromIndex,
int bToIndex) |
IntPath |
childPath() |
int |
compareTo(IntPath o) |
boolean |
contains(int val) |
boolean |
contains(IntPath path) |
int |
end() |
boolean |
equals(Object o) |
int |
first() |
int |
get(int index) |
int |
hashCode() |
int |
indexOf(int val) |
boolean |
isEmpty() |
int[] |
items() |
void |
iterate(IntConsumer cons) |
Iterator<Integer> |
iterator() |
int |
last() |
IntPath |
parentPath() |
IntPath |
reversed() |
int |
size() |
int |
start() |
<T> ObjectPath<T> |
toObjectPath(IndexedResolvable<T> indexed) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic int first()
public int last()
public IntPath addAll(int... values)
public IntPath childPath()
public IntPath parentPath()
public IntPath reversed()
public int start()
public int end()
public boolean contains(IntPath path)
public static boolean arraysEquals(int[] a,
int aFromIndex,
int aToIndex,
int[] b,
int bFromIndex,
int bToIndex)
public int indexOf(int val)
public boolean contains(int val)
public boolean isEmpty()
public int size()
public int get(int index)
public int[] items()
public void iterate(IntConsumer cons)
public <T> ObjectPath<T> toObjectPath(IndexedResolvable<T> indexed)
public int compareTo(IntPath o)
compareTo in interface Comparable<IntPath>Copyright © 2010–2019 Mastfrog Technologies. All rights reserved.