RISC JKU

at.jku.risc.stout.urau.util

Interface Poolable

  • All Known Implementing Classes:
    AlignmentList, CoordList, TermAtomList


    public interface Poolable
    This interface defines the two methods which are needed to enable object pooling.
    Author:
    Alexander Baumgartner
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void cleanUp()
      This method is called from the Pool before the object is returned to the pool.
      Poolable newObject()
      This method is called from the Pool if there is no object available to recycle.
    • Method Detail

      • cleanUp

        void cleanUp()
        This method is called from the Pool before the object is returned to the pool.
      • newObject

        Poolable newObject()
        This method is called from the Pool if there is no object available to recycle.