Package com.intellij.util.io
Interface ByteBufferMap.KeyProvider<K>
-
- All Known Implementing Classes:
IntegerKeyProvider
,StringKeyProvider
- Enclosing class:
- ByteBufferMap<K,V>
public static interface ByteBufferMap.KeyProvider<K>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(DataInput in, K key)
Should move the buffer pointer to the key end.K
get(DataInput in)
int
hashCode(K key)
int
length(K key)
void
write(DataOutput out, K key)
-
-
-
Method Detail
-
hashCode
int hashCode(K key)
-
write
void write(DataOutput out, K key) throws IOException
- Throws:
IOException
-
length
int length(K key)
-
get
K get(DataInput in) throws IOException
- Throws:
IOException
-
equals
boolean equals(DataInput in, K key) throws IOException
Should move the buffer pointer to the key end.- Throws:
IOException
-
-