org.robokind.api.common.utils
Interface Source<T>

Type Parameters:
T - type of object to get and set
All Known Implementing Classes:
Source.SourceImpl

public interface Source<T>

Defines a class which can get and set an object of the specified type.

Author:
Matthew Stevenson

Nested Class Summary
static class Source.SourceImpl<T>
          Generic Source implementation.
 
Method Summary
 T get()
          Returns the object.
 void set(T t)
          Set the object value.
 

Method Detail

get

T get()
Returns the object.

Returns:
the object

set

void set(T t)
Set the object value.

Parameters:
t - the value to set


Copyright © 2011. All Rights Reserved.