Modifier and Type | Method and Description |
---|---|
static KeyFilter |
intersection(KeyFilter... keyFilters)
Create a
KeyFilter that represents the intersection of the given instances. |
static boolean |
isEmpty(KeyFilter keyFilter)
Determine if the given instance is empty, i.e., contains no keys.
|
static KeyFilter |
union(KeyFilter... keyFilters)
Create a
KeyFilter that represents the union of the given instances. |
public static KeyFilter union(KeyFilter... keyFilters)
KeyFilter
that represents the union of the given instances.keyFilters
- instances to unifykeyFilters
IllegalArgumentException
- if keyFilters
is emptyIllegalArgumentException
- if keyFilters
or any element in keyFilters
is nullpublic static KeyFilter intersection(KeyFilter... keyFilters)
KeyFilter
that represents the intersection of the given instances.keyFilters
- instances to intersectkeyFilters
IllegalArgumentException
- if keyFilters
is emptyIllegalArgumentException
- if keyFilters
or any element in keyFilters
is nullpublic static boolean isEmpty(KeyFilter keyFilter)
keyFilter
- instance to checkIllegalArgumentException
- if keyFilter
is nullCopyright © 2022. All rights reserved.