public class ChainOpAndOccurrences<T extends RefChainOperation> extends java.lang.Object implements java.lang.Comparable<ChainOpAndOccurrences>
Constructor and Description |
---|
ChainOpAndOccurrences(T op,
int occurrences) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ChainOpAndOccurrences that) |
int |
getOccurrenceCount() |
T |
getOperation() |
java.lang.String |
toString() |
public ChainOpAndOccurrences(T op, int occurrences)
public T getOperation()
public int getOccurrenceCount()
public int compareTo(ChainOpAndOccurrences that)
compareTo
in interface java.lang.Comparable<ChainOpAndOccurrences>
public java.lang.String toString()
toString
in class java.lang.Object