org.whizu.value.ValueBuilder Maven / Gradle / Ivy
package org.whizu.value;
abstract class ValueBuilder, V> extends AbstractValue {
public ValueBuilder(String name) {
super(name);
}
public T set(V value) {
setValue(value);
return getThis();
}
@SuppressWarnings("unchecked")
private T getThis() {
return (T) this;
}
}