org.apache.commons.collections
クラス DefaultMapEntry
java.lang.Object
|
+--org.apache.commons.collections.DefaultMapEntry
- すべての実装インタフェース:
- java.util.Map.Entry
- public class DefaultMapEntry
- extends java.lang.Object
- implements java.util.Map.Entry
A default implementation of Map.Entry
- 作成者:
- James Strachan
メソッドの概要 |
boolean |
equals(DefaultMapEntry that)
|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getKey()
|
java.lang.Object |
getValue()
|
int |
hashCode()
|
void |
setKey(java.lang.Object key)
|
java.lang.Object |
setValue(java.lang.Object value)
Note that this method only sets the local reference inside this object and
does not modify the original Map. |
クラス java.lang.Object から継承したメソッド |
getClass, notify, notifyAll, toString, wait, wait, wait |
DefaultMapEntry
public DefaultMapEntry()
DefaultMapEntry
public DefaultMapEntry(java.lang.Object key,
java.lang.Object value)
equals
public boolean equals(DefaultMapEntry that)
equals
public boolean equals(java.lang.Object o)
- 定義:
- インタフェース
java.util.Map.Entry
内の equals
- オーバーライド:
- クラス
java.lang.Object
内の equals
getKey
public java.lang.Object getKey()
- 定義:
- インタフェース
java.util.Map.Entry
内の getKey
getValue
public java.lang.Object getValue()
- 定義:
- インタフェース
java.util.Map.Entry
内の getValue
hashCode
public int hashCode()
- 定義:
- インタフェース
java.util.Map.Entry
内の hashCode
- オーバーライド:
- クラス
java.lang.Object
内の hashCode
setKey
public void setKey(java.lang.Object key)
setValue
public java.lang.Object setValue(java.lang.Object value)
- Note that this method only sets the local reference inside this object and
does not modify the original Map.
- 定義:
- インタフェース
java.util.Map.Entry
内の setValue
- パラメータ:
value
- the new value- 戻り値:
- the old value of the value
Copyright © 2001 Apache Software Foundation. Documenation generated November 5 2001.