net.obsearch.index.perm.impl
Class PerByte

java.lang.Object
  extended by net.obsearch.index.perm.impl.PerByte
All Implemented Interfaces:
Comparable<PerByte>

public class PerByte
extends Object
implements Comparable<PerByte>


Constructor Summary
PerByte(byte distance, short id)
           
 
Method Summary
 int compareTo(PerByte o)
           
 boolean equals(Object o)
           
 byte getDistance()
           
 short getId()
           
 int hashCode()
           
 void setDistance(byte distance)
           
 void setId(short id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerByte

public PerByte(byte distance,
               short id)
Method Detail

compareTo

public int compareTo(PerByte o)
Specified by:
compareTo in interface Comparable<PerByte>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getDistance

public byte getDistance()

setDistance

public void setDistance(byte distance)

getId

public short getId()

setId

public void setId(short id)


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.