Lines Matching refs:map
48 private Map<String, L[]> map;
78 if (this.map == null) {
79 this.map = new HashMap<>();
81 L[] array = this.map.get(name);
91 this.map.put(name, clone);
103 if (this.map != null) {
104 L[] array = this.map.get(name);
113 this.map.put(name, clone);
116 this.map.remove(name);
117 if (this.map.isEmpty()) {
118 this.map = null;
135 return (this.map != null)
136 ? this.map.get(name)
148 if (this.map == null) {
149 this.map = new HashMap<>();
151 this.map.put(name, listeners);
153 else if (this.map != null) {
154 this.map.remove(name);
155 if (this.map.isEmpty()) {
156 this.map = null;
162 * Returns all listeners in the map.
167 if (this.map == null) {
172 L[] listeners = this.map.get(null);
178 for (Entry<String, L[]> entry : this.map.entrySet()) {
206 * Indicates whether the map contains
214 if (this.map == null) {
217 L[] array = this.map.get(null);
218 return (array != null) || ((name != null) && (null != this.map.get(name)));
222 * Returns a set of entries from the map.
226 * @return a set of entries from the map
229 return (this.map != null)
230 ? this.map.entrySet()