org.hibernate.internal.util
Class Value<T>
java.lang.Object
org.hibernate.internal.util.Value<T>
public class Value<T>
- extends Object
Represents a "final" value that is initialized either up front
or once at some point
after
declaration.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Value
public Value(Value.DeferredInitializer<T> valueInitializer)
- Instantiates a
Value
with the specified initializer.
- Parameters:
valueInitializer
- The initializer to use in getValue()
when value not yet known.
Value
public Value(T value)
getValue
public T getValue()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.