Package javax.xml.ws

Class Holder<T>

java.lang.Object
javax.xml.ws.Holder<T>
All Implemented Interfaces:
Serializable

public final class Holder<T> extends Object implements Serializable
Holds a value of type T.
Since:
JAX-WS 2.0
See Also:
  • Field Details

    • value

      public T value
      The value contained in the holder.
  • Constructor Details

    • Holder

      public Holder()
      Creates a new holder with a null value.
    • Holder

      public Holder(T value)
      Create a new holder with the specified value.
      Parameters:
      value - The value to be stored in the holder.