public class ExchangeComparator extends Object implements Comparator<AbstractExchange>
Constructor and Description |
---|
ExchangeComparator() |
Modifier and Type | Method and Description |
---|---|
void |
addAccessor(ExchangeAccessor acc) |
void |
addAccessors(ExchangeAccessor[] excAccessors) |
int |
compare(AbstractExchange e1,
AbstractExchange e2) |
List<ExchangeAccessor> |
getAccessors() |
boolean |
isAscending() |
boolean |
isEmpty() |
void |
removeAccessor(ExchangeAccessor acc) |
void |
removeAllAccessors() |
void |
setAccessors(List<ExchangeAccessor> accessors) |
void |
setAscending(boolean ascending) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals
public int compare(AbstractExchange e1, AbstractExchange e2)
compare
in interface Comparator<AbstractExchange>
public void addAccessor(ExchangeAccessor acc)
public void addAccessors(ExchangeAccessor[] excAccessors)
public void removeAccessor(ExchangeAccessor acc)
public void removeAllAccessors()
public boolean isEmpty()
public List<ExchangeAccessor> getAccessors()
public void setAccessors(List<ExchangeAccessor> accessors)
public boolean isAscending()
public void setAscending(boolean ascending)
Copyright © 2012. All Rights Reserved.