📄 map.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:21 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface Map</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../swarm/collections/ListShufflerS.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/collections/MapC.html"><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> <A HREF="Map.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.collections</FONT><BR>Interface Map</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../swarm/activity/ConcurrentSchedule.html">ConcurrentSchedule</A>, <A HREF="../../swarm/activity/Schedule.html">Schedule</A></DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/collections/MapImpl.html">MapImpl</A>, <A HREF="../../swarm/activity/ScheduleImpl.html">ScheduleImpl</A></DD></DL><HR><DL><DT>public interface <B>Map</B><DT>extends <A HREF="../../swarm/collections/KeyedCollection.html">KeyedCollection</A>, <A HREF="../../swarm/collections/KeyedCollectionS.html">KeyedCollectionS</A>, <A HREF="../../swarm/collections/CompareFunction.html">CompareFunction</A>, <A HREF="../../swarm/collections/CompareFunctionS.html">CompareFunctionS</A>, <A HREF="../../swarm/defobj/Serialization.html">Serialization</A>, <A HREF="../../swarm/defobj/SerializationS.html">SerializationS</A></DL><P><strong> Collection of associations from key objects to member objects.</strong>.Map is a subtype of KeyedCollection in which the key value associated with each member is independent of the member itself. Whenever a new member is added to the collection, a key value to be associated with the member must be supplied also. A Map defines a mapping from key values to member values. For the Map type, key values are independent of the member values with which they are associated. Map defines two additional options to document information about its key values. Map also defines its own messages to distinguish the key value from member value in any operation which involves both.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></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="../../swarm/collections/Map.html#at$insert(java.lang.Object, java.lang.Object)">at$insert</A></B>(java.lang.Object aKey, java.lang.Object anObject)</CODE><BR> at:insert: inserts an entry into a Map containing the key and member values given as its arguments.</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="../../swarm/collections/Map.html#at$replace(java.lang.Object, java.lang.Object)">at$replace</A></B>(java.lang.Object aKey, java.lang.Object anObject)</CODE><BR> Replaces an existing member value associated with a key value by a new value given as its final argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/collections/MapIndex.html">MapIndex</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/collections/Map.html#mapBegin(swarm.defobj.Zone)">mapBegin</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone)</CODE><BR> Returns a MapIndex, the special index for the Map type</TD></TR></TABLE> <A NAME="methods_inherited_from_class_swarm.collections.KeyedCollection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.collections.<A HREF="../../swarm/collections/KeyedCollection.html">KeyedCollection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/collections/KeyedCollection.html#at(java.lang.Object)">at</A>, <A HREF="../../swarm/collections/KeyedCollection.html#containsKey(java.lang.Object)">containsKey</A>, <A HREF="../../swarm/collections/KeyedCollection.html#createIndex$fromMember(swarm.defobj.Zone, java.lang.Object)">createIndex$fromMember</A>, <A HREF="../../swarm/collections/KeyedCollection.html#removeKey(java.lang.Object)">removeKey</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_swarm.defobj.Serialization"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/Serialization.html">Serialization</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/Serialization.html#hdf5OutDeep(swarm.defobj.HDF5)">hdf5OutDeep</A>, <A HREF="../../swarm/defobj/Serialization.html#hdf5OutShallow(swarm.defobj.HDF5)">hdf5OutShallow</A>, <A HREF="../../swarm/defobj/Serialization.html#lispOutDeep(java.lang.Object)">lispOutDeep</A>, <A HREF="../../swarm/defobj/Serialization.html#lispOutShallow(java.lang.Object)">lispOutShallow</A>, <A HREF="../../swarm/defobj/Serialization.html#lispOutVars$deep(java.lang.Object, boolean)">lispOutVars$deep</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Boolean$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Boolean$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Char$Value(java.lang.Object, java.lang.String, char)">lispSaveStream$Char$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Double$Value(java.lang.Object, java.lang.String, double)">lispSaveStream$Double$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Float$Value(java.lang.Object, java.lang.String, double)">lispSaveStream$Float$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Integer$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Integer$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Long$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Long$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$LongLong$Value(java.lang.Object, java.lang.String, long)">lispSaveStream$LongLong$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Short$Value(java.lang.Object, java.lang.String, short)">lispSaveStream$Short$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Unsigned$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Unsigned$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$UnsignedLong$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$UnsignedLong$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$UnsignedLongLong$Value(java.lang.Object, java.lang.String, long)">lispSaveStream$UnsignedLongLong$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$UnsignedShort$Value(java.lang.Object, java.lang.String, short)">lispSaveStream$UnsignedShort$Value</A>, <A HREF="../../swarm/defobj/Serialization.html#updateArchiver(swarm.defobj.Archiver)">updateArchiver</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_swarm.defobj.SerializationS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/SerializationS.html">SerializationS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/SerializationS.html#hdf5In(swarm.defobj.HDF5)">hdf5In</A>, <A HREF="../../swarm/defobj/SerializationS.html#lispIn(java.lang.Object)">lispIn</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_swarm.collections.Collection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.collections.<A HREF="../../swarm/collections/Collection.html">Collection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/collections/Collection.html#allSameClass()">allSameClass</A>, <A HREF="../../swarm/collections/Collection.html#begin(swarm.defobj.Zone)">begin</A>, <A HREF="../../swarm/collections/Collection.html#beginPermuted(swarm.defobj.Zone)">beginPermuted</A>, <A HREF="../../swarm/collections/Collection.html#contains(java.lang.Object)">contains</A>, <A HREF="../../swarm/collections/Collection.html#copy(swarm.defobj.Zone)">copy</A>, <A HREF="../../swarm/collections/Collection.html#deleteAll()">deleteAll</A>, <A HREF="../../swarm/collections/Collection.html#getCount()">getCount</A>, <A HREF="../../swarm/collections/Collection.html#getReplaceOnly()">getReplaceOnly</A>, <A HREF="../../swarm/collections/Collection.html#remove(java.lang.Object)">remove</A>,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -