mirror of
https://github.com/ChronosX88/FreePastry.git
synced 2025-01-16 09:36:27 +00:00
735 lines
24 KiB
HTML
735 lines
24 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<!--NewPage-->
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<!-- Generated by javadoc (build 1.6.0_07) on Fri Mar 13 20:01:31 CET 2009 -->
|
||
|
<TITLE>
|
||
|
ReverseTreeMap (Rice Pastry - API Specifications)
|
||
|
</TITLE>
|
||
|
|
||
|
<META NAME="date" CONTENT="2009-03-13">
|
||
|
|
||
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||
|
|
||
|
<SCRIPT type="text/javascript">
|
||
|
function windowTitle()
|
||
|
{
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="ReverseTreeMap (Rice Pastry - API Specifications)";
|
||
|
}
|
||
|
}
|
||
|
</SCRIPT>
|
||
|
<NOSCRIPT>
|
||
|
</NOSCRIPT>
|
||
|
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||
|
<HR>
|
||
|
|
||
|
|
||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
|
<A NAME="navbar_top"><!-- --></A>
|
||
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||
|
<TR>
|
||
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||
|
<A NAME="navbar_top_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> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReverseTreeMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</TD>
|
||
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||
|
Rice Pastry API</EM>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../rice/p2p/util/RedBlackMap.html" title="class in rice.p2p.util"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../rice/p2p/util/SecurityUtils.html" title="class in rice.p2p.util"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../index.html?rice/p2p/util/ReverseTreeMap.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="ReverseTreeMap.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_top"></A>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
|
||
|
<HR>
|
||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||
|
<H2>
|
||
|
<FONT SIZE="-1">
|
||
|
rice.p2p.util</FONT>
|
||
|
<BR>
|
||
|
Class ReverseTreeMap</H2>
|
||
|
<PRE>
|
||
|
java.lang.Object
|
||
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>rice.p2p.util.ReverseTreeMap</B>
|
||
|
</PRE>
|
||
|
<DL>
|
||
|
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
<DL>
|
||
|
<DT><PRE>public class <B>ReverseTreeMap</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
|
||
|
</PRE>
|
||
|
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>Version:</B></DT>
|
||
|
<DD>$Id: ReverseTreeMap.java 4654 2009-01-08 16:33:07Z jeffh $</DD>
|
||
|
<DT><B>Author:</B></DT>
|
||
|
<DD>Alan Mislove</DD>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#rice.p2p.util.ReverseTreeMap">Serialized Form</A></DL>
|
||
|
<HR>
|
||
|
|
||
|
<P>
|
||
|
<!-- =========== FIELD SUMMARY =========== -->
|
||
|
|
||
|
<A NAME="field_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Field Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#normal">normal</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
The internal normal map</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#nulls">nulls</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
The internal list of keys with null as a mapping</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#reverse">reverse</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
The internal value -> list of keys map</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
|
|
||
|
<A NAME="constructor_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Constructor Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> </CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#ReverseTreeMap()">ReverseTreeMap</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Constructor</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected </CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#ReverseTreeMap(java.util.SortedMap, java.util.SortedMap, java.util.SortedMap)">ReverseTreeMap</A></B>(java.util.SortedMap normal,
|
||
|
java.util.SortedMap reverse,
|
||
|
java.util.SortedMap nulls)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Constructor</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
|
||
|
<A NAME="method_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Method Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> boolean</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#containsKey(java.lang.Object)">containsKey</A></B>(java.lang.Object key)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Returns whether or not we contain the key</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#convert(java.util.SortedMap)">convert</A></B>(java.util.SortedMap map)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Internal method which converts a sortedmap to an iterator</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.lang.Object</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#get(java.lang.Object)">get</A></B>(java.lang.Object key)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Returns the value associated with the given key</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#keyHeadMap(java.lang.Object)">keyHeadMap</A></B>(java.lang.Object value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns a *cloned* head map, or all of the values
|
||
|
up to the specified value</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#keyMap()">keyMap</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns the key map</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.Set</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#keySet()">keySet</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Return the set of keys</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#keySubMap(java.lang.Object, java.lang.Object)">keySubMap</A></B>(java.lang.Object start,
|
||
|
java.lang.Object end)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns a *cloned* sub map, or all of the values
|
||
|
between the specified values</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#keyTailMap(java.lang.Object)">keyTailMap</A></B>(java.lang.Object value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns a *cloned* tail map, or all of the values
|
||
|
after a the specified value</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#put(java.lang.Object, java.lang.Object)">put</A></B>(java.lang.Object key,
|
||
|
java.lang.Object value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which caputures the insert and adds it to the
|
||
|
reverse map</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#remove(java.lang.Object)">remove</A></B>(java.lang.Object key)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Removes any and all mappings with the given key</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#size()">size</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
returns the size</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#valueHeadMap(java.lang.Object)">valueHeadMap</A></B>(java.lang.Object value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns a headset of the values, or all the
|
||
|
keys with values up to the specified value</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#valueNullMap()">valueNullMap</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns all of the keys which have null values</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#valueSubMap(java.lang.Object, java.lang.Object)">valueSubMap</A></B>(java.lang.Object start,
|
||
|
java.lang.Object end)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns a headset of the values, or all the
|
||
|
keys with values up to the specified value</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.util.SortedMap</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/p2p/util/ReverseTreeMap.html#valueTailMap(java.lang.Object)">valueTailMap</A></B>(java.lang.Object value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method which returns a tailset of the values, or all the
|
||
|
keys with values after to the specified value</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<P>
|
||
|
|
||
|
<!-- ============ FIELD DETAIL =========== -->
|
||
|
|
||
|
<A NAME="field_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Field Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="normal"><!-- --></A><H3>
|
||
|
normal</H3>
|
||
|
<PRE>
|
||
|
protected java.util.SortedMap <B>normal</B></PRE>
|
||
|
<DL>
|
||
|
<DD>The internal normal map
|
||
|
<P>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="reverse"><!-- --></A><H3>
|
||
|
reverse</H3>
|
||
|
<PRE>
|
||
|
protected java.util.SortedMap <B>reverse</B></PRE>
|
||
|
<DL>
|
||
|
<DD>The internal value -> list of keys map
|
||
|
<P>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="nulls"><!-- --></A><H3>
|
||
|
nulls</H3>
|
||
|
<PRE>
|
||
|
protected java.util.SortedMap <B>nulls</B></PRE>
|
||
|
<DL>
|
||
|
<DD>The internal list of keys with null as a mapping
|
||
|
<P>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
|
||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
|
||
|
<A NAME="constructor_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Constructor Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="ReverseTreeMap()"><!-- --></A><H3>
|
||
|
ReverseTreeMap</H3>
|
||
|
<PRE>
|
||
|
public <B>ReverseTreeMap</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Constructor
|
||
|
<P>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="ReverseTreeMap(java.util.SortedMap, java.util.SortedMap, java.util.SortedMap)"><!-- --></A><H3>
|
||
|
ReverseTreeMap</H3>
|
||
|
<PRE>
|
||
|
protected <B>ReverseTreeMap</B>(java.util.SortedMap normal,
|
||
|
java.util.SortedMap reverse,
|
||
|
java.util.SortedMap nulls)</PRE>
|
||
|
<DL>
|
||
|
<DD>Constructor
|
||
|
<P>
|
||
|
</DL>
|
||
|
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
|
||
|
<A NAME="method_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Method Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="size()"><!-- --></A><H3>
|
||
|
size</H3>
|
||
|
<PRE>
|
||
|
public int <B>size</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>returns the size
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
|
||
|
<DT><B>Returns:</B><DD>the size</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="containsKey(java.lang.Object)"><!-- --></A><H3>
|
||
|
containsKey</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>containsKey</B>(java.lang.Object key)</PRE>
|
||
|
<DL>
|
||
|
<DD>Returns whether or not we contain the key
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - THe key
|
||
|
<DT><B>Returns:</B><DD>Whether or not we have it</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="get(java.lang.Object)"><!-- --></A><H3>
|
||
|
get</H3>
|
||
|
<PRE>
|
||
|
public java.lang.Object <B>get</B>(java.lang.Object key)</PRE>
|
||
|
<DL>
|
||
|
<DD>Returns the value associated with the given key
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key
|
||
|
<DT><B>Returns:</B><DD>The value</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="keySet()"><!-- --></A><H3>
|
||
|
keySet</H3>
|
||
|
<PRE>
|
||
|
public java.util.Set <B>keySet</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Return the set of keys
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
|
||
|
<DT><B>Returns:</B><DD>The set of keys</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="remove(java.lang.Object)"><!-- --></A><H3>
|
||
|
remove</H3>
|
||
|
<PRE>
|
||
|
public void <B>remove</B>(java.lang.Object key)</PRE>
|
||
|
<DL>
|
||
|
<DD>Removes any and all mappings with the given key
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="put(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
||
|
put</H3>
|
||
|
<PRE>
|
||
|
public void <B>put</B>(java.lang.Object key,
|
||
|
java.lang.Object value)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which caputures the insert and adds it to the
|
||
|
reverse map
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key<DD><CODE>value</CODE> - The value</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="keyMap()"><!-- --></A><H3>
|
||
|
keyMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>keyMap</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns the key map
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="keyHeadMap(java.lang.Object)"><!-- --></A><H3>
|
||
|
keyHeadMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>keyHeadMap</B>(java.lang.Object value)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns a *cloned* head map, or all of the values
|
||
|
up to the specified value
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The start value
|
||
|
<DT><B>Returns:</B><DD>a head map</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="keyTailMap(java.lang.Object)"><!-- --></A><H3>
|
||
|
keyTailMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>keyTailMap</B>(java.lang.Object value)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns a *cloned* tail map, or all of the values
|
||
|
after a the specified value
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The start value
|
||
|
<DT><B>Returns:</B><DD>a head map</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="keySubMap(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
||
|
keySubMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>keySubMap</B>(java.lang.Object start,
|
||
|
java.lang.Object end)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns a *cloned* sub map, or all of the values
|
||
|
between the specified values
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>start</CODE> - The start value<DD><CODE>end</CODE> - The end value
|
||
|
<DT><B>Returns:</B><DD>a head map</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="valueHeadMap(java.lang.Object)"><!-- --></A><H3>
|
||
|
valueHeadMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>valueHeadMap</B>(java.lang.Object value)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns a headset of the values, or all the
|
||
|
keys with values up to the specified value
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The maximal value</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="valueTailMap(java.lang.Object)"><!-- --></A><H3>
|
||
|
valueTailMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>valueTailMap</B>(java.lang.Object value)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns a tailset of the values, or all the
|
||
|
keys with values after to the specified value
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The minimal value</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="valueSubMap(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
||
|
valueSubMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>valueSubMap</B>(java.lang.Object start,
|
||
|
java.lang.Object end)</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns a headset of the values, or all the
|
||
|
keys with values up to the specified value
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The maximal value</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="valueNullMap()"><!-- --></A><H3>
|
||
|
valueNullMap</H3>
|
||
|
<PRE>
|
||
|
public java.util.SortedMap <B>valueNullMap</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Method which returns all of the keys which have null values
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="convert(java.util.SortedMap)"><!-- --></A><H3>
|
||
|
convert</H3>
|
||
|
<PRE>
|
||
|
protected java.util.SortedMap <B>convert</B>(java.util.SortedMap map)</PRE>
|
||
|
<DL>
|
||
|
<DD>Internal method which converts a sortedmap to an iterator
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>map</CODE> - THe map to convert
|
||
|
<DT><B>Returns:</B><DD>The converted map</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=2 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> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReverseTreeMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</TD>
|
||
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||
|
Rice Pastry API</EM>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../rice/p2p/util/RedBlackMap.html" title="class in rice.p2p.util"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../rice/p2p/util/SecurityUtils.html" title="class in rice.p2p.util"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../index.html?rice/p2p/util/ReverseTreeMap.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="ReverseTreeMap.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_bottom"></A>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
|
||
|
<HR>
|
||
|
<i>Copyright © 2001-2005 - Rice Pastry.</i>
|
||
|
</BODY>
|
||
|
</HTML>
|