Package org.wildfly.security.authz
Class DifferenceRoles
- java.lang.Object
-
- org.wildfly.security.authz.DifferenceRoles
-
-
Constructor Summary
Constructors Constructor Description DifferenceRoles(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.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, isEmpty, 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.
-
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
)
-
-