org.activeio.journal.howl
Class LongRecordLocation

java.lang.Object
  extended by org.activeio.journal.howl.LongRecordLocation
All Implemented Interfaces:
Comparable, RecordLocation

public class LongRecordLocation
extends Object
implements RecordLocation

Provides a RecordLocation implementation for the long based location pointers that HOWL uses.

Version:
$Revision: 1.1 $

Constructor Summary
LongRecordLocation(long l)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 long getLongLocation()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongRecordLocation

public LongRecordLocation(long l)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable
See Also:
Comparable.compareTo(java.lang.Object)

getLongLocation

public long getLongLocation()
Returns:
the original long location provided by HOWL

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object o)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © -2009 The ActiveIO Project. All Rights Reserved.