krati.core.array.entry
Class EntryValueShortFactory
java.lang.Object
krati.core.array.entry.EntryValueShortFactory
- All Implemented Interfaces:
- EntryValueFactory<EntryValueShort>
public class EntryValueShortFactory
- extends Object
- implements EntryValueFactory<EntryValueShort>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntryValueShortFactory
public EntryValueShortFactory()
newValueArray
public EntryValueShort[] newValueArray(int length)
- Creates an array of EntryValueShort of a specified length.
- Specified by:
newValueArray
in interface EntryValueFactory<EntryValueShort>
- Parameters:
length
- the length of array
- Returns:
- an array of EntryValueShort(s).
newValue
public EntryValueShort newValue()
- Specified by:
newValue
in interface EntryValueFactory<EntryValueShort>
- Returns:
- an empty EntryValueShort.
newValue
public EntryValueShort newValue(DataReader in)
throws IOException
- Specified by:
newValue
in interface EntryValueFactory<EntryValueShort>
- Returns:
- an EntryValueShort read from an input stream.
- Throws:
IOException
reinitValue
public void reinitValue(DataReader in,
EntryValueShort value)
throws IOException
- Read data from stream to populate an EntryValueShort.
- Specified by:
reinitValue
in interface EntryValueFactory<EntryValueShort>
- Parameters:
in
- data reader for EntryValueShort.value
- an EntryValue to populate.
- Throws:
IOException
Copyright © 2011. All Rights Reserved.