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