MCPcopy Create free account
hub / github.com/cschanck/single-file-java / set

Method set

src/main/java/org/sfj/ChiseledMap.java:548–554  ·  view source on GitHub ↗

Unchecked verson of ioSet() @param key key value @param value value to associate with key @return true if it replaced a value

(K key, V value)

Source from the content-addressed store, hash-verified

546 * @return true if it replaced a value
547 */
548 public boolean set(K key, V value) {
549 try {
550 return ioSet(key, value);
551 } catch (IOException e) {
552 throw new RuntimeIOException(e);
553 }
554 }
555
556 @Override
557 public V put(K key, V value) {

Callers 1

Calls 1

ioSetMethod · 0.95

Tested by 1