org.quattor.pan
Class Compiler.ThrowableComparator
java.lang.Object
org.quattor.pan.Compiler.ThrowableComparator
- All Implemented Interfaces:
- Serializable, Comparator<Throwable>
- Enclosing class:
- Compiler
public static class Compiler.ThrowableComparator
- extends Object
- implements Serializable, Comparator<Throwable>
This class orders Throwables allowing duplicates to be removed. It orders
them based on their system identity hash code. The implementation will
not handle null values gracefully and will throw a NPE.
- Author:
- loomis
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compiler.ThrowableComparator
public Compiler.ThrowableComparator()
compare
public int compare(Throwable o1,
Throwable o2)
- Specified by:
compare in interface Comparator<Throwable>
Copyright © 2012 Quattor. All Rights Reserved.