net.sourceforge.groboutils.codecoverage.v2.util
Class ChecksumUtil
java.lang.Object
net.sourceforge.groboutils.codecoverage.v2.util.ChecksumUtil
- public class ChecksumUtil
- extends java.lang.Object
A "universal" method to extract a checksum from the various kinds of
data the codecoverage package needs.
This is made such that the equivalent types between the BCEL library and
JDI library return the same CRC.
- Version:
- Feb 3, 2002
- Author:
- Matt Albrecht groboclown@users.sourceforge.net
Constructor Summary |
protected |
ChecksumUtil()
Creates a new finder using the default (system) classpath. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_instance
protected static ChecksumUtil s_instance
StringCollator
protected final java.util.Comparator StringCollator
ChecksumUtil
protected ChecksumUtil()
- Creates a new finder using the default (system) classpath.
getInstance
public static ChecksumUtil getInstance()
checksum
public long checksum(byte[] buff)
createChecksum
protected java.util.zip.Checksum createChecksum()
update
protected void update(java.util.zip.Checksum crc,
byte[] buff)
Copyright © 2001-2003 by The GroboUtils Project