Package com.intellij.util.io
Class WriteableMapAdapter<K,V>
- java.lang.Object
-
- com.intellij.util.io.WriteableMapAdapter<K,V>
-
- All Implemented Interfaces:
WriteableMap<V>
public class WriteableMapAdapter<K,V> extends Object implements WriteableMap<V>
- Author:
- max
-
-
Constructor Summary
Constructors Constructor Description WriteableMapAdapter(Map<K,V> map, ByteBufferMap.KeyProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getHashCodesArray()
int
getKeyLength(int n)
V
getValue(int n)
void
writeKey(DataOutput out, int n)
-
-
-
Constructor Detail
-
WriteableMapAdapter
public WriteableMapAdapter(Map<K,V> map, ByteBufferMap.KeyProvider provider)
-
-
Method Detail
-
getHashCodesArray
public int[] getHashCodesArray()
- Specified by:
getHashCodesArray
in interfaceWriteableMap<K>
-
getValue
public V getValue(int n)
- Specified by:
getValue
in interfaceWriteableMap<K>
-
getKeyLength
public int getKeyLength(int n)
- Specified by:
getKeyLength
in interfaceWriteableMap<K>
-
writeKey
public void writeKey(DataOutput out, int n) throws IOException
- Specified by:
writeKey
in interfaceWriteableMap<K>
- Throws:
IOException
-
-