Constructor and Description |
---|
Sets() |
Modifier and Type | Method and Description |
---|---|
static <V> Set<V> |
filter(Set<V> original,
IItemFilter<V> filter)
Returns a set filtered by the current
IItemFilter |
static <T> Set<T> |
unmodifiableSet(T... elements)
Returns an unmodifiable
Set with the given elements. |
public static <V> Set<V> filter(Set<V> original, IItemFilter<V> filter) throws PortalException
IItemFilter
original
- original setfilter
- filter to be applied on original setPortalException
@SafeVarargs public static <T> Set<T> unmodifiableSet(T... elements)
Set
with the given elements.elements
- the elements to include in the returned set.LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.