MCPcopy Create free account
hub / github.com/cmusphinx/sphinx4 / cache

Method cache

sphinx4-core/src/main/java/edu/cmu/sphinx/util/Cache.java:32–40  ·  view source on GitHub ↗

Puts the given object in the cache if it is not already present. If the object is already cached, than the instance that exists in the cached is returned. Otherwise, it is placed in the cache and null is returned. @param object object to cache @return the cached object or null if the given obje

(T object)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

getArcMethod · 0.80
UnitContextClass · 0.80
getMethod · 0.80
getMethod · 0.80
equalCheckMethod · 0.80

Calls 2

getMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected