Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package bpiwowar.argparser.holders;


Wrapper class which ``holds'' a long value, enabling methods to return long values through arguments.
 
 public class LongHolder implements java.io.Serializable {
	private static final long serialVersionUID = -9008916102686318016L;
Value of the long, set and examined by the application as needed.
	private long value;
	/*
	 * (non-Javadoc)
	 * 
	 * @see yrla.argparser.holders.LongHolderInterface#getValue()
	 */
	public long getValue() {
		return ;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see yrla.argparser.holders.LongHolderInterface#setValue(long)
	 */
	public void setValue(long value) {
		this. = value;
	}

Constructs a new LongHolder with an initial value of 0.
	public LongHolder() {
		 = 0;
	}

Constructs a new LongHolder with a specific initial value.

Parameters:
l Initial long value.
	public LongHolder(long l) {
		 = l;
	}
New to GrepCode? Check out our FAQ X