@Override protected Hash get(CrcParameters params, EnumSet<HashSupport> required) { if (!required.contains(HashSupport.STATELESS_INCREMENTAL) && params.equals(CrcParameters.CRC32)) return new JavaCrc32(); if (required.contains(HashSupport.NATIVE)) throw new UnsupportedOperationException(); return getCacheable(params, required); }
@Override protected Hash get(CrcParameters params, EnumSet<HashSupport> required) { if (!required.contains(HashSupport.STATELESS_INCREMENTAL) && params.equals(CrcParameters.CRC32)) return new JavaCrc32(); if (required.contains(HashSupport.NATIVE)) throw new UnsupportedOperationException(); return getCacheable(params, required); }
@Override protected Hash get(CrcParameters params, EnumSet<HashSupport> required) { if (!required.contains(HashSupport.STATELESS_INCREMENTAL) && params.equals(CrcParameters.CRC32)) return new JavaCrc32(); if (required.contains(HashSupport.NATIVE)) throw new UnsupportedOperationException(); return getCacheable(params, required); }