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