MCPcopy Create free account
hub / github.com/antlr/codebuff / indexFor

Method indexFor

corpus/java/training/guava/util/concurrent/Striped.java:117–117  ·  view source on GitHub ↗

Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key).

(Object key)

Source from the content-addressed store, hash-verified

115 * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key).
116 */
117 abstract int indexFor(Object key);
118
119 /**
120 * Returns the total number of stripes in this instance.

Callers 1

bulkGetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected