/** * Get a roles collection which consists of the roles in this collection minus the roles in the other collection. * * @param other the other collection (must not be {@code null}) * @return the difference (not {@code null}) */ default Roles minus(Roles other) { Assert.checkNotNullParam("other", other); return isEmpty() ? NONE : other.isEmpty() ? this : new DifferenceRoles(this, other); }
public Spliterator<String> spliterator() { return Spliterators.spliteratorUnknownSize(iterator(), Spliterator.NONNULL | Spliterator.DISTINCT); } }
/** * Get a roles collection which consists of the roles in this collection minus the roles in the other collection. * * @param other the other collection (must not be {@code null}) * @return the difference (not {@code null}) */ default Roles minus(Roles other) { Assert.checkNotNullParam("other", other); return isEmpty() ? NONE : other.isEmpty() ? this : new DifferenceRoles(this, other); }
public Spliterator<String> spliterator() { return Spliterators.spliteratorUnknownSize(iterator(), Spliterator.NONNULL | Spliterator.DISTINCT); } }
/** * Get a roles collection which consists of the roles in this collection minus the roles in the other collection. * * @param other the other collection (must not be {@code null}) * @return the difference (not {@code null}) */ default Roles minus(Roles other) { Assert.checkNotNullParam("other", other); return isEmpty() ? NONE : other.isEmpty() ? this : new DifferenceRoles(this, other); }
public Spliterator<String> spliterator() { return Spliterators.spliteratorUnknownSize(iterator(), Spliterator.NONNULL | Spliterator.DISTINCT); } }
/** * Get a roles collection which consists of the roles in this collection minus the roles in the other collection. * * @param other the other collection (must not be {@code null}) * @return the difference (not {@code null}) */ default Roles minus(Roles other) { Assert.checkNotNullParam("other", other); return isEmpty() ? NONE : other.isEmpty() ? this : new DifferenceRoles(this, other); }
public Spliterator<String> spliterator() { return Spliterators.spliteratorUnknownSize(iterator(), Spliterator.NONNULL | Spliterator.DISTINCT); } }