Class TreeCollection

java.lang.Object
java.util.AbstractCollection<AlbumObject>
se.datadosen.jalbum.TreeCollection
All Implemented Interfaces:
java.lang.Iterable<AlbumObject>, java.util.Collection<AlbumObject>

public class TreeCollection
extends java.util.AbstractCollection<AlbumObject>
Collection over all children and descendants of given AlbumObject
Since:
14.2 Made public in v22
  • Constructor Summary

    Constructors 
    Constructor Description
    TreeCollection​(java.util.Collection<AlbumObject> objects)  
    TreeCollection​(java.util.Collection<AlbumObject> objects, java.util.EnumSet<IncludeOption> opts)  
    TreeCollection​(AlbumObject folder)  
    TreeCollection​(AlbumObjectImpl folder, java.util.EnumSet<IncludeOption> opts)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Iterator<AlbumObject> iterator()  
    static TreeCollection of​(java.util.Collection<AlbumObject> objects)  
    int size()  
    java.util.Spliterator<AlbumObject> spliterator()  

    Methods inherited from class java.util.AbstractCollection

    add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    equals, hashCode, parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach