org.glassfish.jersey.internal.util.collection
Interface Ref<T>

Type Parameters:
T - referred value type
All Superinterfaces:
Value<T>

public interface Ref<T>
extends Value<T>

A possibly mutable value reference.

Author:
Paul Sandoz, Marek Potociar (marek.potociar at oracle.com)
See Also:
Refs

Method Summary
 void set(T value)
          Sets a new value to be referenced.
 
Methods inherited from interface org.glassfish.jersey.internal.util.collection.Value
get
 

Method Detail

set

void set(T value)
         throws IllegalStateException
Sets a new value to be referenced.

Parameters:
value - new value to be referenced
Throws:
IllegalStateException - in case it is not possible to set a new reference value


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.