public final class TimeBasedContexts extends Object
TimeBasedContext values.| Modifier and Type | Method and Description |
|---|---|
static TimeBasedContexts |
all()
Creates
TimeBasedContexts containing all TimeBasedContext values. |
static TimeBasedContexts |
complementOf(TimeBasedContexts other)
Creates
TimeBasedContexts containing all the elements of this type
that are not contained in the specified set. |
EnumSet<TimeBasedContext> |
getSet()
Gets encapsulated
EnumSet containing TimeBasedContext elements. |
static TimeBasedContexts |
of(TimeBasedContext first,
TimeBasedContext... rest)
Creates
TimeBasedContexts container from several TimeBasedContext values. |
public static TimeBasedContexts of(TimeBasedContext first, TimeBasedContext... rest)
TimeBasedContexts container from several TimeBasedContext values.first - an element that the set is to contain initiallyrest - the remaining elements the set is to containTimeBasedContexts container, containing provided elementspublic static TimeBasedContexts all()
TimeBasedContexts containing all TimeBasedContext values.TimeBasedContexts container containing all TimeBasedContext valuespublic static TimeBasedContexts complementOf(TimeBasedContexts other)
TimeBasedContexts containing all the elements of this type
that are not contained in the specified set.other - another TimeBasedContexts from whose complement to initialize this containerTimeBasedContexts.public EnumSet<TimeBasedContext> getSet()
EnumSet containing TimeBasedContext elements.EnumSet containing TimeBasedContext elementsCopyright © 1998–2024 Apryse Group NV. All rights reserved.