Java™ Platform
Standard Ed. 7
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
T |
value
The value contained in the holder.
|
-
Constructor Summary
Constructors
Constructor and Description |
Holder()
Creates a new holder with a null value.
|
Holder(T value)
Create a new holder with the specified value.
|
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Java™ Platform
Standard Ed. 7
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.