Interface Positions
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractPositions,AreaPositions,LinearPositions,MultiDimensionalPositions,SinglePosition
public interface Positions extends Serializable
The Positions represent the set of coordinates. GeoJson reference: @see http://geojson.org/geojson-spec.html#positions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends Positions>children()Return this position children Positions.Positionsmerge(Positions other)Merge this Position with another one returning a new Position resulting of this merge.intsize()The size of this positions.
-
-
-
Method Detail
-
merge
Positions merge(Positions other)
Merge this Position with another one returning a new Position resulting of this merge.- Parameters:
other- Positions instance.- Returns:
- new Positions instance.
-
children
List<? extends Positions> children()
Return this position children Positions.- Returns:
- Iterable of Positions.
-
size
int size()
The size of this positions. The semantic changes between different implementation of Positions.- Returns:
- int.
-
-