org.specrunner.context.core
Class Model

java.lang.Object
  extended by org.specrunner.context.core.Model

public final class Model
extends Object

Utility for models.

Author:
Thiago Santos.

Method Summary
static
<T> IModel<T>
of(T source)
          Returns a model for any object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static <T> IModel<T> of(T source)
Returns a model for any object.

Type Parameters:
T - The object type.
Parameters:
source - The object.
Returns:
A model with the give object.


Copyright © 2014. All rights reserved.