Interface _Private_RecyclingStack.ElementFactory<T>

Type Parameters:
T - the type of element.
Enclosing class:
_Private_RecyclingStack<T>

public static interface _Private_RecyclingStack.ElementFactory<T>
Factory for new stack elements.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • newElement

      T newElement()
      Returns:
      a new instance.