org.eobjects.metamodel.util
Class ImmutableRef<E>

java.lang.Object
  extended by org.eobjects.metamodel.util.ImmutableRef<E>
Type Parameters:
E -
All Implemented Interfaces:
Ref<E>

public final class ImmutableRef<E>
extends Object
implements Ref<E>

Simple/hard implementation of the Ref interface.

Author:
Kasper Sørensen

Constructor Summary
ImmutableRef(E object)
           
 
Method Summary
 E get()
           
static
<E> Ref<E>
of(E object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableRef

public ImmutableRef(E object)
Method Detail

get

public E get()
Specified by:
get in interface Ref<E>

of

public static <E> Ref<E> of(E object)


Copyright © 2007-2013. All Rights Reserved.