com.simiacryptus.codes.HammingSymbol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-util Show documentation
Show all versions of java-util Show documentation
Miscellaneous Utilities (Pure Java)
package com.simiacryptus.codes;
public class HammingSymbol> implements
Comparable>
{
public final T key;
public final int count;
public HammingSymbol(final int count, final T key)
{
this.count = count;
this.key = key;
}
@Override
public int compareTo(final HammingSymbol o)
{
return this.key.compareTo(o.key);
}
}