Interface LinearVectorIterator.LinearCoordinate

Enclosing class:
LinearVectorIterator

public static interface LinearVectorIterator.LinearCoordinate
The linear subject
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasNext(org.bukkit.util.Vector current, BaseVectorIterator iterator)
    Check if there is a next element
    void
    next(org.bukkit.util.Vector next)
    Get the next element
    void
    reset(org.bukkit.util.Vector next, BaseVectorIterator iterator)
    Reset the next element
  • Method Details

    • hasNext

      boolean hasNext(org.bukkit.util.Vector current, BaseVectorIterator iterator)
      Check if there is a next element
      Parameters:
      current - the current element
      iterator - the iterator
      Returns:
      true if there is a next element
    • next

      void next(org.bukkit.util.Vector next)
      Get the next element
      Parameters:
      next - the next element
    • reset

      void reset(org.bukkit.util.Vector next, BaseVectorIterator iterator)
      Reset the next element
      Parameters:
      next - the next element
      iterator - the iterator