Class SimplePool<T>


  • public class SimplePool<T>
    extends java.lang.Object
    Author:
    Loc Ha
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      void put​(T service)  
      • Methods inherited from class java.lang.Object

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

      • SimplePool

        public SimplePool()
      • SimplePool

        public SimplePool​(int size)
    • Method Detail

      • put

        public void put​(T service)
      • get

        public T get()