@Beta public final class Contents extends AbstractImmutableEntitySet<Content>
Modifier and Type | Class and Description |
---|---|
static class |
Contents.Builder |
set
Modifier and Type | Method and Description |
---|---|
static Contents.Builder |
create() |
static Contents |
empty() |
static Contents |
from(Collection<? extends Content> contents) |
static Contents |
from(Content... contents) |
static Contents |
from(Iterable<? extends Content> contents) |
Content |
getContentById(ContentId contentId) |
ContentIds |
getIds() |
ContentPaths |
getPaths() |
String |
toString() |
contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ContentPaths getPaths()
public ContentIds getIds()
public static Contents empty()
public static Contents from(Collection<? extends Content> contents)
public static Contents.Builder create()
public String toString()
toString
in class AbstractImmutableEntitySet<Content>