Class CollectionUtilities.Buffer<E>

  • Enclosing class:
    CollectionUtilities

    private static final class CollectionUtilities.Buffer<E>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int count  
      (package private) java.lang.Class<E> elementType  
      (package private) E[] items  
    • Constructor Summary

      Constructors 
      Constructor Description
      Buffer​(java.lang.Class<E> elementType, java.util.Iterator<? extends E> source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) E[] toArray()  
      • Methods inherited from class java.lang.Object

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

      • elementType

        final java.lang.Class<E> elementType
      • items

        E[] items
      • count

        int count
    • Constructor Detail

      • Buffer

        Buffer​(java.lang.Class<E> elementType,
               java.util.Iterator<? extends E> source)
    • Method Detail

      • toArray

        E[] toArray()