Drools :: Core 6.1.0.Beta1

org.drools.core.util
Class AbstractBitwiseHierarchyImpl.HierCodeComparator

java.lang.Object
  extended by org.drools.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
AbstractBitwiseHierarchyImpl.HierCodeComparator()
           
 
Method Summary
 int compare(BitSet bitMask, BitSet yset)
           
 void readExternal(ObjectInput objectInput)
           
 void writeExternal(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
 

Constructor Detail

AbstractBitwiseHierarchyImpl.HierCodeComparator

public AbstractBitwiseHierarchyImpl.HierCodeComparator()
Method Detail

compare

public int compare(BitSet bitMask,
                   BitSet yset)
Specified by:
compare in interface Comparator<BitSet>

writeExternal

public void writeExternal(ObjectOutput objectOutput)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput objectInput)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

Drools :: Core 6.1.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.