org.robokind.api.common.utils
Class RKSource.SourceImpl<T>
java.lang.Object
org.robokind.api.common.utils.RKSource.SourceImpl<T>
- Type Parameters:
T
- object class
- All Implemented Interfaces:
- org.jflux.api.core.Source<T>, RKSource<T>
- Enclosing interface:
- RKSource<T>
public static class RKSource.SourceImpl<T>
- extends Object
- implements RKSource<T>
Generic Source implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RKSource.SourceImpl
public RKSource.SourceImpl()
- Creates a new SourceImpl with a null value.
RKSource.SourceImpl
public RKSource.SourceImpl(T t)
- Creates a new SourceImpl with the given value.
- Parameters:
t
- value to set
getValue
public T getValue()
- Specified by:
getValue
in interface org.jflux.api.core.Source<T>
set
public void set(T t)
- Description copied from interface:
RKSource
- Set the object value.
- Specified by:
set
in interface RKSource<T>
- Parameters:
t
- the value to set
Copyright © 2011-2013. All Rights Reserved.