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.useByteBufferIntObjectMapinstead
-
-
Field Summary
Fields Modifier and Type Field Description static IntegerKeyProviderINSTANCEDeprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(DataInput in, Integer key)Deprecated.Should move the buffer pointer to the key end.Integerget(DataInput in)Deprecated.inthashCode(Integer key)Deprecated.intlength(Integer key)Deprecated.voidwrite(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:
hashCodein interfaceByteBufferMap.KeyProvider<Integer>
-
write
public void write(DataOutput out, Integer key) throws IOException
Deprecated.- Specified by:
writein interfaceByteBufferMap.KeyProvider<Integer>- Throws:
IOException
-
length
public int length(Integer key)
Deprecated.- Specified by:
lengthin interfaceByteBufferMap.KeyProvider<Integer>
-
get
public Integer get(DataInput in) throws IOException
Deprecated.- Specified by:
getin interfaceByteBufferMap.KeyProvider<Integer>- Throws:
IOException
-
equals
public boolean equals(DataInput in, Integer key) throws IOException
Deprecated.Description copied from interface:ByteBufferMap.KeyProviderShould move the buffer pointer to the key end.- Specified by:
equalsin interfaceByteBufferMap.KeyProvider<Integer>- Throws:
IOException
-
-