static final class ClusterUtilities.UniqueEnergyComparator extends Object implements Comparator<org.lcsim.event.CalorimeterHit>
Constructor and Description |
---|
UniqueEnergyComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(org.lcsim.event.CalorimeterHit hit1,
org.lcsim.event.CalorimeterHit hit2)
Compares the first hit with respect to the second.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(org.lcsim.event.CalorimeterHit hit1, org.lcsim.event.CalorimeterHit hit2)
compare
in interface Comparator<org.lcsim.event.CalorimeterHit>
hit1
- The hit to compare.hit2
- The hit with respect to which the first should be compared.Copyright © 2019. All rights reserved.