Class ReflectionRecipes.ListBackedImmutableQueue<T>

  • Enclosing class:
    ReflectionRecipes

    private static class ReflectionRecipes.ListBackedImmutableQueue<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<T> backingList  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) T poll()  
      • Methods inherited from class java.lang.Object

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

      • backingList

        private final java.util.List<T> backingList
    • Constructor Detail

      • ListBackedImmutableQueue

        ListBackedImmutableQueue​(T[] elements)
    • Method Detail

      • poll

        T poll()