Class TimeBasedContexts
java.lang.Object
com.itextpdf.signatures.validation.v1.context.TimeBasedContexts
Container class, which contains set of single
TimeBasedContext
values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TimeBasedContexts
all()
CreatesTimeBasedContexts
containing allTimeBasedContext
values.static TimeBasedContexts
complementOf
(TimeBasedContexts other) CreatesTimeBasedContexts
containing all the elements of this type that are not contained in the specified set.getSet()
Gets encapsulatedEnumSet
containingTimeBasedContext
elements.static TimeBasedContexts
of
(TimeBasedContext first, TimeBasedContext... rest) CreatesTimeBasedContexts
container from severalTimeBasedContext
values.
-
Method Details
-
of
CreatesTimeBasedContexts
container from severalTimeBasedContext
values.- Parameters:
-
first
- an element that the set is to contain initially -
rest
- the remaining elements the set is to contain - Returns:
-
TimeBasedContexts
container, containing provided elements
-
all
CreatesTimeBasedContexts
containing allTimeBasedContext
values.- Returns:
-
TimeBasedContexts
container containing allTimeBasedContext
values
-
complementOf
CreatesTimeBasedContexts
containing all the elements of this type that are not contained in the specified set.- Parameters:
-
other
- anotherTimeBasedContexts
from whose complement to initialize this container - Returns:
-
the complement of the specified
TimeBasedContexts
.
-
getSet
Gets encapsulatedEnumSet
containingTimeBasedContext
elements.- Returns:
-
encapsulated
EnumSet
containingTimeBasedContext
elements
-