boolean |
Item.add(V newValue,
@NotNull EquivalenceStrategy strategy) |
Adds a value, overwriting existing one(s).
|
boolean |
Item.addAll(Collection<V> newValues,
@NotNull EquivalenceStrategy strategy) |
Adds given values, with the same semantics as repeated add(..) calls.
|
void |
Item.addRespectingMetadataAndCloning(V value,
@NotNull EquivalenceStrategy strategy,
EquivalenceStrategy metadataEquivalenceStrategy) |
Adds a value, respecting the metadata.
|
default boolean |
Item.contains(V value,
@NotNull EquivalenceStrategy strategy) |
|
static boolean |
ItemCollectionsUtil.contains(Collection<? extends PrismValue> values,
PrismValue valueToMatch,
EquivalenceStrategy strategy) |
|
static <V extends PrismValue> boolean |
PrismValueCollectionsUtil.contains(Collection<V> thisSet,
V otherValue,
EquivalenceStrategy strategy) |
|
static <V extends PrismValue> boolean |
PrismValueCollectionsUtil.containsAll(Collection<V> thisSet,
Collection<V> otherSet,
EquivalenceStrategy strategy) |
|
boolean |
Item.equals(Object obj,
@NotNull EquivalenceStrategy equivalenceStrategy) |
Compares this item to the specified object under given strategy.
|
boolean |
PrismValue.equals(PrismValue otherValue,
@NotNull EquivalenceStrategy strategy) |
|
default V |
Item.findValue(V value,
@NotNull EquivalenceStrategy strategy) |
|
int |
Item.hashCode(@NotNull EquivalenceStrategy equivalenceStrategy) |
Computes hash code to be used under given equivalence strategy.
|
int |
PrismValue.hashCode(@NotNull EquivalenceStrategy equivalenceStrategy) |
|
boolean |
Item.remove(V value,
@NotNull EquivalenceStrategy strategy) |
Removes values equivalent to given value from the item; under specified equivalence strategy
OR when values represent the same value via "representsSameValue(.., lax=false)" method.
|
boolean |
Item.removeAll(Collection<V> values,
@NotNull EquivalenceStrategy strategy) |
Removes all given values from the item.
|
void |
Item.removeRespectingMetadata(V value,
@NotNull EquivalenceStrategy strategy,
EquivalenceStrategy metadataEquivalenceStrategy) |
Removes values equivalent to given value from the item; under specified equivalence strategy
OR when values represent the same value via "representsSameValue(.., lax=false)" method.
|
void |
Item.replaceAll(Collection<V> newValues,
@NotNull EquivalenceStrategy strategy) |
Replaces all values of the item by given values.
|