|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface Checksum
µ¥ÀÌÅÍÀÇ Ã¼Å© ¼¶À» ³ªÅ¸³»´Â ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù.
¸Þ¼µå °³¿ä | |
---|---|
long |
getValue ()
üũ ¼¶ÀÇ ÇöÀç°¡¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
void |
reset ()
üũ ¼¶À» ÃʱⰪ¿¡ ¸®¼Â ÇÕ´Ï´Ù. |
void |
update (byte[] b,
int off,
int len)
ÁöÁ¤µÈ ¹ÙÀÌÆ® ¹è¿·Î ÇöÀçÀÇ Ã¼Å© ¼¶À» °»½ÅÇÕ´Ï´Ù. |
void |
update (int b)
ÁöÁ¤µÈ ¹ÙÀÌÆ®·Î ÇöÀçÀÇ Ã¼Å© ¼¶À» °»½ÅÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
void update(int b)
b
- üũ ¼¶ÀÇ °»½Å¿¡ »ç¿ëÇÏ´Â ¹ÙÀÌÆ®void update(byte[] b, int off, int len)
b
- üũ ¼¶ÀÇ °»½Å¿¡ »ç¿ëÇÏ´Â ¹ÙÀÌÆ® ¹è¿off
- µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)len
- °»½Å¿¡ »ç¿ëÇÏ´Â ¹ÙÀÌÆ®¼ölong getValue()
void reset()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.