@Override public ImmutablePolicyBuilderLabelScoped remove(final PolicyEntry entry) { delegate.remove(entry); return this; }
.remove(ped.getLabel()) .setRevision(lastSequenceNr()) .setModified(ped.getTimestamp().orElse(null))
.remove(ped.getLabel()) .setRevision(lastSequenceNr()) .setModified(ped.getTimestamp().orElse(null))
@Override public ImmutablePolicyBuilderLabelScoped remove(final CharSequence label) { delegate.remove(label); return this; }
/** * Removes the given entry from this builder. * * @param entry the entry to be removed. * @return this builder to allow method chaining. * @throws NullPointerException if {@code entry} is {@code null}. */ default PolicyBuilder remove(final PolicyEntry entry) { return remove(checkNotNull(entry, "entry to be removed").getLabel()); }