public interface HashMethod
HashMethod( byte[] TextBuffer ) パラメータ: TextBuffer - LZSS圧縮を施すデータの入ったバッファのような形式に則ること。
HashMethod( byte[] TextBuffer, Object ExtraData1, Object ExtraData2 )のような形式を用いる。
-- revision history -- $Log: HashMethod.java,v $ Revision 1.0 2002/08/05 00:00:00 dangan add to version cotrol [change] requiredSize() を hashRequires() に名前変更。 size() を tableSize() 名前変更。 [maintanance] ソース整備 タブ廃止 ライセンス文の修正
Modifier and Type | Method and Description |
---|---|
int |
hash(int position)
ハッシュ関数。
コンストラクタで渡された TextBuffer 内の
position からのデータパタンの hash値を生成する。
|
int |
hashRequires()
ハッシュ関数が
ハッシュ値を生成するために使用するバイト数を得る。
|
int |
tableSize()
この HashMethod を使った場合の
HashTable のサイズを得る。
|
int hash(int position)
position
- データパタンの開始位置int hashRequires()
int tableSize()
When you found typographical errors or omissions, Please mail to cqw10305@nifty.com
The company name and product name which are used in this document, it is the trademark or registered trademark of each company generally.
Copyright © 2001-2002 Michel Ishizuka. All Rights Reserved.