org.hudsonci.utils.id
Class LongID

java.lang.Object
  extended by org.hudsonci.utils.id.LongID
All Implemented Interfaces:
ID

public class LongID
extends Object
implements ID

Long-based identifier.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
LongID(long value)
           
LongID(Number value)
           
LongID(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongID

public LongID(long value)

LongID

public LongID(Number value)

LongID

public LongID(String value)
Method Detail

getValue

public long getValue()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 Hudson. All Rights Reserved.