org.geotools.geometry.iso.io
Class CollectionFactoryMemoryImpl

java.lang.Object
  extended by org.geotools.geometry.iso.io.CollectionFactoryMemoryImpl
All Implemented Interfaces:
CollectionFactory

public class CollectionFactoryMemoryImpl
extends java.lang.Object
implements CollectionFactory

This implementation of the CollectionFactory generates collections holded in the system memory. Hence, the lists are not backed by any type of persistence.

Author:
Sanjay Jena and Prof. Dr. Jackson Roehrig

Constructor Summary
CollectionFactoryMemoryImpl()
           
 
Method Summary
 java.util.List<TriangleImpl> createTriangleList()
          Creates a list of Triangles
 java.util.List<CurveImpl> getCurveList()
          Creates a list of Curves
 java.util.List<CurveSegmentImpl> getCurveSegmentList()
          Creates a list of CurveSegments
 java.util.List<PositionImpl> getPositionList()
          Creates a list of Positions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionFactoryMemoryImpl

public CollectionFactoryMemoryImpl()
Method Detail

getCurveList

public java.util.List<CurveImpl> getCurveList()
Description copied from interface: CollectionFactory
Creates a list of Curves

Specified by:
getCurveList in interface CollectionFactory
Returns:
List

getCurveSegmentList

public java.util.List<CurveSegmentImpl> getCurveSegmentList()
Description copied from interface: CollectionFactory
Creates a list of CurveSegments

Specified by:
getCurveSegmentList in interface CollectionFactory
Returns:
List

getPositionList

public java.util.List<PositionImpl> getPositionList()
Description copied from interface: CollectionFactory
Creates a list of Positions

Specified by:
getPositionList in interface CollectionFactory
Returns:
List

createTriangleList

public java.util.List<TriangleImpl> createTriangleList()
Description copied from interface: CollectionFactory
Creates a list of Triangles

Specified by:
createTriangleList in interface CollectionFactory
Returns:
List


Copyright © 1996-2010 Geotools. All Rights Reserved.