common-util

local.tomas.faces
Class MessageFlagMap

java.lang.Object
  extended by local.tomas.faces.MessageFlagMap
All Implemented Interfaces:
Map<String,Boolean>

public class MessageFlagMap
extends Object
implements Map<String,Boolean>

An instance of this class holds a boolean flag for each message id in the current faces context.

Author:
tomas

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
MessageFlagMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,Boolean>> entrySet()
           
 Boolean get(Object key)
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 Boolean put(String key, Boolean value)
           
 void putAll(Map<? extends String,? extends Boolean> t)
           
 Boolean remove(Object key)
           
 int size()
           
 Collection<Boolean> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MessageFlagMap

public MessageFlagMap()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Boolean>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,Boolean>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,Boolean>

entrySet

public Set<Map.Entry<String,Boolean>> entrySet()
Specified by:
entrySet in interface Map<String,Boolean>

get

public Boolean get(Object key)
Specified by:
get in interface Map<String,Boolean>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Boolean>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Boolean>

put

public Boolean put(String key,
                   Boolean value)
Specified by:
put in interface Map<String,Boolean>

putAll

public void putAll(Map<? extends String,? extends Boolean> t)
Specified by:
putAll in interface Map<String,Boolean>

remove

public Boolean remove(Object key)
Specified by:
remove in interface Map<String,Boolean>

size

public int size()
Specified by:
size in interface Map<String,Boolean>

values

public Collection<Boolean> values()
Specified by:
values in interface Map<String,Boolean>

common-util

Copyright © 2007 null. All Rights Reserved.