org.eobjects.metamodel.util
Class ImmutableRef<E>
java.lang.Object
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
|
Method Summary |
E |
get()
|
static
|
of(E object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutableRef
public ImmutableRef(E object)
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.