return fingers;
try {
fingers = ArrayListMultimap.create();
factory.getChunkFingerprints(stream, new ChunkVisitor() {
public void visit(long fingerprint, long chunkStart, long chunkEnd) {
fingers.put(fingerprint, new Interval(chunkStart, chunkEnd));
}
});
} catch (IOException e) {
throw new HandprintException("Error while computing fingerprints", e);
}