Class ExtentTraverser<T extends Extent>

java.lang.Object
com.fastasyncworldedit.core.util.ExtentTraverser<T>

public class ExtentTraverser<T extends Extent> extends Object
  • Constructor Details

    • ExtentTraverser

      public ExtentTraverser(@Nonnull T root)
    • ExtentTraverser

      public ExtentTraverser(@Nonnull T root, ExtentTraverser<T> parent)
  • Method Details

    • getWorldFromExtent

      @Nullable public static World getWorldFromExtent(Extent extent)
      Get the world backing the given extent, if present, else null.
      Since:
      2.12.3
    • exists

      public boolean exists()
    • get

      @Nullable public T get()
    • setNext

      public boolean setNext(T next)
    • last

      public ExtentTraverser<T> last()
    • findAndGet

      @Nullable public <U extends Extent> U findAndGet(Class<U> clazz)
    • find

      public <U extends Extent> ExtentTraverser<U> find(Class<U> clazz)
    • find

      public <U extends Extent> ExtentTraverser<U> find(Object object)
    • previous

      public ExtentTraverser<T> previous()
    • next

      public ExtentTraverser<T> next()