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()intgetKeyLength(int n)VgetValue(int n)voidwriteKey(DataOutput out, int n)
-
-
-
Constructor Detail
-
WriteableMapAdapter
public WriteableMapAdapter(Map<K,V> map, ByteBufferMap.KeyProvider provider)
-
-
Method Detail
-
getHashCodesArray
public int[] getHashCodesArray()
- Specified by:
getHashCodesArrayin interfaceWriteableMap<K>
-
getValue
public V getValue(int n)
- Specified by:
getValuein interfaceWriteableMap<K>
-
getKeyLength
public int getKeyLength(int n)
- Specified by:
getKeyLengthin interfaceWriteableMap<K>
-
writeKey
public void writeKey(DataOutput out, int n) throws IOException
- Specified by:
writeKeyin interfaceWriteableMap<K>- Throws:
IOException
-
-