Class ObjectPool.Holder

java.lang.Object
net.minestom.server.utils.ObjectPool.Holder
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ObjectPool<T>

public final class ObjectPool.Holder extends Object implements AutoCloseable
  • Method Details

    • get

      @NotNull public T get()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable