aQute.lib.hierarchy.FolderNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
The newest version!
package aQute.lib.hierarchy;
import java.util.Optional;
import java.util.stream.Stream;
public interface FolderNode extends NamedNode, Iterable {
NamedNode[] children();
default Stream names() {
return stream().map(NamedNode::name);
}
default Stream stream() {
return Stream.of(children());
}
int size();
Optional get(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy