Class CoordinateCountFilter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(Coordinate coord)
      Performs an operation with the provided coord.
      int getCount()
      Returns the result of the filtering.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CoordinateCountFilter

        public CoordinateCountFilter()
    • Method Detail

      • getCount

        public int getCount()
        Returns the result of the filtering.
        Returns:
        the number of points found by this CoordinateCountFilter
      • filter

        public void filter​(Coordinate coord)
        Description copied from interface: CoordinateFilter
        Performs an operation with the provided coord. Note that there is no guarantee that the input coordinate is the actual object stored in the source geometry, so changes to the coordinate object may not be persistent.
        Specified by:
        filter in interface CoordinateFilter
        Parameters:
        coord - a Coordinate to which the filter is applied.