tests
Class HFTest.DummyRecord

java.lang.Object
  extended by tests.HFTest.DummyRecord
Enclosing class:
HFTest

 class HFTest.DummyRecord
extends java.lang.Object

Used in fixed-length record test cases.


Field Summary
 float fval
           
 int ival
           
 java.lang.String name
           
 
Constructor Summary
HFTest.DummyRecord()
          Constructs with default values.
HFTest.DummyRecord(byte[] data)
          Constructs from a byte array.
 
Method Summary
 int length()
          Gets the length of the record.
 byte[] toByteArray()
          Gets a byte array representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ival

public int ival

fval

public float fval

name

public java.lang.String name
Constructor Detail

HFTest.DummyRecord

public HFTest.DummyRecord()
Constructs with default values.


HFTest.DummyRecord

public HFTest.DummyRecord(byte[] data)
Constructs from a byte array.

Method Detail

toByteArray

public byte[] toByteArray()
Gets a byte array representation.


length

public int length()
Gets the length of the record.