workspace
クラス Adler32

java.lang.Object
  |
  +--workspace.Adler32
すべての実装インタフェース:
Checksum

public class Adler32
extends java.lang.Object
implements Checksum


フィールドの概要
private static int BASE
           
private static int NMAX
           
private  int value
           
 
コンストラクタの概要
Adler32()
           
 
メソッドの概要
 long getValue()
          Returns current checksum value.
 void reset()
          Reset Adler-32 checksum to initial value.
 void update(byte[] b, int off, int len)
          Update current Adler-32 checksum given the specified byte array.
 void update(int b)
          Update current Adler-32 checksum given the specified byte.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

value

private int value

BASE

private static final int BASE
関連項目:
定数フィールド値

NMAX

private static final int NMAX
関連項目:
定数フィールド値
コンストラクタの詳細

Adler32

public Adler32()
メソッドの詳細

update

public void update(int b)
Update current Adler-32 checksum given the specified byte.

定義:
インタフェース Checksum 内の update

update

public void update(byte[] b,
                   int off,
                   int len)
Update current Adler-32 checksum given the specified byte array.

定義:
インタフェース Checksum 内の update

reset

public void reset()
Reset Adler-32 checksum to initial value.

定義:
インタフェース Checksum 内の reset

getValue

public long getValue()
Returns current checksum value.

定義:
インタフェース Checksum 内の getValue