- Enclosing interface:
- Map<K,V>
- See Also:
- Top Examples, Source Code,
Map.entrySet()
boolean equals(Object o)
- See Also:
Hashtable
, Object.hashCode()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
K getKey()
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
V getValue()
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[540]Get all entries from a Map
By tuniki { at } yahoo { dot } com on 2003/11/21 10:28:46 Rate
for ( Iterator iterator = aMap.entrySet ( ) .iterator ( ) ; iterator.hasNext ( ) ; ) {
Map.Entry entry = ( Map.Entry ) iterator.next ( ) ;
String key = ( String ) entry.getKey ( ) ;
String value = ( String ) entry.getValue ( ) ;
}
int hashCode()
- See Also:
equals(Object)
, Object.equals(Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Object setValue(Object value)
- See Also:
- NullPointerException, IllegalArgumentException, ClassCastException, UnsupportedOperationException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
V setValue(V value)
- See Also:
- IllegalStateException, NullPointerException, IllegalArgumentException, ClassCastException, UnsupportedOperationException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples