krati.core.array.entry
Class EntryValueLongFactory

java.lang.Object
  extended by krati.core.array.entry.EntryValueLongFactory
All Implemented Interfaces:
EntryValueFactory<EntryValueLong>

public class EntryValueLongFactory
extends Object
implements EntryValueFactory<EntryValueLong>

EntryValueLongFactory.

Author:
jwu

Constructor Summary
EntryValueLongFactory()
           
 
Method Summary
 EntryValueLong newValue()
           
 EntryValueLong newValue(DataReader in)
           
 EntryValueLong[] newValueArray(int length)
          Creates an array of EntryValueLong of a specified length.
 void reinitValue(DataReader in, EntryValueLong value)
          Read data from stream to populate an EntryValueLong.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryValueLongFactory

public EntryValueLongFactory()
Method Detail

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.