com.taco.util
Class CollectionToMatrixMapper

java.lang.Object
  extended by com.taco.util.CollectionToMatrixMapper
All Implemented Interfaces:
IObjectMapper

public class CollectionToMatrixMapper
extends java.lang.Object
implements IObjectMapper

A converter from collections of collections to Object matrices.


Field Summary
static CollectionToMatrixMapper instance
          The singleton instance of this class.
 
Method Summary
 java.lang.Object map(java.lang.Object obj)
          Return the result of converting obj (which must be a collection of collections) into an Object matrix using ArrayUtilities.toMatrix().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final CollectionToMatrixMapper instance
The singleton instance of this class.

Method Detail

map

public java.lang.Object map(java.lang.Object obj)
Return the result of converting obj (which must be a collection of collections) into an Object matrix using ArrayUtilities.toMatrix().

Specified by:
map in interface IObjectMapper