@Beta public final class ContentPaths extends AbstractImmutableEntitySet<ContentPath> implements java.lang.Iterable<ContentPath>
Modifier and Type | Class and Description |
---|---|
static class |
ContentPaths.Builder |
set
Modifier and Type | Method and Description |
---|---|
ContentPaths |
add(ContentPath... paths) |
ContentPaths |
add(java.lang.Iterable paths) |
ContentPaths |
add(java.lang.String... paths) |
static ContentPaths.Builder |
create() |
static ContentPaths |
empty() |
boolean |
equals(java.lang.Object o) |
static ContentPaths |
from(java.util.Collection<java.lang.String> contentPaths) |
static ContentPaths |
from(ContentPath... paths) |
static ContentPaths |
from(java.lang.Iterable<ContentPath> paths) |
static ContentPaths |
from(java.lang.String... paths) |
int |
hashCode() |
ContentPaths |
remove(ContentPath... paths) |
ContentPaths |
remove(java.lang.Iterable paths) |
ContentPaths |
remove(java.lang.String... paths) |
java.lang.String |
toString() |
contains, first, getSet, getSize, isEmpty, isNotEmpty, iterator, stream
public ContentPaths add(java.lang.String... paths)
public ContentPaths add(ContentPath... paths)
public ContentPaths add(java.lang.Iterable paths)
public ContentPaths remove(java.lang.String... paths)
public ContentPaths remove(ContentPath... paths)
public ContentPaths remove(java.lang.Iterable paths)
public int hashCode()
hashCode
in class AbstractImmutableEntitySet<ContentPath>
public boolean equals(java.lang.Object o)
equals
in class AbstractImmutableEntitySet<ContentPath>
public java.lang.String toString()
toString
in class AbstractImmutableEntitySet<ContentPath>
public static ContentPaths empty()
public static ContentPaths from(java.lang.String... paths)
public static ContentPaths from(java.util.Collection<java.lang.String> contentPaths)
public static ContentPaths from(ContentPath... paths)
public static ContentPaths from(java.lang.Iterable<ContentPath> paths)
public static ContentPaths.Builder create()