@Beta public final class ContentTypeNames extends AbstractImmutableEntitySet<ContentTypeName>
Modifier and Type | Class and Description |
---|---|
static class |
ContentTypeNames.Builder |
set
Modifier and Type | Method and Description |
---|---|
static ContentTypeNames |
empty() |
static ContentTypeNames |
from(Collection<String> contentTypeNames) |
static ContentTypeNames |
from(ContentTypeName... contentTypeNames) |
static ContentTypeNames |
from(Iterable<ContentTypeName> contentTypeNames) |
static ContentTypeNames |
from(String... contentTypeNames) |
static ContentTypeNames.Builder |
newContentTypeNames() |
contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static ContentTypeNames empty()
public static ContentTypeNames from(String... contentTypeNames)
public static ContentTypeNames from(Collection<String> contentTypeNames)
public static ContentTypeNames from(ContentTypeName... contentTypeNames)
public static ContentTypeNames from(Iterable<ContentTypeName> contentTypeNames)
public static ContentTypeNames.Builder newContentTypeNames()