Package jp.gr.java_conf.dangan.util.lha
Interface HashMethod
-
- All Known Implementing Classes:
HashDefault
,HashShort
public interface HashMethod
?n?b?V?????????????????C???^?[?t?F?C?X?B
?R???X?g???N?^???`????HashMethod( byte[] TextBuffer ) ?p?????[?^: TextBuffer - LZSS???k???{???f?[?^?????????o?b?t?@
?????????`?????\???}???B
?????A?????????????????????????HashMethod( byte[] TextBuffer, Object ExtraData1, Object ExtraData2 )
?????????`?????p????B
???N?A?R???X?g???N?^???????`?F?b?N??????????????????????????????s????????B-- revision history -- $Log: HashMethod.java,v $ Revision 1.0 2002/08/05 00:00:00 dangan add to version cotrol [change] requiredSize() ?? hashRequires() ?????O???X?B size() ?? tableSize() ???O???X?B [maintanance] ?\?[?X???? ?^?u?p?~ ???C?Z???X????C??
- Version:
- $Revision: 1.0 $
- Author:
- $Author: dangan $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
hash(int position)
?n?b?V???????B ?R???X?g???N?^???n?????? TextBuffer ???? position ???????f?[?^?p?^???? hash?l?????????Bint
hashRequires()
?n?b?V???????? ?n?b?V???l???????????????g?p?????o?C?g?????????Bint
tableSize()
?}?? HashMethod ???g?????????? HashTable ???T?C?Y???????B
-
-
-
Method Detail
-
hash
int hash(int position)
?n?b?V???????B ?R???X?g???N?^???n?????? TextBuffer ???? position ???????f?[?^?p?^???? hash?l?????????B- Parameters:
position
- ?f?[?^?p?^?????J?n???u- Returns:
- ?n?b?V???l
-
hashRequires
int hashRequires()
?n?b?V???????? ?n?b?V???l???????????????g?p?????o?C?g?????????B- Returns:
- ?n?b?V?????????n?b?V???l?? ?????????????g?p?????o?C?g??
-
tableSize
int tableSize()
?}?? HashMethod ???g?????????? HashTable ???T?C?Y???????B- Returns:
- ?}?? HashMethod ???g?????????? HashTable ???T?C?Y
-
-