bpiwowar.argparser.holders
Class LongHolder
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
getValue
public long getValue()
setValue
public void setValue(long value)
Copyright © 2013. All Rights Reserved.