Interface Reusable

All Known Implementing Classes:
ByteArray, ByteArrayBuffer, ByteArrayInterface

public interface Reusable
This class is the base for Pool class. As pool is intended for those types of object that should be reused. When an object is returned to the Pool, one reset method must be called so that the instance doesn't keep any old values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reset all the parameter of the instance to the initial value, so that it can be reused without any problem.
  • Method Details

    • reset

      void reset()
      Reset all the parameter of the instance to the initial value, so that it can be reused without any problem.