亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sortedset.java

?? This is a resource based on j2me embedded,if you dont understand,you can connection with me .
?? JAVA
字號:
/* * @(#)SortedSet.java	1.24 06/10/10 * * Copyright  1990-2008 Sun Microsystems, Inc. All Rights Reserved.   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER   *    * This program is free software; you can redistribute it and/or   * modify it under the terms of the GNU General Public License version   * 2 only, as published by the Free Software Foundation.    *    * This program is distributed in the hope that it will be useful, but   * WITHOUT ANY WARRANTY; without even the implied warranty of   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   * General Public License version 2 for more details (a copy is   * included at /legal/license.txt).    *    * You should have received a copy of the GNU General Public License   * version 2 along with this work; if not, write to the Free Software   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA   * 02110-1301 USA    *    * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa   * Clara, CA 95054 or visit www.sun.com if you need additional   * information or have any questions.  * */package java.util;/** * A set that further guarantees that its iterator will traverse the set in * ascending element order, sorted according to the <i>natural ordering</i> of * its elements (see Comparable), or by a Comparator provided at sorted set * creation time.  Several additional operations are provided to take * advantage of the ordering.  (This interface is the set analogue of * SortedMap.)<p> * * All elements inserted into an sorted set must implement the Comparable * interface (or be accepted by the specified Comparator).  Furthermore, all * such elements must be <i>mutually comparable</i>: <tt>e1.compareTo(e2)</tt> * (or <tt>comparator.compare(e1, e2)</tt>) must not throw a * <tt>ClassCastException</tt> for any elements <tt>e1</tt> and <tt>e2</tt> in * the sorted set.  Attempts to violate this restriction will cause the * offending method or constructor invocation to throw a * <tt>ClassCastException</tt>.<p> * * Note that the ordering maintained by a sorted set (whether or not an * explicit comparator is provided) must be <i>consistent with equals</i> if * the sorted set is to correctly implement the <tt>Set</tt> interface.  (See * the <tt>Comparable</tt> interface or <tt>Comparator</tt> interface for a * precise definition of <i>consistent with equals</i>.)  This is so because * the <tt>Set</tt> interface is defined in terms of the <tt>equals</tt> * operation, but a sorted set performs all element comparisons using its * <tt>compareTo</tt> (or <tt>compare</tt>) method, so two elements that are * deemed equal by this method are, from the standpoint of the sorted set, * equal.  The behavior of a sorted set <i>is</i> well-defined even if its * ordering is inconsistent with equals; it just fails to obey the general * contract of the <tt>Set</tt> interface.<p> * * All general-purpose sorted set implementation classes should provide four * "standard" constructors: 1) A void (no arguments) constructor, which * creates an empty sorted set sorted according to the <i>natural order</i> of * its elements.  2) A constructor with a single argument of type * <tt>Comparator</tt>, which creates an empty sorted set sorted according to * the specified comparator.  3) A constructor with a single argument of type * <tt>Collection</tt>, which creates a new sorted set with the same elements * as its argument, sorted according to the elements' natural ordering.  4) A * constructor with a single argument of type <tt>SortedSet</tt>, which * creates a new sorted set with the same elements and the same ordering as * the input sorted set.  There is no way to enforce this recommendation (as * interfaces cannot contain constructors) but the SDK implementation (the * <tt>TreeSet</tt> class) complies.<p> * * This interface is a member of the  * <a href="{@docRoot}/../guide/collections/index.html"> * Java Collections Framework</a>. * * @author  Josh Bloch * @version 1.15, 02/02/00 * @see Set * @see TreeSet * @see SortedMap * @see Collection * @see Comparable * @see Comparator * @see java.lang.ClassCastException * @since 1.2 */public interface SortedSet extends Set {    /**     * Returns the comparator associated with this sorted set, or     * <tt>null</tt> if it uses its elements' natural ordering.     *     * @return the comparator associated with this sorted set, or     * 	       <tt>null</tt> if it uses its elements' natural ordering.     */    Comparator comparator();    /**     * Returns a view of the portion of this sorted set whose elements range     * from <tt>fromElement</tt>, inclusive, to <tt>toElement</tt>, exclusive.     * (If <tt>fromElement</tt> and <tt>toElement</tt> are equal, the returned     * sorted set is empty.)  The returned sorted set is backed by this sorted     * set, so changes in the returned sorted set are reflected in this sorted     * set, and vice-versa.  The returned sorted set supports all optional set     * operations that this sorted set supports.<p>     *     * The sorted set returned by this method will throw an     * <tt>IllegalArgumentException</tt> if the user attempts to insert a     * element outside the specified range.<p>     *      * Note: this method always returns a <i>half-open range</i> (which     * includes its low endpoint but not its high endpoint).  If you need a     * <i>closed range</i> (which includes both endpoints), and the element     * type allows for calculation of the successor a given value, merely     * request the subrange from <tt>lowEndpoint</tt> to     * <tt>successor(highEndpoint)</tt>.  For example, suppose that <tt>s</tt>     * is a sorted set of strings.  The following idiom obtains a view     * containing all of the strings in <tt>s</tt> from <tt>low</tt> to     * <tt>high</tt>, inclusive: <pre>     * SortedSet sub = s.subSet(low, high+"\0");     * </pre>     *      * A similar technique can be used to generate an <i>open range</i> (which     * contains neither endpoint).  The following idiom obtains a view     * containing all of the Strings in <tt>s</tt> from <tt>low</tt> to     * <tt>high</tt>, exclusive: <pre>     * SortedSet sub = s.subSet(low+"\0", high);     * </pre>     *     * @param fromElement low endpoint (inclusive) of the subSet.     * @param toElement high endpoint (exclusive) of the subSet.     * @return a view of the specified range within this sorted set.     *      * @throws ClassCastException if <tt>fromElement</tt> and     *         <tt>toElement</tt> cannot be compared to one another using this     *         set's comparator (or, if the set has no comparator, using     *         natural ordering).  Implementations may, but are not required     *	       to, throw this exception if <tt>fromElement</tt> or     *         <tt>toElement</tt> cannot be compared to elements currently in     *         the set.     * @throws IllegalArgumentException if <tt>fromElement</tt> is greater than     *         <tt>toElement</tt>; or if this set is itself a subSet, headSet,     *         or tailSet, and <tt>fromElement</tt> or <tt>toElement</tt> are     *         not within the specified range of the subSet, headSet, or     *         tailSet.     * @throws NullPointerException if <tt>fromElement</tt> or     *	       <tt>toElement</tt> is <tt>null</tt> and this sorted set does     *	       not tolerate <tt>null</tt> elements.     */    SortedSet subSet(Object fromElement, Object toElement);    /**     * Returns a view of the portion of this sorted set whose elements are     * strictly less than <tt>toElement</tt>.  The returned sorted set is     * backed by this sorted set, so changes in the returned sorted set are     * reflected in this sorted set, and vice-versa.  The returned sorted set     * supports all optional set operations.<p>     *     * The sorted set returned by this method will throw an     * <tt>IllegalArgumentException</tt> if the user attempts to insert a     * element outside the specified range.<p>     *     * Note: this method always returns a view that does not contain its     * (high) endpoint.  If you need a view that does contain this endpoint,     * and the element type allows for calculation of the successor a given     * value, merely request a headSet bounded by     * <tt>successor(highEndpoint)</tt>.  For example, suppose that <tt>s</tt>     * is a sorted set of strings.  The following idiom obtains a view     * containing all of the strings in <tt>s</tt> that are less than or equal     * to <tt>high</tt>:     * 	    <pre>    SortedSet head = s.headSet(high+"\0");</pre>     *     * @param toElement high endpoint (exclusive) of the headSet.     * @return a view of the specified initial range of this sorted set.     * @throws ClassCastException if <tt>toElement</tt> is not compatible     *         with this set's comparator (or, if the set has no comparator,     *         if <tt>toElement</tt> does not implement <tt>Comparable</tt>).     *         Implementations may, but are not required to, throw this     *	       exception if <tt>toElement</tt> cannot be compared to elements     *         currently in the set.     * @throws NullPointerException if <tt>toElement</tt> is <tt>null</tt> and     *	       this sorted set does not tolerate <tt>null</tt> elements.     * @throws IllegalArgumentException if this set is itself a subSet,     *         headSet, or tailSet, and <tt>toElement</tt> is not within the     *         specified range of the subSet, headSet, or tailSet.     */    SortedSet headSet(Object toElement);    /**     * Returns a view of the portion of this sorted set whose elements are     * greater than or equal to <tt>fromElement</tt>.  The returned sorted set     * is backed by this sorted set, so changes in the returned sorted set are     * reflected in this sorted set, and vice-versa.  The returned sorted set     * supports all optional set operations.<p>     *     * The sorted set returned by this method will throw an     * <tt>IllegalArgumentException</tt> if the user attempts to insert a     * element outside the specified range.<p>     *     * Note: this method always returns a view that contains its (low)     * endpoint.  If you need a view that does not contain this endpoint, and     * the element type allows for calculation of the successor a given value,     * merely request a tailSet bounded by <tt>successor(lowEndpoint)</tt>.     * For example, suppose that <tt>s</tt> is a sorted set of strings.  The     * following idiom obtains a view containing all of the strings in     * <tt>s</tt> that are strictly greater than <tt>low</tt>:     *      * 	    <pre>    SortedSet tail = s.tailSet(low+"\0");</pre>     *     * @param fromElement low endpoint (inclusive) of the tailSet.     * @return a view of the specified final range of this sorted set.     * @throws ClassCastException if <tt>fromElement</tt> is not compatible     *         with this set's comparator (or, if the set has no comparator,     *         if <tt>fromElement</tt> does not implement <tt>Comparable</tt>).     *         Implementations may, but are not required to, throw this     *	       exception if <tt>fromElement</tt> cannot be compared to elements     *         currently in the set.     * @throws NullPointerException if <tt>fromElement</tt> is <tt>null</tt>     *	       and this sorted set does not tolerate <tt>null</tt> elements.     * @throws IllegalArgumentException if this set is itself a subSet,     *         headSet, or tailSet, and <tt>fromElement</tt> is not within the     *         specified range of the subSet, headSet, or tailSet.     */    SortedSet tailSet(Object fromElement);    /**     * Returns the first (lowest) element currently in this sorted set.     *     * @return the first (lowest) element currently in this sorted set.     * @throws    NoSuchElementException sorted set is empty.     */    Object first();    /**     * Returns the last (highest) element currently in this sorted set.     *     * @return the last (highest) element currently in this sorted set.     * @throws    NoSuchElementException sorted set is empty.     */    Object last();}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲av一区二区嗯嗯嗯啊| 99久久精品免费看| 欧美日韩黄视频| 蜜臂av日日欢夜夜爽一区| 久久99热这里只有精品| 床上的激情91.| 91精品午夜视频| 亚洲乱码中文字幕综合| 国模套图日韩精品一区二区| 7777精品伊人久久久大香线蕉经典版下载 | 欧美吞精做爰啪啪高潮| 国产精品看片你懂得| 欧美色手机在线观看| 婷婷久久综合九色国产成人| 欧美精品一区二| 激情偷乱视频一区二区三区| 欧美女孩性生活视频| 久久久国产综合精品女国产盗摄| 欧美日本在线看| 最新成人av在线| 风间由美中文字幕在线看视频国产欧美| 欧美日韩亚洲综合一区二区三区| 中文字幕一区二区三区不卡| 国产.精品.日韩.另类.中文.在线.播放| 日韩一区二区免费高清| 亚洲小说欧美激情另类| 成人一区二区在线观看| 制服丝袜日韩国产| 亚洲香蕉伊在人在线观| 91精品国产福利| 亚洲观看高清完整版在线观看| 色播五月激情综合网| 亚洲精品成人精品456| av成人动漫在线观看| 亚洲天堂福利av| 色婷婷久久久亚洲一区二区三区| 在线播放/欧美激情| 免费人成精品欧美精品| 在线综合视频播放| 久99久精品视频免费观看| 精品三级在线观看| 国产精品99久| 国产精品乱码人人做人人爱 | 亚洲精品成人天堂一二三| 色系网站成人免费| 亚洲影视资源网| 91精品国产91久久久久久一区二区| 人人精品人人爱| 欧美不卡视频一区| 成人午夜激情影院| 亚洲四区在线观看| 欧美日韩精品免费| 精品一区二区三区在线播放视频 | 精品处破学生在线二十三| 国产精品一区二区在线看| 久久精品亚洲乱码伦伦中文| 成人av电影在线| 亚洲一二三区视频在线观看| 91精品国产免费| 成人中文字幕合集| 一区二区三区 在线观看视频| 6080yy午夜一二三区久久| 国产福利一区在线| 亚洲一区二区三区四区不卡| 欧美精品一区二区三区蜜臀| 色先锋资源久久综合| 久久激情五月激情| 亚洲视频免费在线观看| 日韩丝袜情趣美女图片| 不卡免费追剧大全电视剧网站| 日韩中文字幕91| 国产精品久久久久久久久果冻传媒 | 成人夜色视频网站在线观看| 亚洲影视资源网| 日本一区二区免费在线 | 日韩欧美专区在线| 99视频精品在线| 九九九精品视频| 亚洲一区二区三区小说| 久久久99久久| 日韩免费高清av| 精品视频123区在线观看| 懂色av一区二区三区蜜臀 | 26uuu色噜噜精品一区二区| 色八戒一区二区三区| 国产激情一区二区三区四区| 午夜精品久久久久久久久久久| 国产亚洲一区二区三区四区| 欧美一级黄色片| 欧美日韩另类国产亚洲欧美一级| a亚洲天堂av| 国产精品夜夜嗨| 毛片不卡一区二区| 日一区二区三区| 亚洲香蕉伊在人在线观| 亚洲免费看黄网站| 国产精品美女久久久久久2018| 精品88久久久久88久久久| 日韩一级免费一区| 欧美丰满少妇xxxbbb| 在线观看亚洲精品| 久久精品久久综合| 一区二区三区精品视频在线| 一区在线观看视频| 久久久精品一品道一区| 26uuu精品一区二区三区四区在线| 欧美一区二区三区的| 欧美亚洲一区三区| 91国偷自产一区二区使用方法| 色综合天天性综合| eeuss鲁一区二区三区| 成人午夜电影小说| 成人免费视频网站在线观看| 成人av中文字幕| 成人ar影院免费观看视频| 不卡电影一区二区三区| 99久久综合国产精品| 99久久精品费精品国产一区二区| 成av人片一区二区| 色88888久久久久久影院野外 | 亚洲永久精品国产| 亚洲成av人片| 另类小说综合欧美亚洲| 国产一区二区视频在线| 国产成人精品一区二| 97久久精品人人做人人爽| 91国产免费看| 91精品黄色片免费大全| 精品久久久网站| 久久久99久久精品欧美| 中文字幕一区二区三| 亚洲一区二区三区四区不卡| 美女脱光内衣内裤视频久久网站 | 一本色道久久综合亚洲精品按摩| 色婷婷综合久色| 69堂国产成人免费视频| 国产亚洲综合性久久久影院| 国产精品免费久久| 无吗不卡中文字幕| 国产精品一区二区x88av| 成人午夜精品在线| 欧美日韩国产a| 国产日韩一级二级三级| 亚洲一区二区三区美女| 韩国成人在线视频| 91福利视频久久久久| 26uuu亚洲综合色欧美| 亚洲欧美国产高清| 狠狠色伊人亚洲综合成人| 成人短视频下载| 日韩一区二区三区视频| 1000精品久久久久久久久| 日韩高清在线电影| 精品国产电影一区二区 | 欧美军同video69gay| 精品免费一区二区三区| 一区在线播放视频| 青青草伊人久久| 91在线视频网址| 精品国产伦一区二区三区观看体验| 国产精品欧美一区喷水| 日本免费新一区视频| youjizz国产精品| 日韩视频123| 亚洲宅男天堂在线观看无病毒| 国产在线视视频有精品| 8v天堂国产在线一区二区| 国产精品麻豆99久久久久久| 九九精品一区二区| 欧美日韩国产成人在线免费| 亚洲欧美乱综合| 国产乱码精品一区二区三区五月婷| 欧美探花视频资源| 国产精品国产三级国产三级人妇| 久久av老司机精品网站导航| 在线观看av一区二区| 国产精品久久久久一区二区三区 | 国产精品一线二线三线精华| 4438x亚洲最大成人网| 国产精品私房写真福利视频| 久久精品国产一区二区三区免费看| 在线观看欧美精品| 亚洲色大成网站www久久九九| 狠狠色综合色综合网络| 日韩欧美国产1| 日韩福利视频导航| 欧美精品一二三| 亚洲va中文字幕| 欧美日韩三级在线| 亚洲国产成人av网| 91福利在线看| 亚洲一级在线观看| 欧美色图片你懂的| 亚洲国产综合在线| 欧美视频一区二区在线观看| 亚洲美女一区二区三区| 色综合久久久久| 一区二区三区国产豹纹内裤在线| 99精品久久99久久久久| 亚洲免费观看高清完整|