Class Refs.ImmutableRefImpl<T>
- java.lang.Object
-
- org.glassfish.jersey.internal.util.collection.Refs.ImmutableRefImpl<T>
-
-
Constructor Summary
Constructors Constructor Description ImmutableRefImpl(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
T
get()
Get the stored value.int
hashCode()
void
set(T value)
Set a new value.java.lang.String
toString()
-
-
-
Field Detail
-
reference
private final T reference
-
-
Constructor Detail
-
ImmutableRefImpl
ImmutableRefImpl(T value)
-
-
Method Detail
-
set
public void set(T value) throws java.lang.IllegalStateException
Description copied from interface:Settable
Set a new value.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-