Interface Pool.Poolable

Enclosing class:
Pool<T>

public static interface Pool.Poolable
Objects implementing this interface will have reset() called when passed to Pool.free(Object).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Resets the object for reuse.
  • Method Details

    • reset

      void reset()
      Resets the object for reuse. Object references should be nulled and fields may be set to default values.