Package org.drools.traits.core.util
Class AbstractBitwiseHierarchyImpl.HierCodeComparator
- java.lang.Object
-
- org.drools.traits.core.util.AbstractBitwiseHierarchyImpl.HierCodeComparator
-
- All Implemented Interfaces:
Externalizable,Serializable,Comparator<BitSet>
- Enclosing class:
- AbstractBitwiseHierarchyImpl<H,J extends LatticeElement<H>>
protected static class AbstractBitwiseHierarchyImpl.HierCodeComparator extends Object implements Comparator<BitSet>, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HierCodeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(BitSet bitMask, BitSet yset)voidreadExternal(ObjectInput objectInput)voidwriteExternal(ObjectOutput objectOutput)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(BitSet bitMask, BitSet yset)
- Specified by:
comparein interfaceComparator<BitSet>
-
writeExternal
public void writeExternal(ObjectOutput objectOutput) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-