Class SimplePool<T>


  • public class SimplePool<T>
    extends com.badlogic.gdx.utils.Pool<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.badlogic.gdx.utils.Pool

        com.badlogic.gdx.utils.Pool.Poolable
    • Field Summary

      • Fields inherited from class com.badlogic.gdx.utils.Pool

        max, peak
    • Constructor Summary

      Constructors 
      Constructor Description
      SimplePool​(java.lang.Class<T> type)  
      SimplePool​(java.lang.Class<T> type, int initialCapacity)  
      SimplePool​(java.lang.Class<T> type, int initialCapacity, int max)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T newObject()  
      • Methods inherited from class com.badlogic.gdx.utils.Pool

        clear, free, freeAll, getFree, obtain, reset
      • Methods inherited from class java.lang.Object

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

      • SimplePool

        public SimplePool​(java.lang.Class<T> type)
      • SimplePool

        public SimplePool​(java.lang.Class<T> type,
                          int initialCapacity)
      • SimplePool

        public SimplePool​(java.lang.Class<T> type,
                          int initialCapacity,
                          int max)
    • Method Detail

      • newObject

        protected T newObject()
        Specified by:
        newObject in class com.badlogic.gdx.utils.Pool<T>