Interface Recycler.C<T>

    • Method Summary

      Modifier and Type Method Description
      void destroy​(T value)
      Destroy the data.
      T newInstance()
      Create a new empty instance of the given size.
      void recycle​(T value)
      Recycle the data.
    • Method Detail

      • newInstance

        T newInstance()
        Create a new empty instance of the given size.
      • recycle

        void recycle​(T value)
        Recycle the data. This operation is called when the data structure is released.
      • destroy

        void destroy​(T value)
        Destroy the data. This operation allows the data structure to release any internal resources before GC.