Class FileTreeCollection
- All Implemented Interfaces:
Iterable<File>,Collection<File>
Collection over all children and descendants of given File(s)
- Since:
- 26.1
-
Constructor Summary
ConstructorsConstructorDescriptionFileTreeCollection(File dir) FileTreeCollection(File[] objects) FileTreeCollection(File[] objects, FileFilter filter) FileTreeCollection(File dir, FileFilter filter) FileTreeCollection(Collection<File> objects) FileTreeCollection(Collection<File> objects, FileFilter filter) -
Method Summary
Modifier and TypeMethodDescriptioniterator()static FileTreeCollectionof(Collection<File> objects) intsize()Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, stream, toArray
-
Constructor Details
-
FileTreeCollection
-
FileTreeCollection
-
FileTreeCollection
-
FileTreeCollection
-
FileTreeCollection
-
FileTreeCollection
-
-
Method Details
-
of
-
spliterator
-
iterator
-
size
public int size()- Specified by:
sizein interfaceCollection<File>- Specified by:
sizein classAbstractCollection<File>
-