⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modulespecbinaryid.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><P><DD><DL></DL></DD></DL><HR><A NAME="getIDFormat()"><!-- --></A><H3>getIDFormat</H3><PRE>public java.lang.String <B>getIDFormat</B>()</PRE><DL><DD>Returns a string identifier which indicates which ID format is  used by this ID instance.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/ID.html#getIDFormat()">getIDFormat</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string identifier which indicates which ID format is  used by this ID instance.</DL></DD></DL><HR><A NAME="getUniqueValue()"><!-- --></A><H3>getUniqueValue</H3><PRE>public java.lang.Object <B>getUniqueValue</B>()</PRE><DL><DD>Returns an object containing the unique value of the ID. This object must  provide implementations of toString() and hashCode() that are canonical  and consistent from run-to-run given the same input values. Beyond  this nothing should be assumed about the nature of this object. For some  implementations the object returned may be <code>this</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/ID.html#getUniqueValue()">getUniqueValue</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Object which can provide canonical representations of the ID.</DL></DD></DL><HR><A NAME="getURL()"><!-- --></A><H3>getURL</H3><PRE>public java.net.URL <B>getURL</B>()</PRE><DL><DD>Returns a URI (URL in Java nomenclature) representation of the ID. <CODE>URLs</CODE> are the prefered way of externalizing and  presenting JXTA IDs. The <A HREF="../../../../../net/jxta/id/IDFactory.html" title="class in net.jxta.id"><CODE>JXTA ID Factory</CODE></A>  can be used to construct ID Objects from URLs containing JXTA IDs.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/ID.html#getURL()">getURL</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>URL Object containing the URI<DT><B>See Also:</B><DD><CODE>URL</CODE>, <A HREF="../../../../../net/jxta/id/IDFactory.html#fromURL(java.net.URL)"><CODE>IDFactory.fromURL( java.net.URL )</CODE></A></DL></DD></DL><HR><A NAME="getBaseClass()"><!-- --></A><H3>getBaseClass</H3><PRE>public <A HREF="../../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A> <B>getBaseClass</B>()</PRE><DL><DD>Return a ModuleClassID of the same base class but with the role portion set to zero. aka "the base class".<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/platform/ModuleSpecID.html#getBaseClass()">getBaseClass</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/platform/ModuleSpecID.html" title="class in net.jxta.platform">ModuleSpecID</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>ModuleClassID the base class.</DL></DD></DL><HR><A NAME="isOfSameBaseClass(net.jxta.platform.ModuleClassID)"><!-- --></A><H3>isOfSameBaseClass</H3><PRE>public boolean <B>isOfSameBaseClass</B>(<A HREF="../../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A>&nbsp;classId)</PRE><DL><DD>Returns true if this ModuleSpecID is of the same base class than the given class. Note: This method is NOT named "isOfClass" because a ModuleClassID may have two portions; one that denotes a class proper, and an optional second one that denotes a "Role". For convenience, we refer the class stripped of its role portion as "the base class" although this is not a totally accurate term. A ModuleSpecID, is of a base class but is not related to any kind of role. So using "isOfClass" could be misleading. Base classes are represented by a class with the role ID set to zero, which happens to be a valid class. This routine may be used for comparison with such a class, of course.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/platform/ModuleSpecID.html#isOfSameBaseClass(net.jxta.platform.ModuleClassID)">isOfSameBaseClass</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/platform/ModuleSpecID.html" title="class in net.jxta.platform">ModuleSpecID</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>classId</CODE> - Module class id to compare with<DT><B>Returns:</B><DD>boolean true if equals</DL></DD></DL><HR><A NAME="isOfSameBaseClass(net.jxta.platform.ModuleSpecID)"><!-- --></A><H3>isOfSameBaseClass</H3><PRE>public boolean <B>isOfSameBaseClass</B>(<A HREF="../../../../../net/jxta/platform/ModuleSpecID.html" title="class in net.jxta.platform">ModuleSpecID</A>&nbsp;specId)</PRE><DL><DD>Returns true if this ModuleSpecID is of the same base class than the the given ModuleSpecID.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/platform/ModuleSpecID.html#isOfSameBaseClass(net.jxta.platform.ModuleSpecID)">isOfSameBaseClass</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/platform/ModuleSpecID.html" title="class in net.jxta.platform">ModuleSpecID</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>specId</CODE> - Module spec id to compare with<DT><B>Returns:</B><DD>boolean true if equals</DL></DD></DL><HR><A NAME="getClassID()"><!-- --></A><H3>getClassID</H3><PRE>public <A HREF="../../../../../net/jxta/impl/id/binaryID/BinaryID.html" title="class in net.jxta.impl.id.binaryID">BinaryID</A> <B>getClassID</B>()</PRE><DL><DD>Getter for property classID.<P><DD><DL><DT><B>Returns:</B><DD>Value of property classID.</DL></DD></DL><HR><A NAME="getBaseClassID()"><!-- --></A><H3>getBaseClassID</H3><PRE>public <A HREF="../../../../../net/jxta/impl/id/binaryID/BinaryID.html" title="class in net.jxta.impl.id.binaryID">BinaryID</A> <B>getBaseClassID</B>()</PRE><DL><DD>Getter for property baseClassID.<P><DD><DL><DT><B>Returns:</B><DD>Value of property baseClassID.</DL></DD></DL><HR><A NAME="getSpecID()"><!-- --></A><H3>getSpecID</H3><PRE>public <A HREF="../../../../../net/jxta/impl/id/binaryID/BinaryID.html" title="class in net.jxta.impl.id.binaryID">BinaryID</A> <B>getSpecID</B>()</PRE><DL><DD>Getter for property specID.<P><DD><DL><DT><B>Returns:</B><DD>Value of property specID.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ModuleSpecBinaryID.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../net/jxta/impl/id/binaryID/ModuleClassBinaryID.html" title="class in net.jxta.impl.id.binaryID"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../net/jxta/impl/id/binaryID/PeerBinaryID.html" title="class in net.jxta.impl.id.binaryID"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ModuleSpecBinaryID.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -