MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / contains

Method contains

ij/src/main/java/ij/astro/types/MultiMap.java:80–83  ·  view source on GitHub ↗

Checks if the MultiMap contains the specified value for the given key. @param key the key whose associated values are to be checked @param value the value to look for @return true if the value is associated with the key, false otherwise

(K key, V value)

Source from the content-addressed store, hash-verified

78 * @return {@code true} if the value is associated with the key, {@code false} otherwise
79 */
80 public boolean contains(K key, V value) {
81 List<V> values = map.get(key);
82 return values != null && values.contains(value);
83 }
84
85 /**
86 * Checks if the MultiMap contains the given key.

Callers 15

predicateClassCheckerMethod · 0.45
LogWindowMethod · 0.45
isFileWithinZipMethod · 0.45
skipImageForQualMethod · 0.45
isTessSpocFfiFullMethod · 0.45
stepSizeIdMethod · 0.45
fireActionPerformedMethod · 0.45
makeFitsSaveMethod · 0.45
savePlotMethod · 0.45
savePlotStackMethod · 0.45
stringToPixelsMethod · 0.45

Calls 2

getMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected