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

📄 gcidfactory.java

📁 pastry的java实现的2.0b版
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
     * @return DESCRIBE THE RETURN VALUE     */    public boolean containsValue(Object value) {      throw new UnsupportedOperationException("containsValue not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public Set entrySet() {      return new GCEntrySet(map.entrySet());    }    /**     * DESCRIBE THE METHOD     *     * @param o DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean equals(Object o) {      throw new UnsupportedOperationException("equals not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public int hashCode() {      throw new UnsupportedOperationException("hashCode not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public Set keySet() {      throw new UnsupportedOperationException("keyset not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param key DESCRIBE THE PARAMETER     * @param value DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public Object put(Object key, Object value) {      throw new UnsupportedOperationException("put not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param t DESCRIBE THE PARAMETER     */    public void putAll(Map t) {      throw new UnsupportedOperationException("putAll not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param key DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public Object remove(Object key) {      throw new UnsupportedOperationException("remove not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public int size() {      return map.size();    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public Collection values() {      throw new UnsupportedOperationException("values not supported!");    }  }  /**   * DESCRIBE THE CLASS   *   * @version $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $   * @author jeffh   */  protected class GCEntrySet implements Set {    /**     * DESCRIBE THE FIELD     */    protected Set set;    /**     * Constructor for GCEntrySet.     *     * @param set DESCRIBE THE PARAMETER     */    public GCEntrySet(Set set) {      this.set = set;    }    /**     * Gets the Empty attribute of the GCEntrySet object     *     * @return The Empty value     */    public boolean isEmpty() {      throw new UnsupportedOperationException("isEmpty not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param o DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean add(Object o) {      throw new UnsupportedOperationException("add not supported!");    }    /**     * Adds a feature to the All attribute of the GCEntrySet object     *     * @param c The feature to be added to the All attribute     * @return DESCRIBE THE RETURN VALUE     */    public boolean addAll(Collection c) {      throw new UnsupportedOperationException("addAll not supported!");    }    /**     * DESCRIBE THE METHOD     */    public void clear() {      throw new UnsupportedOperationException("clear not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param o DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean contains(Object o) {      throw new UnsupportedOperationException("contains not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param c DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean containsAll(Collection c) {      throw new UnsupportedOperationException("containsAll not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param o DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean equals(Object o) {      throw new UnsupportedOperationException("equals not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public int hashCode() {      throw new UnsupportedOperationException("hashCode not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public Iterator iterator() {      return        new Iterator() {          protected Iterator i = set.iterator();          public boolean hasNext() {            return i.hasNext();          }          public Object next() {            return new GCMapEntry((Map.Entry) i.next());          }          public void remove() {            i.remove();          }        };    }    /**     * DESCRIBE THE METHOD     *     * @param o DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean remove(Object o) {      throw new UnsupportedOperationException("remove not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param c DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean removeAll(Collection c) {      throw new UnsupportedOperationException("removeAll not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param c DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean retainAll(Collection c) {      throw new UnsupportedOperationException("retainAll not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public int size() {      throw new UnsupportedOperationException("size not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public Object[] toArray() {      throw new UnsupportedOperationException("toArray not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param a DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public Object[] toArray(Object[] a) {      throw new UnsupportedOperationException("toArray not supported!");    }  }  /**   * DESCRIBE THE CLASS   *   * @version $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $   * @author jeffh   */  protected class GCMapEntry implements Map.Entry {    /**     * DESCRIBE THE FIELD     */    protected Map.Entry entry;    /**     * Constructor for GCMapEntry.     *     * @param entry DESCRIBE THE PARAMETER     */    public GCMapEntry(Map.Entry entry) {      this.entry = entry;    }    /**     * Gets the Key attribute of the GCMapEntry object     *     * @return The Key value     */    public Object getKey() {      return ((GCId) entry.getKey()).getId();    }    /**     * Gets the Value attribute of the GCMapEntry object     *     * @return The Value value     */    public Object getValue() {      return entry.getValue();    }    /**     * Sets the Value attribute of the GCMapEntry object     *     * @param value The new Value value     * @return DESCRIBE THE RETURN VALUE     */    public Object setValue(Object value) {      throw new UnsupportedOperationException("setValue not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @param o DESCRIBE THE PARAMETER     * @return DESCRIBE THE RETURN VALUE     */    public boolean equals(Object o) {      throw new UnsupportedOperationException("equals not supported!");    }    /**     * DESCRIBE THE METHOD     *     * @return DESCRIBE THE RETURN VALUE     */    public int hashCode() {      throw new UnsupportedOperationException("hashCode not supported!");    }  }}

⌨️ 快捷键说明

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