Package com.intellij.util.io
Class IntegerKeyProvider
- java.lang.Object
-
- com.intellij.util.io.IntegerKeyProvider
-
- All Implemented Interfaces:
ByteBufferMap.KeyProvider<Integer>
@Deprecated public class IntegerKeyProvider extends Object implements ByteBufferMap.KeyProvider<Integer>
Deprecated.useByteBufferIntObjectMap
instead
-
-
Field Summary
Fields Modifier and Type Field Description static IntegerKeyProvider
INSTANCE
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(DataInput in, Integer key)
Deprecated.Should move the buffer pointer to the key end.Integer
get(DataInput in)
Deprecated.int
hashCode(Integer key)
Deprecated.int
length(Integer key)
Deprecated.void
write(DataOutput out, Integer key)
Deprecated.
-
-
-
Field Detail
-
INSTANCE
public static final IntegerKeyProvider INSTANCE
Deprecated.
-
-
Method Detail
-
hashCode
public int hashCode(Integer key)
Deprecated.- Specified by:
hashCode
in interfaceByteBufferMap.KeyProvider<Integer>
-
write
public void write(DataOutput out, Integer key) throws IOException
Deprecated.- Specified by:
write
in interfaceByteBufferMap.KeyProvider<Integer>
- Throws:
IOException
-
length
public int length(Integer key)
Deprecated.- Specified by:
length
in interfaceByteBufferMap.KeyProvider<Integer>
-
get
public Integer get(DataInput in) throws IOException
Deprecated.- Specified by:
get
in interfaceByteBufferMap.KeyProvider<Integer>
- Throws:
IOException
-
equals
public boolean equals(DataInput in, Integer key) throws IOException
Deprecated.Description copied from interface:ByteBufferMap.KeyProvider
Should move the buffer pointer to the key end.- Specified by:
equals
in interfaceByteBufferMap.KeyProvider<Integer>
- Throws:
IOException
-
-