public class PathsCollection extends Object implements Iterable<Path>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
PathsCollection.Builder |
| Modifier and Type | Method and Description |
|---|---|
PathsCollection |
add(Path... paths) |
PathsCollection |
addAllFirst(Iterable<Path> i) |
PathsCollection |
addFirst(Path... paths) |
static PathsCollection.Builder |
builder() |
boolean |
contains(Path path) |
static PathsCollection |
from(Iterable<Path> paths) |
Path |
getSinglePath() |
boolean |
isEmpty() |
boolean |
isSinglePath() |
Iterator<Path> |
iterator() |
static PathsCollection |
of(Path... paths) |
Path |
resolveExistingOrNull(String path) |
int |
size() |
Collection<Path> |
toList() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static PathsCollection from(Iterable<Path> paths)
public static PathsCollection of(Path... paths)
public static PathsCollection.Builder builder()
public boolean isEmpty()
public int size()
public boolean isSinglePath()
public Path getSinglePath()
public boolean contains(Path path)
public PathsCollection add(Path... paths)
public PathsCollection addFirst(Path... paths)
public PathsCollection addAllFirst(Iterable<Path> i)
public Collection<Path> toList()
Copyright © 2020 JBoss by Red Hat. All rights reserved.