Package org.wildfly.security.authz
Class DisjunctionRoles
- java.lang.Object
-
- org.wildfly.security.authz.DisjunctionRoles
-
-
Constructor Summary
Constructors Constructor Description DisjunctionRoles(Roles left, Roles right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(String roleName)
Determine if this collection contains the given role name.boolean
isEmpty()
Determine whether this roles collection is empty.Iterator<String>
iterator()
Spliterator<String>
spliterator()
Create aSpliterator
over this roles collection.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.authz.Roles
addPrefix, addSuffix, and, containsAll, containsAny, minus, or, xor
-
-
-
-
Method Detail
-
contains
public boolean contains(String roleName)
Description copied from interface:Roles
Determine if this collection contains the given role name.
-
isEmpty
public boolean isEmpty()
Description copied from interface:Roles
Determine whether this roles collection is empty.
-
spliterator
public Spliterator<String> spliterator()
Description copied from interface:Roles
Create aSpliterator
over this roles collection.- Specified by:
spliterator
in interfaceIterable<String>
- Specified by:
spliterator
in interfaceRoles
- Returns:
- the spliterator (not
null
)
-
-