Package 

Class Pools.SynchronizedPool

    • Constructor Summary

      Constructors 
      Constructor Description
      Pools.SynchronizedPool(int maxPoolSize) Creates a new instance.
    • Method Summary

      Modifier and Type Method Description
      T acquire()
      boolean release(@NonNull() T element) Release an instance to the pool.
      • Methods inherited from class tds.androidx.core.util.Pools.SimplePool

        release
      • Methods inherited from class java.lang.Object

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

      • Pools.SynchronizedPool

        Pools.SynchronizedPool(int maxPoolSize)
        Creates a new instance.
        Parameters:
        maxPoolSize - The max pool size.