hep.graphics.heprep1.adapter
Class NumericalComparator
java.lang.Object
hep.graphics.heprep1.adapter.NumericalComparator
- All Implemented Interfaces:
- Comparator
- public class NumericalComparator
- extends Object
- implements Comparator
FIXME: move somewhere else in freehep-base.
- Version:
- $Id: NumericalComparator.java,v 1.1 2004/07/22 21:02:50 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- NumericalComparator.java
Method Summary |
int |
compare(Object o1,
Object o2)
Sorts in numerical order, followed by Strings in alphabetical order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumericalComparator
public NumericalComparator()
compare
public int compare(Object o1,
Object o2)
- Sorts in numerical order, followed by Strings in alphabetical order.
- Specified by:
compare
in interface Comparator
Copyright © 2000-2004 FreeHEP, All Rights Reserved.