Package 

Class ClearableSynchronizedPool

    • Method Summary

      Modifier and Type Method Description
      synchronized T acquire()
      synchronized boolean release(T obj)
      synchronized void clear()
      • Methods inherited from class androidx.core.util.Pools.Pool

        acquire, release
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClearableSynchronizedPool

        ClearableSynchronizedPool(int maxSize)
    • Method Detail

      • release

         synchronized boolean release(T obj)
      • clear

         synchronized void clear()