public static class IntPairWritable.Frequency extends Object implements Comparable<IntPairWritable.Frequency>, Serializable
Constructor and Description |
---|
Frequency(IntPairWritable bigram,
double frequency) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IntPairWritable.Frequency that) |
boolean |
equals(Object right) |
double |
getFrequency() |
IntPairWritable |
getPair() |
int |
hashCode() |
String |
toString() |
public Frequency(IntPairWritable bigram, double frequency)
public double getFrequency()
public IntPairWritable getPair()
public int compareTo(IntPairWritable.Frequency that)
compareTo
in interface Comparable<IntPairWritable.Frequency>
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.