org.jactr.core.chunk
Class ChunkActivationComparator

java.lang.Object
  extended by org.jactr.core.chunk.ChunkActivationComparator
All Implemented Interfaces:
java.util.Comparator<IChunk>

public class ChunkActivationComparator
extends java.lang.Object
implements java.util.Comparator<IChunk>

Description of the Class

Author:
harrison

Constructor Summary
ChunkActivationComparator()
           
 
Method Summary
 int compare(IChunk one, IChunk two)
          Description of the Method
 void setChunkTypeRequest(ChunkTypeRequest p)
          Sets the pattern attribute of the IChunkActivationComparator object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ChunkActivationComparator

public ChunkActivationComparator()
Method Detail

compare

public int compare(IChunk one,
                   IChunk two)
Description of the Method

Specified by:
compare in interface java.util.Comparator<IChunk>
Parameters:
one - Description of the Parameter
two - Description of the Parameter
Returns:
Description of the Return Value

setChunkTypeRequest

public void setChunkTypeRequest(ChunkTypeRequest p)
Sets the pattern attribute of the IChunkActivationComparator object

Parameters:
p - The new pattern value