org.archive.util
Class LongWrapper

java.lang.Object
  extended by org.archive.util.LongWrapper
All Implemented Interfaces:
java.io.Serializable

public class LongWrapper
extends java.lang.Object
implements java.io.Serializable

Wraps a long. Used in place of Long so that when we extract it from a Collection we can modify the long value without creating a new object. This way we don't have to rewrite the Collection to update one of the stored longs.

Author:
Kristinn Sigurdsson
See Also:
Serialized Form

Field Summary
 long longValue
           
 
Constructor Summary
LongWrapper(long initial)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

longValue

public long longValue
Constructor Detail

LongWrapper

public LongWrapper(long initial)


Copyright © 2003-2008 Internet Archive. All Rights Reserved.