Interface Filter

    • Field Detail

      • ALL

        static final Filter ALL
        Doesn't filter anything.
    • Method Detail

      • intersects

        boolean intersects​(double[] min,
                           double[] max)
        Intersects is used for the tree nodes and should only check for intersection.
        Parameters:
        min - Min bound of rectangle,
        max - Max bound of rectangle,
        Returns:
        True if there could exist a matching element in given range.
      • matches

        default boolean matches​(Index.BoxEntry<?> entry)
        This is used on the actual entries. Anything that matches will be returned.
        Parameters:
        entry - An entry with an existing value()
        Returns:
        True if this entry is part of the result set