public static class FSOrderedMapFile.MapFileInMemory<IK extends org.apache.hadoop.io.Writable,IV extends org.apache.hadoop.io.Writable> extends TreeMap<IK,IV> implements Map<IK,IV>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FSOrderedMapFile.MapFileInMemory(DataInputStream dataInputStream,
int length,
FixedSizeWriteableFactory<IK> keyfactory,
FixedSizeWriteableFactory<IV> valuefactory)
constructor
|
FSOrderedMapFile.MapFileInMemory(String filename,
FixedSizeWriteableFactory<IK> _keyFactory,
FixedSizeWriteableFactory<IV> _valueFactory)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
ceilingEntry, ceilingKey, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
public FSOrderedMapFile.MapFileInMemory(String filename, FixedSizeWriteableFactory<IK> _keyFactory, FixedSizeWriteableFactory<IV> _valueFactory) throws IOException
filename
- _keyFactory
- _valueFactory
- IOException
public FSOrderedMapFile.MapFileInMemory(DataInputStream dataInputStream, int length, FixedSizeWriteableFactory<IK> keyfactory, FixedSizeWriteableFactory<IV> valuefactory) throws IOException
dataInputStream
- length
- keyfactory
- valuefactory
- IOException
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow