Package com.intellij.util.io
Class IntValueProvider
- java.lang.Object
-
- com.intellij.util.io.IntValueProvider
-
- All Implemented Interfaces:
ByteBufferMap.ValueProvider<Integer>
public class IntValueProvider extends Object implements ByteBufferMap.ValueProvider<Integer>
- Author:
- max
-
-
Field Summary
Fields Modifier and Type Field Description static IntValueProvider
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
get(DataInput in)
int
length(Integer value)
void
write(DataOutput out, Integer value)
-
-
-
Field Detail
-
INSTANCE
public static IntValueProvider INSTANCE
-
-
Method Detail
-
write
public void write(DataOutput out, Integer value) throws IOException
- Specified by:
write
in interfaceByteBufferMap.ValueProvider<Integer>
- Throws:
IOException
-
length
public int length(Integer value)
- Specified by:
length
in interfaceByteBufferMap.ValueProvider<Integer>
-
get
public Integer get(DataInput in) throws IOException
- Specified by:
get
in interfaceByteBufferMap.ValueProvider<Integer>
- Throws:
IOException
-
-