Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package bpiwowar.argparser.holders;


Wrapper class which ``holds'' a String reference, enabling methods to return String references through arguments.
 
 public class StringHolder extends Holder<Stringimplements java.io.Serializable {
 	private static final long serialVersionUID = 1L;

Value of the String reference, set and examined by the application as needed.
	private String value;

Constructs a new StringHolder with an initial value of null.
	public StringHolder() {
		setValue(null);
	}

Constructs a new StringHolder with a specific initial value.

Parameters:
s Initial String reference.
	public StringHolder(String s) {
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see argparser.StringHolderInterface#setValue(java.lang.String)
	 */
	public void setValue(String value) {
		this. = value;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see argparser.StringHolderInterface#getValue()
	 */
	public String getValue() {
		return ;
	}
New to GrepCode? Check out our FAQ X