Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.vividsolutions.jts.geom
Class DefaultCoordinateSequenceFactory

    java.lang.Object
      com.vividsolutions.jts.geom.DefaultCoordinateSequenceFactory

All Implemented Interfaces:
  CoordinateSequenceFactory, java.io.Serializable

Deprecated. no longer used

public class DefaultCoordinateSequenceFactory
extends java.lang.Object
implements CoordinateSequenceFactory, java.io.Serializable

Creates CoordinateSequences represented as an array of `Coordinate`s.

Version:
  1.7
See Also:
  Serialized Form

Constructor Summary
`DefaultCoordinateSequenceFactory()` Deprecated.

Method Summary
`CoordinateSequence` | `create(Coordinate[] coordinates)` Deprecated. Returns a DefaultCoordinateSequence based on the given array (the array is not copied).
`CoordinateSequence` | `create(CoordinateSequence coordSeq)` Deprecated. Creates a `CoordinateSequence` which is a copy of the given `CoordinateSequence`.
`CoordinateSequence` | `create(int size, int dimension)` Deprecated. Creates a `CoordinateSequence` of the specified size and dimension.
`static DefaultCoordinateSequenceFactory` | `instance()` Deprecated. Returns the singleton instance of DefaultCoordinateSequenceFactory

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultCoordinateSequenceFactory

    public DefaultCoordinateSequenceFactory()

  Deprecated.

Method Detail

### instance

    public static DefaultCoordinateSequenceFactory instance()

  Deprecated.
  Returns the singleton instance of DefaultCoordinateSequenceFactory

### create

    public CoordinateSequence create(Coordinate[] coordinates)

  Deprecated.
  Returns a DefaultCoordinateSequence based on the given array (the array is not copied).

  Specified by:
    `create` in interface `CoordinateSequenceFactory`
  Parameters:
    `coordinates` - the coordinates, which may not be null nor contain null elements

### create

    public CoordinateSequence create(CoordinateSequence coordSeq)

  Deprecated.
  Description copied from interface: `CoordinateSequenceFactory`
  Creates a `CoordinateSequence` which is a copy of the given `CoordinateSequence`. This method must handle null arguments by creating an empty sequence.

  Specified by:
    `create` in interface `CoordinateSequenceFactory`
  Parameters:
    `coordSeq` - the coordinate sequence to copy
  See Also:
    `CoordinateSequenceFactory.create(com.vividsolutions.jts.geom.CoordinateSequence)`

### create

    public CoordinateSequence create(int size,
                                     int dimension)

  Deprecated.
  Description copied from interface: `CoordinateSequenceFactory`
  Creates a `CoordinateSequence` of the specified size and dimension. For this to be useful, the `CoordinateSequence` implementation must be mutable.

  Specified by:
    `create` in interface `CoordinateSequenceFactory`
  Parameters:
    `size` - the number of coordinates in the sequence
    `dimension` - the dimension of the coordinates in the sequence (if user-specifiable, otherwise ignored)
  See Also:
    `CoordinateSequenceFactory.create(int, int)`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD