org.apache.camel.util
Class ValueHolder<V>

java.lang.Object
  extended by org.apache.camel.util.ValueHolder<V>

public class ValueHolder<V>
extends Object

Holder object for a given value.


Constructor Summary
ValueHolder()
          Deprecated. should be immutable, will be removed in Camel 3.0
ValueHolder(V val)
           
 
Method Summary
 boolean equals(Object o)
           
 V get()
           
 int hashCode()
           
 void set(V val)
          Deprecated. should be immutable, will be removed in Camel 3.0
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueHolder

@Deprecated
public ValueHolder()
Deprecated. should be immutable, will be removed in Camel 3.0


ValueHolder

public ValueHolder(V val)
Method Detail

get

public V get()

set

@Deprecated
public void set(V val)
Deprecated. should be immutable, will be removed in Camel 3.0


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Apache CAMEL