Top Description Fields Constructors Methods
javax.xml.ws

public final Class Holder<T>

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Type Parameters
<T>
Type of the value in the holder.
Imports
java.io.Serializable

Holds a value of type T.
Since
1.6, JAX-WS 2.0

Field Summary

Modifier and TypeField and Description
private static final long
public T
value

The value contained in the holder.

Constructor Summary

AccessConstructor and Description
public
Holder()

Creates a new holder with a null value.

public
Holder(T
The value to be stored in the holder.
value
)

Create a new holder with the specified value.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID
valueback to summary
public T value

The value contained in the holder.

Constructor Detail

Holderback to summary
public Holder()

Creates a new holder with a null value.

Holderback to summary
public Holder(T value)

Create a new holder with the specified value.

Parameters
value:T

The value to be stored in the holder.