bpiwowar.argparser.holders
Class LongHolder

java.lang.Object
  extended by bpiwowar.argparser.holders.LongHolder
All Implemented Interfaces:
Serializable

public class LongHolder
extends Object
implements Serializable

Wrapper class which ``holds'' a long value, enabling methods to return long values through arguments.

See Also:
Serialized Form

Constructor Summary
LongHolder()
          Constructs a new LongHolder with an initial value of 0.
LongHolder(long l)
          Constructs a new LongHolder with a specific initial value.
 
Method Summary
 long getValue()
           
 void setValue(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongHolder

public LongHolder()
Constructs a new LongHolder with an initial value of 0.


LongHolder

public LongHolder(long l)
Constructs a new LongHolder with a specific initial value.

Parameters:
l - Initial long value.
Method Detail

getValue

public long getValue()

setValue

public void setValue(long value)


Copyright © 2013. All Rights Reserved.