public class OrderList extends Object implements Comparator<TitanElement>, Iterable<OrderList.OrderEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderList.OrderEntry |
| Constructor and Description |
|---|
OrderList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PropertyKey key,
Order order) |
int |
compare(TitanElement o1,
TitanElement o2) |
boolean |
containsKey(PropertyKey key) |
boolean |
equals(Object oth) |
Order |
getCommonOrder() |
PropertyKey |
getKey(int position) |
Order |
getOrder(int position) |
boolean |
hasCommonOrder()
Whether all individual orders are the same
|
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isImmutable() |
Iterator<OrderList.OrderEntry> |
iterator() |
void |
makeImmutable() |
int |
size() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongforEach, spliteratorpublic static final OrderList NO_ORDER
public void add(PropertyKey key, Order order)
public boolean isEmpty()
public PropertyKey getKey(int position)
public Order getOrder(int position)
public int size()
public boolean containsKey(PropertyKey key)
public void makeImmutable()
public boolean isImmutable()
public boolean hasCommonOrder()
public Order getCommonOrder()
public Iterator<OrderList.OrderEntry> iterator()
iterator in interface Iterable<OrderList.OrderEntry>public boolean equals(Object oth)
equals in interface Comparator<TitanElement>equals in class Objectpublic int compare(TitanElement o1, TitanElement o2)
compare in interface Comparator<TitanElement>Copyright © 2012–2015. All rights reserved.