source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/io/file/tfile/Utils.Version.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 22.2 KB
Line 
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:54 UTC 2009 -->
6<TITLE>
7Utils.Version (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">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="Utils.Version (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>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Utils.Version.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.html" title="class in org.apache.hadoop.io.file.tfile"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;NEXT CLASS</FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../../index.html?org/apache/hadoop/io/file/tfile/Utils.Version.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="Utils.Version.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
91org.apache.hadoop.io.file.tfile</FONT>
92<BR>
93Class Utils.Version</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.file.tfile.Utils.Version</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>&lt;<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&gt;</DD>
100</DL>
101<DL>
102<DT><B>Enclosing class:</B><DD><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.html" title="class in org.apache.hadoop.io.file.tfile">Utils</A></DD>
103</DL>
104<HR>
105<DL>
106<DT><PRE>public static final class <B>Utils.Version</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="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&gt;</DL>
107</PRE>
108
109<P>
110A generic Version class. We suggest applications built on top of TFile use
111 this class to maintain version information in their meta blocks.
112 
113 A version number consists of a major version and a minor version. The
114 suggested usage of major and minor version number is to increment major
115 version number when the new storage format is not backward compatible, and
116 increment the minor version otherwise.
117<P>
118
119<P>
120<HR>
121
122<P>
123
124<!-- ======== CONSTRUCTOR SUMMARY ======== -->
125
126<A NAME="constructor_summary"><!-- --></A>
127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130<B>Constructor Summary</B></FONT></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#Utils.Version(java.io.DataInput)">Utils.Version</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>&nbsp;in)</CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct the Version object by reading from the input stream.</TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#Utils.Version(short, short)">Utils.Version</A></B>(short&nbsp;major,
140              short&nbsp;minor)</CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
144</TR>
145</TABLE>
146&nbsp;
147<!-- ========== METHOD SUMMARY =========== -->
148
149<A NAME="method_summary"><!-- --></A>
150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153<B>Method Summary</B></FONT></TH>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>&nbsp;int</CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#compareTo(org.apache.hadoop.io.file.tfile.Utils.Version)">compareTo</A></B>(<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&nbsp;that)</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compare this version with another version.</TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<CODE>&nbsp;boolean</CODE></FONT></TD>
166<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#compatibleWith(org.apache.hadoop.io.file.tfile.Utils.Version)">compatibleWith</A></B>(<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&nbsp;other)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test compatibility.</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173<CODE>&nbsp;boolean</CODE></FONT></TD>
174<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.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>&nbsp;other)</CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181<CODE>&nbsp;int</CODE></FONT></TD>
182<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#getMajor()">getMajor</A></B>()</CODE>
183
184<BR>
185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the major version.</TD>
186</TR>
187<TR BGCOLOR="white" CLASS="TableRowColor">
188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189<CODE>&nbsp;int</CODE></FONT></TD>
190<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#getMinor()">getMinor</A></B>()</CODE>
191
192<BR>
193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the minor version.</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197<CODE>&nbsp;int</CODE></FONT></TD>
198<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#hashCode()">hashCode</A></B>()</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
202</TR>
203<TR BGCOLOR="white" CLASS="TableRowColor">
204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205<CODE>static&nbsp;int</CODE></FONT></TD>
206<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#size()">size</A></B>()</CODE>
207
208<BR>
209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the size of the serialized Version object.</TD>
210</TR>
211<TR BGCOLOR="white" CLASS="TableRowColor">
212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213<CODE>&nbsp;<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>
214<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html#toString()">toString</A></B>()</CODE>
215
216<BR>
217&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a string representation of the version.</TD>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221<CODE>&nbsp;void</CODE></FONT></TD>
222<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.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>&nbsp;out)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the objec to a DataOutput.</TD>
226</TR>
227</TABLE>
228&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
229<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
231<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>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<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>
235</TR>
236</TABLE>
237&nbsp;
238<P>
239
240<!-- ========= CONSTRUCTOR DETAIL ======== -->
241
242<A NAME="constructor_detail"><!-- --></A>
243<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
245<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
246<B>Constructor Detail</B></FONT></TH>
247</TR>
248</TABLE>
249
250<A NAME="Utils.Version(java.io.DataInput)"><!-- --></A><H3>
251Utils.Version</H3>
252<PRE>
253public <B>Utils.Version</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>&nbsp;in)
254              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>
255<DL>
256<DD>Construct the Version object by reading from the input stream.
257<P>
258<DL>
259<DT><B>Parameters:</B><DD><CODE>in</CODE> - input stream
260<DT><B>Throws:</B>
261<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>
262</DL>
263<HR>
264
265<A NAME="Utils.Version(short, short)"><!-- --></A><H3>
266Utils.Version</H3>
267<PRE>
268public <B>Utils.Version</B>(short&nbsp;major,
269                     short&nbsp;minor)</PRE>
270<DL>
271<DD>Constructor.
272<P>
273<DL>
274<DT><B>Parameters:</B><DD><CODE>major</CODE> - major version.<DD><CODE>minor</CODE> - minor version.</DL>
275</DL>
276
277<!-- ============ METHOD DETAIL ========== -->
278
279<A NAME="method_detail"><!-- --></A>
280<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
283<B>Method Detail</B></FONT></TH>
284</TR>
285</TABLE>
286
287<A NAME="write(java.io.DataOutput)"><!-- --></A><H3>
288write</H3>
289<PRE>
290public 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>&nbsp;out)
291           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>
292<DL>
293<DD>Write the objec to a DataOutput. The serialized format of the Version is
294 major version followed by minor version, both as big-endian short
295 integers.
296<P>
297<DD><DL>
298</DL>
299</DD>
300<DD><DL>
301<DT><B>Parameters:</B><DD><CODE>out</CODE> - The DataOutput object.
302<DT><B>Throws:</B>
303<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>
304</DD>
305</DL>
306<HR>
307
308<A NAME="getMajor()"><!-- --></A><H3>
309getMajor</H3>
310<PRE>
311public int <B>getMajor</B>()</PRE>
312<DL>
313<DD>Get the major version.
314<P>
315<DD><DL>
316</DL>
317</DD>
318<DD><DL>
319
320<DT><B>Returns:</B><DD>Major version.</DL>
321</DD>
322</DL>
323<HR>
324
325<A NAME="getMinor()"><!-- --></A><H3>
326getMinor</H3>
327<PRE>
328public int <B>getMinor</B>()</PRE>
329<DL>
330<DD>Get the minor version.
331<P>
332<DD><DL>
333</DL>
334</DD>
335<DD><DL>
336
337<DT><B>Returns:</B><DD>The minor version.</DL>
338</DD>
339</DL>
340<HR>
341
342<A NAME="size()"><!-- --></A><H3>
343size</H3>
344<PRE>
345public static int <B>size</B>()</PRE>
346<DL>
347<DD>Get the size of the serialized Version object.
348<P>
349<DD><DL>
350</DL>
351</DD>
352<DD><DL>
353
354<DT><B>Returns:</B><DD>serialized size of the version object.</DL>
355</DD>
356</DL>
357<HR>
358
359<A NAME="toString()"><!-- --></A><H3>
360toString</H3>
361<PRE>
362public <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>
363<DL>
364<DD>Return a string representation of the version.
365<P>
366<DD><DL>
367<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>
368</DD>
369<DD><DL>
370</DL>
371</DD>
372</DL>
373<HR>
374
375<A NAME="compatibleWith(org.apache.hadoop.io.file.tfile.Utils.Version)"><!-- --></A><H3>
376compatibleWith</H3>
377<PRE>
378public boolean <B>compatibleWith</B>(<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&nbsp;other)</PRE>
379<DL>
380<DD>Test compatibility.
381<P>
382<DD><DL>
383</DL>
384</DD>
385<DD><DL>
386<DT><B>Parameters:</B><DD><CODE>other</CODE> - The Version object to test compatibility with.
387<DT><B>Returns:</B><DD>true if both versions have the same major version number; false
388         otherwise.</DL>
389</DD>
390</DL>
391<HR>
392
393<A NAME="compareTo(org.apache.hadoop.io.file.tfile.Utils.Version)"><!-- --></A><H3>
394compareTo</H3>
395<PRE>
396public int <B>compareTo</B>(<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&nbsp;that)</PRE>
397<DL>
398<DD>Compare this version with another version.
399<P>
400<DD><DL>
401<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>&lt;<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.Version.html" title="class in org.apache.hadoop.io.file.tfile">Utils.Version</A>&gt;</CODE></DL>
402</DD>
403<DD><DL>
404</DL>
405</DD>
406</DL>
407<HR>
408
409<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
410equals</H3>
411<PRE>
412public 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>&nbsp;other)</PRE>
413<DL>
414<DD><DL>
415<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>
416</DD>
417<DD><DL>
418</DL>
419</DD>
420</DL>
421<HR>
422
423<A NAME="hashCode()"><!-- --></A><H3>
424hashCode</H3>
425<PRE>
426public int <B>hashCode</B>()</PRE>
427<DL>
428<DD><DL>
429<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>
430</DD>
431<DD><DL>
432</DL>
433</DD>
434</DL>
435<!-- ========= END OF CLASS DATA ========= -->
436<HR>
437
438
439<!-- ======= START OF BOTTOM NAVBAR ====== -->
440<A NAME="navbar_bottom"><!-- --></A>
441<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
442<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
443<TR>
444<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
445<A NAME="navbar_bottom_firstrow"><!-- --></A>
446<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
447  <TR ALIGN="center" VALIGN="top">
448  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
449  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
450  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
451  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Utils.Version.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
452  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
453  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
454  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
455  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
456  </TR>
457</TABLE>
458</TD>
459<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
460</EM>
461</TD>
462</TR>
463
464<TR>
465<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
466&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/file/tfile/Utils.html" title="class in org.apache.hadoop.io.file.tfile"><B>PREV CLASS</B></A>&nbsp;
467&nbsp;NEXT CLASS</FONT></TD>
468<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
469  <A HREF="../../../../../../index.html?org/apache/hadoop/io/file/tfile/Utils.Version.html" target="_top"><B>FRAMES</B></A>  &nbsp;
470&nbsp;<A HREF="Utils.Version.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
471&nbsp;<SCRIPT type="text/javascript">
472  <!--
473  if(window==top) {
474    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
475  }
476  //-->
477</SCRIPT>
478<NOSCRIPT>
479  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
480</NOSCRIPT>
481
482
483</FONT></TD>
484</TR>
485<TR>
486<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
487  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
488<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
489DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
490</TR>
491</TABLE>
492<A NAME="skip-navbar_bottom"></A>
493<!-- ======== END OF BOTTOM NAVBAR ======= -->
494
495<HR>
496Copyright &copy; 2009 The Apache Software Foundation
497</BODY>
498</HTML>
Note: See TracBrowser for help on using the repository browser.