Package net.anwiba.commons.lang.object
Class ObjectContainer<T>
- java.lang.Object
-
- net.anwiba.commons.lang.object.ObjectContainer<T>
-
- All Implemented Interfaces:
IObjectContainer<T>,IObjectProvider<T>,IObjectReceiver<T>
public final class ObjectContainer<T> extends java.lang.Object implements IObjectContainer<T>
-
-
Constructor Summary
Constructors Constructor Description ObjectContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()voidset(T object)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.lang.object.IObjectProvider
isEmpty, optional
-
-
-
-
Method Detail
-
set
public void set(T object)
- Specified by:
setin interfaceIObjectReceiver<T>
-
get
public T get()
- Specified by:
getin interfaceIObjectProvider<T>
-
-