Method containsKey(Object key)
Return type: boolean
Member of:
java.util.HashMap
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (this.settings.containsKey("reloadable"))
2
if (headerHashMap.containsKey("Set-Cookie")) {
3
if( !infoMap.containsKey("ASR") )
4
if( hashMapEscapeReference.containsKey( "$ESCAPE" )){
5
if (writeHandlerBuffer.getTransientKeys().containsKey("wrapperType")) {
6
assertTrue(map.containsKey("this"));
7
if (authMethods.containsKey("digest"))
8
if (allocationAlerts.containsKey(alloc)) return;
9
return fMap.containsKey(oldId) ? fMap.get(oldId).toString() : null;
10
if (!documentShadings.containsKey(shading)) {
11
if ( !map.containsKey(key) )
12
Object oldval = containsKey(key) ? get(key) : null;
13
if (cacheMap.containsKey(cache.getName())) {
14
if ( loadedClasses.containsKey( className )) {
15
if (!override && super.containsKey(entry.getKey()))
16
if (force || !allPackagesMap.containsKey(pkg)) {
17
if (!hmNWords.containsKey(token)) {
18
if(! sections.containsKey(section))
19
if (!cachedAttributes.containsKey(matchMe.toString()))
20
if (keys.containsKey(key))
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.