1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:52 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | MD5Hash (Hadoop 0.20.1 API) |
---|
8 | </TITLE> |
---|
9 | |
---|
10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
11 | |
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
13 | |
---|
14 | <SCRIPT type="text/javascript"> |
---|
15 | function windowTitle() |
---|
16 | { |
---|
17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
18 | parent.document.title="MD5Hash (Hadoop 0.20.1 API)"; |
---|
19 | } |
---|
20 | } |
---|
21 | </SCRIPT> |
---|
22 | <NOSCRIPT> |
---|
23 | </NOSCRIPT> |
---|
24 | |
---|
25 | </HEAD> |
---|
26 | |
---|
27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
28 | <HR> |
---|
29 | |
---|
30 | |
---|
31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
32 | <A NAME="navbar_top"><!-- --></A> |
---|
33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
35 | <TR> |
---|
36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
39 | <TR ALIGN="center" VALIGN="top"> |
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MD5Hash.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../org/apache/hadoop/io/MapWritable.html" title="class in org.apache.hadoop.io"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/io/MD5Hash.Comparator.html" title="class in org.apache.hadoop.io"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/hadoop/io/MD5Hash.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="MD5Hash.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.hadoop.io</FONT> |
---|
92 | <BR> |
---|
93 | Class MD5Hash</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.io.MD5Hash</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A>>, <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="../../../../org/apache/hadoop/io/WritableComparable.html" title="interface in org.apache.hadoop.io">WritableComparable</A><<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A>></DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public class <B>MD5Hash</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/hadoop/io/WritableComparable.html" title="interface in org.apache.hadoop.io">WritableComparable</A><<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A>></DL> |
---|
104 | </PRE> |
---|
105 | |
---|
106 | <P> |
---|
107 | A Writable for MD5 hash values. |
---|
108 | <P> |
---|
109 | |
---|
110 | <P> |
---|
111 | <HR> |
---|
112 | |
---|
113 | <P> |
---|
114 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
115 | |
---|
116 | <A NAME="nested_class_summary"><!-- --></A> |
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
119 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
120 | <B>Nested Class Summary</B></FONT></TH> |
---|
121 | </TR> |
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
124 | <CODE>static class</CODE></FONT></TD> |
---|
125 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.Comparator.html" title="class in org.apache.hadoop.io">MD5Hash.Comparator</A></B></CODE> |
---|
126 | |
---|
127 | <BR> |
---|
128 | A WritableComparator optimized for MD5Hash keys.</TD> |
---|
129 | </TR> |
---|
130 | </TABLE> |
---|
131 | <!-- =========== FIELD SUMMARY =========== --> |
---|
132 | |
---|
133 | <A NAME="field_summary"><!-- --></A> |
---|
134 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
135 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
136 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
137 | <B>Field Summary</B></FONT></TH> |
---|
138 | </TR> |
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
141 | <CODE>static int</CODE></FONT></TD> |
---|
142 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#MD5_LEN">MD5_LEN</A></B></CODE> |
---|
143 | |
---|
144 | <BR> |
---|
145 | </TD> |
---|
146 | </TR> |
---|
147 | </TABLE> |
---|
148 | |
---|
149 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
150 | |
---|
151 | <A NAME="constructor_summary"><!-- --></A> |
---|
152 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
153 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
154 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
155 | <B>Constructor Summary</B></FONT></TH> |
---|
156 | </TR> |
---|
157 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
158 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#MD5Hash()">MD5Hash</A></B>()</CODE> |
---|
159 | |
---|
160 | <BR> |
---|
161 | Constructs an MD5Hash.</TD> |
---|
162 | </TR> |
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
164 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#MD5Hash(byte[])">MD5Hash</A></B>(byte[] digest)</CODE> |
---|
165 | |
---|
166 | <BR> |
---|
167 | Constructs an MD5Hash with a specified value.</TD> |
---|
168 | </TR> |
---|
169 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
170 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#MD5Hash(java.lang.String)">MD5Hash</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hex)</CODE> |
---|
171 | |
---|
172 | <BR> |
---|
173 | Constructs an MD5Hash from a hex string.</TD> |
---|
174 | </TR> |
---|
175 | </TABLE> |
---|
176 | |
---|
177 | <!-- ========== METHOD SUMMARY =========== --> |
---|
178 | |
---|
179 | <A NAME="method_summary"><!-- --></A> |
---|
180 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
181 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
182 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
183 | <B>Method Summary</B></FONT></TH> |
---|
184 | </TR> |
---|
185 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
186 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
187 | <CODE> int</CODE></FONT></TD> |
---|
188 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#compareTo(org.apache.hadoop.io.MD5Hash)">compareTo</A></B>(<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> that)</CODE> |
---|
189 | |
---|
190 | <BR> |
---|
191 | Compares this object with the specified object for order.</TD> |
---|
192 | </TR> |
---|
193 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
195 | <CODE>static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A></CODE></FONT></TD> |
---|
196 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#digest(byte[])">digest</A></B>(byte[] data)</CODE> |
---|
197 | |
---|
198 | <BR> |
---|
199 | Construct a hash value for a byte array.</TD> |
---|
200 | </TR> |
---|
201 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
203 | <CODE>static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A></CODE></FONT></TD> |
---|
204 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#digest(byte[], int, int)">digest</A></B>(byte[] data, |
---|
205 | int start, |
---|
206 | int len)</CODE> |
---|
207 | |
---|
208 | <BR> |
---|
209 | Construct a hash value for a byte array.</TD> |
---|
210 | </TR> |
---|
211 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
213 | <CODE>static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A></CODE></FONT></TD> |
---|
214 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#digest(java.io.InputStream)">digest</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> in)</CODE> |
---|
215 | |
---|
216 | <BR> |
---|
217 | Construct a hash value for the content from the InputStream.</TD> |
---|
218 | </TR> |
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
221 | <CODE>static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A></CODE></FONT></TD> |
---|
222 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#digest(java.lang.String)">digest</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> string)</CODE> |
---|
223 | |
---|
224 | <BR> |
---|
225 | Construct a hash value for a String.</TD> |
---|
226 | </TR> |
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
229 | <CODE>static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A></CODE></FONT></TD> |
---|
230 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#digest(org.apache.hadoop.io.UTF8)">digest</A></B>(<A HREF="../../../../org/apache/hadoop/io/UTF8.html" title="class in org.apache.hadoop.io">UTF8</A> utf8)</CODE> |
---|
231 | |
---|
232 | <BR> |
---|
233 | Construct a hash value for a String.</TD> |
---|
234 | </TR> |
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
237 | <CODE> boolean</CODE></FONT></TD> |
---|
238 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
---|
239 | |
---|
240 | <BR> |
---|
241 | Returns true iff <code>o</code> is an MD5Hash whose digest contains the |
---|
242 | same values.</TD> |
---|
243 | </TR> |
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
245 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
246 | <CODE> byte[]</CODE></FONT></TD> |
---|
247 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#getDigest()">getDigest</A></B>()</CODE> |
---|
248 | |
---|
249 | <BR> |
---|
250 | Returns the digest bytes.</TD> |
---|
251 | </TR> |
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
253 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
254 | <CODE> long</CODE></FONT></TD> |
---|
255 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#halfDigest()">halfDigest</A></B>()</CODE> |
---|
256 | |
---|
257 | <BR> |
---|
258 | Construct a half-sized version of this MD5.</TD> |
---|
259 | </TR> |
---|
260 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
261 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
262 | <CODE> int</CODE></FONT></TD> |
---|
263 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#hashCode()">hashCode</A></B>()</CODE> |
---|
264 | |
---|
265 | <BR> |
---|
266 | Returns a hash code value for this object.</TD> |
---|
267 | </TR> |
---|
268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
270 | <CODE> int</CODE></FONT></TD> |
---|
271 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#quarterDigest()">quarterDigest</A></B>()</CODE> |
---|
272 | |
---|
273 | <BR> |
---|
274 | Return a 32-bit digest of the MD5.</TD> |
---|
275 | </TR> |
---|
276 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
278 | <CODE>static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A></CODE></FONT></TD> |
---|
279 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#read(java.io.DataInput)">read</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
280 | |
---|
281 | <BR> |
---|
282 | Constructs, reads and returns an instance.</TD> |
---|
283 | </TR> |
---|
284 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
286 | <CODE> void</CODE></FONT></TD> |
---|
287 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
288 | |
---|
289 | <BR> |
---|
290 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
291 | </TR> |
---|
292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
294 | <CODE> void</CODE></FONT></TD> |
---|
295 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#set(org.apache.hadoop.io.MD5Hash)">set</A></B>(<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> that)</CODE> |
---|
296 | |
---|
297 | <BR> |
---|
298 | Copy the contents of another instance into this instance.</TD> |
---|
299 | </TR> |
---|
300 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
301 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
302 | <CODE> void</CODE></FONT></TD> |
---|
303 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#setDigest(java.lang.String)">setDigest</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hex)</CODE> |
---|
304 | |
---|
305 | <BR> |
---|
306 | Sets the digest value from a hex string.</TD> |
---|
307 | </TR> |
---|
308 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
309 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
310 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
311 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#toString()">toString</A></B>()</CODE> |
---|
312 | |
---|
313 | <BR> |
---|
314 | Returns a string representation of this object.</TD> |
---|
315 | </TR> |
---|
316 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
318 | <CODE> void</CODE></FONT></TD> |
---|
319 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/io/MD5Hash.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)</CODE> |
---|
320 | |
---|
321 | <BR> |
---|
322 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
323 | </TR> |
---|
324 | </TABLE> |
---|
325 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
326 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
327 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
328 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
329 | </TR> |
---|
330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
331 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
332 | </TR> |
---|
333 | </TABLE> |
---|
334 | |
---|
335 | <P> |
---|
336 | |
---|
337 | <!-- ============ FIELD DETAIL =========== --> |
---|
338 | |
---|
339 | <A NAME="field_detail"><!-- --></A> |
---|
340 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
341 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
342 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
343 | <B>Field Detail</B></FONT></TH> |
---|
344 | </TR> |
---|
345 | </TABLE> |
---|
346 | |
---|
347 | <A NAME="MD5_LEN"><!-- --></A><H3> |
---|
348 | MD5_LEN</H3> |
---|
349 | <PRE> |
---|
350 | public static final int <B>MD5_LEN</B></PRE> |
---|
351 | <DL> |
---|
352 | <DL> |
---|
353 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.io.MD5Hash.MD5_LEN">Constant Field Values</A></DL> |
---|
354 | </DL> |
---|
355 | |
---|
356 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
357 | |
---|
358 | <A NAME="constructor_detail"><!-- --></A> |
---|
359 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
360 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
361 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
362 | <B>Constructor Detail</B></FONT></TH> |
---|
363 | </TR> |
---|
364 | </TABLE> |
---|
365 | |
---|
366 | <A NAME="MD5Hash()"><!-- --></A><H3> |
---|
367 | MD5Hash</H3> |
---|
368 | <PRE> |
---|
369 | public <B>MD5Hash</B>()</PRE> |
---|
370 | <DL> |
---|
371 | <DD>Constructs an MD5Hash. |
---|
372 | <P> |
---|
373 | </DL> |
---|
374 | <HR> |
---|
375 | |
---|
376 | <A NAME="MD5Hash(java.lang.String)"><!-- --></A><H3> |
---|
377 | MD5Hash</H3> |
---|
378 | <PRE> |
---|
379 | public <B>MD5Hash</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hex)</PRE> |
---|
380 | <DL> |
---|
381 | <DD>Constructs an MD5Hash from a hex string. |
---|
382 | <P> |
---|
383 | </DL> |
---|
384 | <HR> |
---|
385 | |
---|
386 | <A NAME="MD5Hash(byte[])"><!-- --></A><H3> |
---|
387 | MD5Hash</H3> |
---|
388 | <PRE> |
---|
389 | public <B>MD5Hash</B>(byte[] digest)</PRE> |
---|
390 | <DL> |
---|
391 | <DD>Constructs an MD5Hash with a specified value. |
---|
392 | <P> |
---|
393 | </DL> |
---|
394 | |
---|
395 | <!-- ============ METHOD DETAIL ========== --> |
---|
396 | |
---|
397 | <A NAME="method_detail"><!-- --></A> |
---|
398 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
399 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
400 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
401 | <B>Method Detail</B></FONT></TH> |
---|
402 | </TR> |
---|
403 | </TABLE> |
---|
404 | |
---|
405 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
406 | readFields</H3> |
---|
407 | <PRE> |
---|
408 | public void <B>readFields</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
409 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
410 | <DL> |
---|
411 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">Writable</A></CODE></B></DD> |
---|
412 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
413 | |
---|
414 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
415 | existing object where possible.</p> |
---|
416 | <P> |
---|
417 | <DD><DL> |
---|
418 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">readFields</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
419 | </DD> |
---|
420 | <DD><DL> |
---|
421 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
422 | <DT><B>Throws:</B> |
---|
423 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
424 | </DD> |
---|
425 | </DL> |
---|
426 | <HR> |
---|
427 | |
---|
428 | <A NAME="read(java.io.DataInput)"><!-- --></A><H3> |
---|
429 | read</H3> |
---|
430 | <PRE> |
---|
431 | public static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> <B>read</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
432 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
433 | <DL> |
---|
434 | <DD>Constructs, reads and returns an instance. |
---|
435 | <P> |
---|
436 | <DD><DL> |
---|
437 | </DL> |
---|
438 | </DD> |
---|
439 | <DD><DL> |
---|
440 | |
---|
441 | <DT><B>Throws:</B> |
---|
442 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
443 | </DD> |
---|
444 | </DL> |
---|
445 | <HR> |
---|
446 | |
---|
447 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
448 | write</H3> |
---|
449 | <PRE> |
---|
450 | public void <B>write</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out) |
---|
451 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
452 | <DL> |
---|
453 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">Writable</A></CODE></B></DD> |
---|
454 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
455 | <P> |
---|
456 | <DD><DL> |
---|
457 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
458 | </DD> |
---|
459 | <DD><DL> |
---|
460 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
461 | <DT><B>Throws:</B> |
---|
462 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
463 | </DD> |
---|
464 | </DL> |
---|
465 | <HR> |
---|
466 | |
---|
467 | <A NAME="set(org.apache.hadoop.io.MD5Hash)"><!-- --></A><H3> |
---|
468 | set</H3> |
---|
469 | <PRE> |
---|
470 | public void <B>set</B>(<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> that)</PRE> |
---|
471 | <DL> |
---|
472 | <DD>Copy the contents of another instance into this instance. |
---|
473 | <P> |
---|
474 | <DD><DL> |
---|
475 | </DL> |
---|
476 | </DD> |
---|
477 | <DD><DL> |
---|
478 | </DL> |
---|
479 | </DD> |
---|
480 | </DL> |
---|
481 | <HR> |
---|
482 | |
---|
483 | <A NAME="getDigest()"><!-- --></A><H3> |
---|
484 | getDigest</H3> |
---|
485 | <PRE> |
---|
486 | public byte[] <B>getDigest</B>()</PRE> |
---|
487 | <DL> |
---|
488 | <DD>Returns the digest bytes. |
---|
489 | <P> |
---|
490 | <DD><DL> |
---|
491 | </DL> |
---|
492 | </DD> |
---|
493 | <DD><DL> |
---|
494 | </DL> |
---|
495 | </DD> |
---|
496 | </DL> |
---|
497 | <HR> |
---|
498 | |
---|
499 | <A NAME="digest(byte[])"><!-- --></A><H3> |
---|
500 | digest</H3> |
---|
501 | <PRE> |
---|
502 | public static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> <B>digest</B>(byte[] data)</PRE> |
---|
503 | <DL> |
---|
504 | <DD>Construct a hash value for a byte array. |
---|
505 | <P> |
---|
506 | <DD><DL> |
---|
507 | </DL> |
---|
508 | </DD> |
---|
509 | <DD><DL> |
---|
510 | </DL> |
---|
511 | </DD> |
---|
512 | </DL> |
---|
513 | <HR> |
---|
514 | |
---|
515 | <A NAME="digest(java.io.InputStream)"><!-- --></A><H3> |
---|
516 | digest</H3> |
---|
517 | <PRE> |
---|
518 | public static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> <B>digest</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> in) |
---|
519 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
520 | <DL> |
---|
521 | <DD>Construct a hash value for the content from the InputStream. |
---|
522 | <P> |
---|
523 | <DD><DL> |
---|
524 | </DL> |
---|
525 | </DD> |
---|
526 | <DD><DL> |
---|
527 | |
---|
528 | <DT><B>Throws:</B> |
---|
529 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
530 | </DD> |
---|
531 | </DL> |
---|
532 | <HR> |
---|
533 | |
---|
534 | <A NAME="digest(byte[], int, int)"><!-- --></A><H3> |
---|
535 | digest</H3> |
---|
536 | <PRE> |
---|
537 | public static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> <B>digest</B>(byte[] data, |
---|
538 | int start, |
---|
539 | int len)</PRE> |
---|
540 | <DL> |
---|
541 | <DD>Construct a hash value for a byte array. |
---|
542 | <P> |
---|
543 | <DD><DL> |
---|
544 | </DL> |
---|
545 | </DD> |
---|
546 | <DD><DL> |
---|
547 | </DL> |
---|
548 | </DD> |
---|
549 | </DL> |
---|
550 | <HR> |
---|
551 | |
---|
552 | <A NAME="digest(java.lang.String)"><!-- --></A><H3> |
---|
553 | digest</H3> |
---|
554 | <PRE> |
---|
555 | public static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> <B>digest</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> string)</PRE> |
---|
556 | <DL> |
---|
557 | <DD>Construct a hash value for a String. |
---|
558 | <P> |
---|
559 | <DD><DL> |
---|
560 | </DL> |
---|
561 | </DD> |
---|
562 | <DD><DL> |
---|
563 | </DL> |
---|
564 | </DD> |
---|
565 | </DL> |
---|
566 | <HR> |
---|
567 | |
---|
568 | <A NAME="digest(org.apache.hadoop.io.UTF8)"><!-- --></A><H3> |
---|
569 | digest</H3> |
---|
570 | <PRE> |
---|
571 | public static <A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> <B>digest</B>(<A HREF="../../../../org/apache/hadoop/io/UTF8.html" title="class in org.apache.hadoop.io">UTF8</A> utf8)</PRE> |
---|
572 | <DL> |
---|
573 | <DD>Construct a hash value for a String. |
---|
574 | <P> |
---|
575 | <DD><DL> |
---|
576 | </DL> |
---|
577 | </DD> |
---|
578 | <DD><DL> |
---|
579 | </DL> |
---|
580 | </DD> |
---|
581 | </DL> |
---|
582 | <HR> |
---|
583 | |
---|
584 | <A NAME="halfDigest()"><!-- --></A><H3> |
---|
585 | halfDigest</H3> |
---|
586 | <PRE> |
---|
587 | public long <B>halfDigest</B>()</PRE> |
---|
588 | <DL> |
---|
589 | <DD>Construct a half-sized version of this MD5. Fits in a long |
---|
590 | <P> |
---|
591 | <DD><DL> |
---|
592 | </DL> |
---|
593 | </DD> |
---|
594 | <DD><DL> |
---|
595 | </DL> |
---|
596 | </DD> |
---|
597 | </DL> |
---|
598 | <HR> |
---|
599 | |
---|
600 | <A NAME="quarterDigest()"><!-- --></A><H3> |
---|
601 | quarterDigest</H3> |
---|
602 | <PRE> |
---|
603 | public int <B>quarterDigest</B>()</PRE> |
---|
604 | <DL> |
---|
605 | <DD>Return a 32-bit digest of the MD5. |
---|
606 | <P> |
---|
607 | <DD><DL> |
---|
608 | </DL> |
---|
609 | </DD> |
---|
610 | <DD><DL> |
---|
611 | |
---|
612 | <DT><B>Returns:</B><DD>the first 4 bytes of the md5</DL> |
---|
613 | </DD> |
---|
614 | </DL> |
---|
615 | <HR> |
---|
616 | |
---|
617 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3> |
---|
618 | equals</H3> |
---|
619 | <PRE> |
---|
620 | public boolean <B>equals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
---|
621 | <DL> |
---|
622 | <DD>Returns true iff <code>o</code> is an MD5Hash whose digest contains the |
---|
623 | same values. |
---|
624 | <P> |
---|
625 | <DD><DL> |
---|
626 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
627 | </DD> |
---|
628 | <DD><DL> |
---|
629 | </DL> |
---|
630 | </DD> |
---|
631 | </DL> |
---|
632 | <HR> |
---|
633 | |
---|
634 | <A NAME="hashCode()"><!-- --></A><H3> |
---|
635 | hashCode</H3> |
---|
636 | <PRE> |
---|
637 | public int <B>hashCode</B>()</PRE> |
---|
638 | <DL> |
---|
639 | <DD>Returns a hash code value for this object. |
---|
640 | Only uses the first 4 bytes, since md5s are evenly distributed. |
---|
641 | <P> |
---|
642 | <DD><DL> |
---|
643 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
644 | </DD> |
---|
645 | <DD><DL> |
---|
646 | </DL> |
---|
647 | </DD> |
---|
648 | </DL> |
---|
649 | <HR> |
---|
650 | |
---|
651 | <A NAME="compareTo(org.apache.hadoop.io.MD5Hash)"><!-- --></A><H3> |
---|
652 | compareTo</H3> |
---|
653 | <PRE> |
---|
654 | public int <B>compareTo</B>(<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A> that)</PRE> |
---|
655 | <DL> |
---|
656 | <DD>Compares this object with the specified object for order. |
---|
657 | <P> |
---|
658 | <DD><DL> |
---|
659 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true#compareTo(T)" title="class or interface in java.lang">compareTo</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../org/apache/hadoop/io/MD5Hash.html" title="class in org.apache.hadoop.io">MD5Hash</A>></CODE></DL> |
---|
660 | </DD> |
---|
661 | <DD><DL> |
---|
662 | </DL> |
---|
663 | </DD> |
---|
664 | </DL> |
---|
665 | <HR> |
---|
666 | |
---|
667 | <A NAME="toString()"><!-- --></A><H3> |
---|
668 | toString</H3> |
---|
669 | <PRE> |
---|
670 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> |
---|
671 | <DL> |
---|
672 | <DD>Returns a string representation of this object. |
---|
673 | <P> |
---|
674 | <DD><DL> |
---|
675 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
676 | </DD> |
---|
677 | <DD><DL> |
---|
678 | </DL> |
---|
679 | </DD> |
---|
680 | </DL> |
---|
681 | <HR> |
---|
682 | |
---|
683 | <A NAME="setDigest(java.lang.String)"><!-- --></A><H3> |
---|
684 | setDigest</H3> |
---|
685 | <PRE> |
---|
686 | public void <B>setDigest</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hex)</PRE> |
---|
687 | <DL> |
---|
688 | <DD>Sets the digest value from a hex string. |
---|
689 | <P> |
---|
690 | <DD><DL> |
---|
691 | </DL> |
---|
692 | </DD> |
---|
693 | <DD><DL> |
---|
694 | </DL> |
---|
695 | </DD> |
---|
696 | </DL> |
---|
697 | <!-- ========= END OF CLASS DATA ========= --> |
---|
698 | <HR> |
---|
699 | |
---|
700 | |
---|
701 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
702 | <A NAME="navbar_bottom"><!-- --></A> |
---|
703 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
704 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
705 | <TR> |
---|
706 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
707 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
708 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
709 | <TR ALIGN="center" VALIGN="top"> |
---|
710 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
711 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
712 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
713 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MD5Hash.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
714 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
715 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
716 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
717 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
718 | </TR> |
---|
719 | </TABLE> |
---|
720 | </TD> |
---|
721 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
722 | </EM> |
---|
723 | </TD> |
---|
724 | </TR> |
---|
725 | |
---|
726 | <TR> |
---|
727 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
728 | <A HREF="../../../../org/apache/hadoop/io/MapWritable.html" title="class in org.apache.hadoop.io"><B>PREV CLASS</B></A> |
---|
729 | <A HREF="../../../../org/apache/hadoop/io/MD5Hash.Comparator.html" title="class in org.apache.hadoop.io"><B>NEXT CLASS</B></A></FONT></TD> |
---|
730 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
731 | <A HREF="../../../../index.html?org/apache/hadoop/io/MD5Hash.html" target="_top"><B>FRAMES</B></A> |
---|
732 | <A HREF="MD5Hash.html" target="_top"><B>NO FRAMES</B></A> |
---|
733 | <SCRIPT type="text/javascript"> |
---|
734 | <!-- |
---|
735 | if(window==top) { |
---|
736 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
737 | } |
---|
738 | //--> |
---|
739 | </SCRIPT> |
---|
740 | <NOSCRIPT> |
---|
741 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
742 | </NOSCRIPT> |
---|
743 | |
---|
744 | |
---|
745 | </FONT></TD> |
---|
746 | </TR> |
---|
747 | <TR> |
---|
748 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
749 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
750 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
751 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
752 | </TR> |
---|
753 | </TABLE> |
---|
754 | <A NAME="skip-navbar_bottom"></A> |
---|
755 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
756 | |
---|
757 | <HR> |
---|
758 | Copyright © 2009 The Apache Software Foundation |
---|
759 | </BODY> |
---|
760 | </HTML> |
---|