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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? treemap.java

?? 俄羅斯高人Mamaich的Pocket gcc編譯器(運(yùn)行在PocketPC上)的全部源代碼。
?? JAVA
?? 第 1 頁(yè) / 共 4 頁(yè)
字號(hào):
    if (node.right != nil)      {        node = node.right;        while (node.left != nil)          node = node.left;        return node;      }    Node parent = node.parent;    // Exploit fact that nil.right == nil and node is non-nil.    while (node == parent.right)      {        node = parent;        parent = parent.parent;      }    return parent;  }  /**   * Serializes this object to the given stream.   *   * @param s the stream to write to   * @throws IOException if the underlying stream fails   * @serialData the <i>size</i> (int), followed by key (Object) and value   *             (Object) pairs in sorted order   */  private void writeObject(ObjectOutputStream s) throws IOException  {    s.defaultWriteObject();    Node node = firstNode();    s.writeInt(size);    while (node != nil)      {        s.writeObject(node.key);        s.writeObject(node.value);        node = successor(node);      }  }  /**   * Iterate over HashMap's entries. This implementation is parameterized   * to give a sequential view of keys, values, or entries.   *   * @author Eric Blake <ebb9@email.byu.edu>   */  private final class TreeIterator implements Iterator  {    /**     * The type of this Iterator: {@link #KEYS}, {@link #VALUES},     * or {@link #ENTRIES}.     */    private final int type;    /** The number of modifications to the backing Map that we know about. */    private int knownMod = modCount;    /** The last Entry returned by a next() call. */    private Node last;    /** The next entry that should be returned by next(). */    private Node next;    /**     * The last node visible to this iterator. This is used when iterating     * on a SubMap.     */    private final Node max;    /**     * Construct a new TreeIterator with the supplied type.     * @param type {@link #KEYS}, {@link #VALUES}, or {@link #ENTRIES}     */    TreeIterator(int type)    {      // FIXME gcj cannot handle this. Bug java/4695      // this(type, firstNode(), nil);      this.type = type;      this.next = firstNode();      this.max = nil;    }    /**     * Construct a new TreeIterator with the supplied type. Iteration will     * be from "first" (inclusive) to "max" (exclusive).     *     * @param type {@link #KEYS}, {@link #VALUES}, or {@link #ENTRIES}     * @param first where to start iteration, nil for empty iterator     * @param max the cutoff for iteration, nil for all remaining nodes     */    TreeIterator(int type, Node first, Node max)    {      this.type = type;      this.next = first;      this.max = max;    }    /**     * Returns true if the Iterator has more elements.     * @return true if there are more elements     * @throws ConcurrentModificationException if the TreeMap was modified     */    public boolean hasNext()    {      if (knownMod != modCount)        throw new ConcurrentModificationException();      return next != max;    }    /**     * Returns the next element in the Iterator's sequential view.     * @return the next element     * @throws ConcurrentModificationException if the TreeMap was modified     * @throws NoSuchElementException if there is none     */    public Object next()    {      if (knownMod != modCount)        throw new ConcurrentModificationException();      if (next == max)        throw new NoSuchElementException();      last = next;      next = successor(last);      if (type == VALUES)        return last.value;      else if (type == KEYS)        return last.key;      return last;    }    /**     * Removes from the backing TreeMap the last element which was fetched     * with the <code>next()</code> method.     * @throws ConcurrentModificationException if the TreeMap was modified     * @throws IllegalStateException if called when there is no last element     */    public void remove()    {      if (last == null)        throw new IllegalStateException();      if (knownMod != modCount)        throw new ConcurrentModificationException();      removeNode(last);      last = null;      knownMod++;    }  } // class TreeIterator  /**   * Implementation of {@link #subMap(Object, Object)} and other map   * ranges. This class provides a view of a portion of the original backing   * map, and throws {@link IllegalArgumentException} for attempts to   * access beyond that range.   *   * @author Eric Blake <ebb9@email.byu.edu>   */  private final class SubMap extends AbstractMap implements SortedMap  {    /**     * The lower range of this view, inclusive, or nil for unbounded.     * Package visible for use by nested classes.     */    final Object minKey;    /**     * The upper range of this view, exclusive, or nil for unbounded.     * Package visible for use by nested classes.     */    final Object maxKey;    /**     * The cache for {@link #entrySet()}.     */    private Set entries;    /**     * Create a SubMap representing the elements between minKey (inclusive)     * and maxKey (exclusive). If minKey is nil, SubMap has no lower bound     * (headMap). If maxKey is nil, the SubMap has no upper bound (tailMap).     *     * @param minKey the lower bound     * @param maxKey the upper bound     * @throws IllegalArgumentException if minKey &gt; maxKey     */    SubMap(Object minKey, Object maxKey)    {      if (minKey != nil && maxKey != nil && compare(minKey, maxKey) > 0)        throw new IllegalArgumentException("fromKey > toKey");      this.minKey = minKey;      this.maxKey = maxKey;    }    /**     * Check if "key" is in within the range bounds for this SubMap. The     * lower ("from") SubMap range is inclusive, and the upper ("to") bound     * is exclusive. Package visible for use by nested classes.     *     * @param key the key to check     * @return true if the key is in range     */    final boolean keyInRange(Object key)    {      return ((minKey == nil || compare(key, minKey) >= 0)              && (maxKey == nil || compare(key, maxKey) < 0));    }    public void clear()    {      Node next = lowestGreaterThan(minKey, true);      Node max = lowestGreaterThan(maxKey, false);      while (next != max)        {          Node current = next;          next = successor(current);          removeNode(current);        }    }    public Comparator comparator()    {      return comparator;    }    public boolean containsKey(Object key)    {      return keyInRange(key) && TreeMap.this.containsKey(key);    }    public boolean containsValue(Object value)    {      Node node = lowestGreaterThan(minKey, true);      Node max = lowestGreaterThan(maxKey, false);      while (node != max)        {          if (equals(value, node.getValue()))            return true;          node = successor(node);        }      return false;    }    public Set entrySet()    {      if (entries == null)        // Create an AbstractSet with custom implementations of those methods        // that can be overriden easily and efficiently.        entries = new AbstractSet()        {          public int size()          {            return SubMap.this.size();          }          public Iterator iterator()          {            Node first = lowestGreaterThan(minKey, true);            Node max = lowestGreaterThan(maxKey, false);            return new TreeIterator(ENTRIES, first, max);          }          public void clear()          {            SubMap.this.clear();          }          public boolean contains(Object o)          {            if (! (o instanceof Map.Entry))              return false;            Map.Entry me = (Map.Entry) o;            Object key = me.getKey();            if (! keyInRange(key))              return false;            Node n = getNode(key);            return n != nil && AbstractSet.equals(me.getValue(), n.value);          }          public boolean remove(Object o)          {            if (! (o instanceof Map.Entry))              return false;            Map.Entry me = (Map.Entry) o;            Object key = me.getKey();            if (! keyInRange(key))              return false;            Node n = getNode(key);            if (n != nil && AbstractSet.equals(me.getValue(), n.value))              {                removeNode(n);                return true;              }            return false;          }        };      return entries;    }    public Object firstKey()    {      Node node = lowestGreaterThan(minKey, true);      if (node == nil || ! keyInRange(node.key))        throw new NoSuchElementException();      return node.key;    }    public Object get(Object key)    {      if (keyInRange(key))        return TreeMap.this.get(key);      return null;    }    public SortedMap headMap(Object toKey)    {      if (! keyInRange(toKey))        throw new IllegalArgumentException("key outside range");      return new SubMap(minKey, toKey);    }    public Set keySet()    {      if (this.keys == null)        // Create an AbstractSet with custom implementations of those methods        // that can be overriden easily and efficiently.        this.keys = new AbstractSet()        {          public int size()          {            return SubMap.this.size();          }          public Iterator iterator()          {            Node first = lowestGreaterThan(minKey, true);            Node max = lowestGreaterThan(maxKey, false);            return new TreeIterator(KEYS, first, max);          }          public void clear()          {            SubMap.this.clear();          }          public boolean contains(Object o)          {            if (! keyInRange(o))              return false;            return getNode(o) != nil;          }          public boolean remove(Object o)          {            if (! keyInRange(o))              return false;            Node n = getNode(o);            if (n != nil)              {                removeNode(n);                return true;              }            return false;          }        };      return this.keys;    }    public Object lastKey()    {      Node node = highestLessThan(maxKey);      if (node == nil || ! keyInRange(node.key))        throw new NoSuchElementException();      return node.key;    }    public Object put(Object key, Object value)    {      if (! keyInRange(key))        throw new IllegalArgumentException("Key outside range");      return TreeMap.this.put(key, value);    }    public Object remove(Object key)    {      if (keyInRange(key))        return TreeMap.this.remove(key);      return null;    }    public int size()    {      Node node = lowestGreaterThan(minKey, true);      Node max = lowestGreaterThan(maxKey, false);      int count = 0;      while (node != max)        {          count++;          node = successor(node);        }      return count;    }    public SortedMap subMap(Object fromKey, Object toKey)    {      if (! keyInRange(fromKey) || ! keyInRange(toKey))        throw new IllegalArgumentException("key outside range");      return new SubMap(fromKey, toKey);    }    public SortedMap tailMap(Object fromKey)    {      if (! keyInRange(fromKey))        throw new IllegalArgumentException("key outside range");      return new SubMap(fromKey, maxKey);    }    public Collection values()    {      if (this.values == null)        // Create an AbstractCollection with custom implementations of those        // methods that can be overriden easily and efficiently.        this.values = new AbstractCollection()        {          public int size()          {            return SubMap.this.size();          }          public Iterator iterator()          {            Node first = lowestGreaterThan(minKey, true);            Node max = lowestGreaterThan(maxKey, false);            return new TreeIterator(VALUES, first, max);          }          public void clear()          {            SubMap.this.clear();          }        };      return this.values;    }  } // class SubMap  } // class TreeMap

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久精品2019中文字幕之3| 亚洲免费av在线| 首页国产丝袜综合| 91官网在线免费观看| 国产精品伦一区二区三级视频| 国产一区二区三区免费在线观看| 日韩一区二区三区免费观看| 激情偷乱视频一区二区三区| 久久综合国产精品| 成人av网站免费| 中文字幕综合网| 在线观看国产一区二区| 亚洲成人av电影| 51久久夜色精品国产麻豆| 久久精品国产在热久久| 2020国产精品| 51精品视频一区二区三区| 成人小视频在线| 亚洲mv大片欧洲mv大片精品| 欧美国产禁国产网站cc| 99久久综合色| 亚洲国产精品嫩草影院| 精品少妇一区二区三区在线视频| 色婷婷亚洲婷婷| 美腿丝袜在线亚洲一区| 中文字幕免费在线观看视频一区| 日韩欧美国产一区二区三区 | 精品国产不卡一区二区三区| 国产成人亚洲综合色影视| 亚洲精品国产第一综合99久久 | 亚洲欧美偷拍另类a∨色屁股| 精品美女被调教视频大全网站| 欧美情侣在线播放| 国产精品一卡二卡在线观看| 亚洲精品亚洲人成人网| 中文字幕一区二区三中文字幕| 欧美日韩综合在线免费观看| 久久99国产精品成人| 日韩理论片中文av| 国产精品色哟哟| 欧美韩日一区二区三区| 欧美国产欧美综合| 国产精品污网站| 国产精品久久久久一区二区三区| 欧美一区二区三区思思人 | 欧美午夜影院一区| 国产精品一二一区| 国产米奇在线777精品观看| 精品一区二区三区蜜桃| 国产一区二区三区久久悠悠色av| 久久草av在线| 国产成人av福利| 亚洲中国最大av网站| 美腿丝袜亚洲一区| 强制捆绑调教一区二区| 亚洲视频一区在线观看| 亚洲情趣在线观看| 亚洲成在人线免费| 蜜桃视频第一区免费观看| 韩国午夜理伦三级不卡影院| 国产.欧美.日韩| 91在线视频网址| 成人永久aaa| 91丨九色丨黑人外教| 国产精品1024| 一本一本久久a久久精品综合麻豆| 色菇凉天天综合网| 欧美一区二区三区精品| 久久久精品蜜桃| 亚洲理论在线观看| 蜜芽一区二区三区| 国产成人一级电影| 欧美主播一区二区三区| 欧美一区在线视频| 亚洲国产成人在线| 亚洲韩国一区二区三区| 看国产成人h片视频| 成人免费视频播放| 欧美日韩情趣电影| 国产午夜精品理论片a级大结局 | 亚洲国产精品综合小说图片区| 午夜一区二区三区在线观看| 亚洲一区二区视频| 久久超碰97人人做人人爱| 波多野结衣亚洲一区| 欧美剧在线免费观看网站| 91麻豆精品国产91久久久| 久久久亚洲高清| 亚洲国产精品人人做人人爽| 国产剧情一区在线| 欧美日韩免费观看一区二区三区| 337p粉嫩大胆色噜噜噜噜亚洲| 自拍视频在线观看一区二区| 日本在线播放一区二区三区| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国产精品传媒入口麻豆| 亚洲v精品v日韩v欧美v专区| 国产剧情一区二区| 欧美人与z0zoxxxx视频| 国产精品高清亚洲| 久久国产麻豆精品| 欧美最猛性xxxxx直播| 一区二区欧美国产| 亚洲成人综合视频| 99久久综合国产精品| 日韩女优av电影| 亚洲第一av色| 91网上在线视频| 欧美国产精品中文字幕| 国内久久精品视频| 91 com成人网| 亚洲一级不卡视频| 日本乱人伦一区| 国产精品免费av| 国产在线视频一区二区| 在线电影欧美成精品| 一区二区三区国产豹纹内裤在线 | 国内一区二区在线| 91精品在线观看入口| 亚洲国产乱码最新视频| 色综合一个色综合| 8x福利精品第一导航| 一区二区免费在线| 91丝袜国产在线播放| 国产精品入口麻豆九色| 国内成人精品2018免费看| 欧美一区二区在线播放| 性做久久久久久久免费看| 欧美自拍偷拍一区| 一区二区日韩电影| 91小视频免费观看| 亚洲视频1区2区| 91丨国产丨九色丨pron| 最新国产成人在线观看| 99久久婷婷国产综合精品电影| 欧美经典三级视频一区二区三区| 国产乱码精品一区二区三| 久久先锋影音av| 国产精品一级在线| 欧美国产视频在线| 成人免费电影视频| 一区视频在线播放| 色素色在线综合| 亚洲午夜久久久久久久久久久| 欧美系列亚洲系列| 日本伊人午夜精品| 精品国产乱码久久| 国产精品一区二区在线观看不卡| 久久一区二区三区四区| 国产999精品久久| 综合亚洲深深色噜噜狠狠网站| 99久久99久久久精品齐齐| 亚洲精品福利视频网站| 欧美日韩在线免费视频| 日本一区中文字幕| 久久欧美中文字幕| 99久久夜色精品国产网站| 亚洲精品一二三四区| 欧美绝品在线观看成人午夜影视| 日av在线不卡| 欧美国产精品劲爆| 欧美综合一区二区| 久久91精品国产91久久小草 | 日韩精品一区二区三区四区 | 欧美激情中文字幕一区二区| 成人免费的视频| 一区二区三区成人| 日韩欧美国产一二三区| 成人av在线网| 午夜精品久久久久久久| 久久麻豆一区二区| 91在线视频免费观看| 日韩av一区二| 国产精品亲子乱子伦xxxx裸| 欧美三级电影在线看| 黄色资源网久久资源365| 中文字幕亚洲在| 欧美一卡二卡在线| 成人免费毛片片v| 五月天精品一区二区三区| 久久久精品2019中文字幕之3| 欧美综合亚洲图片综合区| 国产在线精品一区二区夜色 | 日本韩国精品一区二区在线观看| 日韩高清电影一区| 国产精品久久久久天堂| 欧美精品在线观看播放| 大美女一区二区三区| 五月天一区二区三区| 国产精品人成在线观看免费| 欧美美女网站色| 91最新地址在线播放| 紧缚奴在线一区二区三区| 亚洲一区二区av电影| 国产欧美日韩在线看| 高清国产一区二区| 日精品一区二区| 亚洲激情中文1区| 国产三级精品视频| 日韩欧美第一区|