com.bigdata.relation.rule.eval
Class SolutionComparator<E>
java.lang.Object
com.bigdata.relation.rule.eval.SolutionComparator<E>
- All Implemented Interfaces:
- Comparator<ISolution<E>>
public class SolutionComparator<E>
- extends Object
- implements Comparator<ISolution<E>>
Wraps the Comparator obtained from a IKeyOrder such that it
will ordered ISolutions by the elements reported by
ISolution.get().
- Version:
- $Id: SolutionComparator.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolutionComparator
public SolutionComparator(IKeyOrder<E> keyOrder)
compare
public int compare(ISolution<E> arg0,
ISolution<E> arg1)
- Specified by:
compare in interface Comparator<ISolution<E>>
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.