public final class SetOnce<T> extends Object
set(Object)is called more than once,
SetOnce.AlreadySetExceptionis thrown and the operation will fail.
|Modifier and Type||Class and Description|
|Constructor and Description|
A default constructor which does not set the internal object, and allows setting it by calling
Creates a new instance with the internal object set to the given object.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.