| | |
| | | |
| | | boolean containsAll(final LinkedAttribute attribute, final Collection<?> values) { |
| | | // TODO: could optimize if objects is a LinkedAttribute having the |
| | | // same |
| | | // equality matching rule. |
| | | // same equality matching rule. |
| | | for (final Object value : values) { |
| | | if (!contains(attribute, ByteString.valueOf(value))) { |
| | | return false; |
| | |
| | | <T> boolean retainAll(final LinkedAttribute attribute, final Collection<T> values, |
| | | final Collection<? super T> missingValues) { |
| | | // TODO: could optimize if objects is a LinkedAttribute having the |
| | | // same |
| | | // equality matching rule. |
| | | // same equality matching rule. |
| | | if (values.isEmpty()) { |
| | | clear(attribute); |
| | | return true; |
| | |
| | | <T> boolean retainAll(final LinkedAttribute attribute, final Collection<T> values, |
| | | final Collection<? super T> missingValues) { |
| | | // TODO: could optimize if objects is a LinkedAttribute having the |
| | | // same |
| | | // equality matching rule. |
| | | // same equality matching rule. |
| | | if (values.isEmpty()) { |
| | | clear(attribute); |
| | | return true; |