Class CollectionMaker

    • Constructor Detail

      • CollectionMaker

        public CollectionMaker()
    • Method Detail

      • emptyIterator

        public static <E> Iterator<E> emptyIterator​(Class<E> over)
        Create an empty iterator over items of a specified type
        Type Parameters:
        E - the class of items (not) delivered by the iterator
        Parameters:
        over - the class of items (not) delivered by the iterator
        Returns:
        an empty iterator