Package com.enonic.xp.content
Class ContentPaths
- java.lang.Object
-
- com.enonic.xp.support.AbstractImmutableEntitySet<ContentPath>
-
- com.enonic.xp.content.ContentPaths
-
- All Implemented Interfaces:
Iterable<ContentPath>
@PublicApi public final class ContentPaths extends AbstractImmutableEntitySet<ContentPath>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentPaths.Builder
-
Field Summary
-
Fields inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
set
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentPathsadd(ContentPath... paths)ContentPathsadd(Iterable<?> paths)ContentPathsadd(String... paths)static ContentPaths.Buildercreate()static ContentPathsempty()booleanequals(Object o)static ContentPathsfrom(ContentPath... paths)static ContentPathsfrom(Iterable<ContentPath> paths)static ContentPathsfrom(String... paths)static ContentPathsfrom(Collection<String> contentPaths)inthashCode()ContentPathsremove(ContentPath... paths)ContentPathsremove(Iterable<?> paths)ContentPathsremove(String... paths)StringtoString()-
Methods inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
contains, first, getSet, getSize, isEmpty, isNotEmpty, iterator, stream
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
add
public ContentPaths add(String... paths)
-
add
public ContentPaths add(ContentPath... paths)
-
add
public ContentPaths add(Iterable<?> paths)
-
remove
public ContentPaths remove(String... paths)
-
remove
public ContentPaths remove(ContentPath... paths)
-
remove
public ContentPaths remove(Iterable<?> paths)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractImmutableEntitySet<ContentPath>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractImmutableEntitySet<ContentPath>
-
toString
public String toString()
- Overrides:
toStringin classAbstractImmutableEntitySet<ContentPath>
-
empty
public static ContentPaths empty()
-
from
public static ContentPaths from(String... paths)
-
from
public static ContentPaths from(Collection<String> contentPaths)
-
from
public static ContentPaths from(ContentPath... paths)
-
from
public static ContentPaths from(Iterable<ContentPath> paths)
-
create
public static ContentPaths.Builder create()
-
-