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