Class ManagerObjectPool


  • public final class ManagerObjectPool
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int binarySearch​(java.lang.Object[] a, int key)  
      void clean()  
      java.lang.Object use​(java.lang.Class<?> clazz, int capacity)  
      • Methods inherited from class java.lang.Object

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

      • ManagerObjectPool

        public ManagerObjectPool()
    • Method Detail

      • clean

        public void clean()
      • use

        public java.lang.Object use​(java.lang.Class<?> clazz,
                                    int capacity)
      • binarySearch

        public int binarySearch​(java.lang.Object[] a,
                                int key)