Class ContentHashOf

java.lang.Object
org.ek9lang.core.ContentHashOf
All Implemented Interfaces:
BiFunction<ClassLoader, List<String>, String>

final class ContentHashOf extends Object implements BiFunction<ClassLoader, List<String>, String>
THE content hash of the classes under some packages as a class loader would serve them: where a class is on several roots, the first root (the one the loader resolves) counts. Names plus, for a jar, the CRC-32 and size its central directory already records (no class is loaded or inflated), and for an exploded class directory the bytes themselves; then the packaged licence texts, so a changed licence or notices text is a changed runtime. The runtime's own hash, once per process, is RuntimeContentHash.