gov.llnl.ontology.util
Class StringCounter
java.lang.Object
gov.llnl.ontology.util.Counter<String>
gov.llnl.ontology.util.StringCounter
- All Implemented Interfaces:
- Serializable, Iterable<Map.Entry<String,Integer>>, org.apache.hadoop.io.Writable
public class StringCounter
- extends Counter<String>
- implements org.apache.hadoop.io.Writable
- Author:
- Keith Stevens
- See Also:
- Serialized Form
Methods inherited from class gov.llnl.ontology.util.Counter |
count, count, equals, getCount, getFrequency, hashCode, items, itemsSorted, iterator, max, min, reset, size, sum, toString |
StringCounter
public StringCounter()
StringCounter
public StringCounter(Collection<String> items)
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2010-2011. All Rights Reserved.