List of usage examples for org.apache.commons.collections15.comparators ComparableComparator ComparableComparator
public ComparableComparator()
From source file:edu.uci.ics.jung.graph.SortedSparseMultigraph.java
/** * Creates a new instance which sorts its vertices and edges according to * their natural ordering.//from ww w .j av a 2 s . c o m */ @SuppressWarnings("unchecked") public SortedSparseMultigraph() { this(new ComparableComparator(), new ComparableComparator()); }