org.ujmp.core.interfaces
Interface Wrapper<A>

Type Parameters:
A - The class that is wrapped inside
All Known Implementing Classes:
AbstractMapToSparseMatrixWrapper, AbstractMapToTiledMatrix2DWrapper, CachedMap, CoordinateSetToLongWrapper, DefaultSparseColumnObjectMatrix2D, DefaultSparseRowDoubleMatrix2D, DefaultSparseRowObjectMatrix2D, DefaultTiledObjectMatrix2D, MapToListWrapper, SerializedSparseObjectMatrix, SetToListWrapper

public interface Wrapper<A>

Classes implementing this interface indicate, that they act as a wrapper for another class.


Method Summary
 A getWrappedObject()
          Returns the object that is wrapped inside the wrapper
 void setWrappedObject(A object)
          Sets the object that is wrapped inside the wrapper
 

Method Detail

getWrappedObject

A getWrappedObject()
Returns the object that is wrapped inside the wrapper

Returns:
the inner object

setWrappedObject

void setWrappedObject(A object)
Sets the object that is wrapped inside the wrapper

Parameters:
object - new objects to wrap


Copyright © 2010. All Rights Reserved.