Class IntersectionRoles

    • Field Detail

      • left

        private final Roles left
      • right

        private final Roles right
    • Constructor Detail

      • IntersectionRoles

        IntersectionRoles​(Roles left,
                          Roles right)
    • Method Detail

      • contains

        public boolean contains​(String roleName)
        Description copied from interface: Roles
        Determine if this collection contains the given role name.
        Specified by:
        contains in interface Roles
        Parameters:
        roleName - the role name
        Returns:
        true if the role is contained in this collection, false otherwise