Clover coverage report - brownies library - 1.0-beta-1 Coverage timestamp: 月 8 16 2004 17:14:42 GMT+09:00 FRAMES NO FRAMES |
file stats: | LOC: | 120 |  | Methods: | 14
| NCLOC: | 50 |  | Classes: | 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
Source file | Conditionals | Statements | Methods | TOTAL
MapWrapper.java | - | 26.7% | 21.4% | 24.1% |

1 |  |
     /*
2 |  |
      * Joey and its relative products are published under the terms
3 |  |
      * of the Apache Software License.
4 |  |
      */
5 |  |
     package org.asyrinx.brownie.core.collection.wrapper;
6 |  |
7 |  |
     import java.util.Collection;
8 |  |
     import java.util.Map;
9 |  |
     import java.util.Set;
10 |  |
11 |  |
     import org.asyrinx.brownie.core.util.Wrapper;
12 |  |
13 |  |
     /**
14 |  |
      *
15 |  |
      * @author akima
16 |  |
      */
17 |  |
     public class MapWrapper extends Wrapper implements Map {
18 |  |
19 |  |
         /**
20 |  |
          * Constructor for MapWrapper.
21 |  |
          */
22 | 3 |
         public MapWrapper(Map impl) {
23 | 3 |
             super(impl);
24 | 3 |
             this.impl = impl;
25 |  |
         }
26 |  |
27 |  |
         protected final Map impl;
28 |  |
29 |  |
         /**
30 |  |
          * @see java.util.Map#size()
31 |  |
          */
32 | 0 |
         public int size() {
33 | 0 |
             return impl.size();
34 |  |
         }
35 |  |
36 |  |
         /**
37 |  |
          * @see java.util.Map#isEmpty()
38 |  |
          */
39 | 0 |
         public boolean isEmpty() {
40 | 0 |
             return impl.isEmpty();
41 |  |
         }
42 |  |
43 |  |
         /**
44 |  |
          * @see java.util.Map#containsKey(Object)
45 |  |
          */
46 | 0 |
         public boolean containsKey(Object key) {
47 | 0 |
             return impl.containsKey(key);
48 |  |
         }
49 |  |
50 |  |
         /**
51 |  |
          * @see java.util.Map#containsValue(Object)
52 |  |
          */
53 | 0 |
         public boolean containsValue(Object value) {
54 | 0 |
             return impl.containsValue(value);
55 |  |
         }
56 |  |
57 |  |
         /**
58 |  |
          * @see java.util.Map#get(Object)
59 |  |
          */
60 | 2 |
         public Object get(Object key) {
61 | 2 |
             return impl.get(key);
62 |  |
         }
63 |  |
64 |  |
         /**
65 |  |
          * @see java.util.Map#put(Object, Object)
66 |  |
          */
67 | 6 |
         public Object put(Object key, Object value) {
68 | 6 |
             return impl.put(key, value);
69 |  |
         }
70 |  |
71 |  |
         /**
72 |  |
          * @see java.util.Map#remove(Object)
73 |  |
          */
74 | 0 |
         public Object remove(Object key) {
75 | 0 |
             return impl.remove(key);
76 |  |
         }
77 |  |
78 |  |
         /**
79 |  |
          * @see java.util.Map#putAll(Map)
80 |  |
          */
81 | 0 |
         public void putAll(Map t) {
82 | 0 |
             impl.putAll(t);
83 |  |
         }
84 |  |
85 |  |
         /**
86 |  |
          * @see java.util.Map#clear()
87 |  |
          */
88 | 0 |
         public void clear() {
89 | 0 |
             impl.clear();
90 |  |
         }
91 |  |
92 |  |
         /**
93 |  |
          * @see java.util.Map#keySet()
94 |  |
          */
95 | 0 |
         public Set keySet() {
96 | 0 |
             return impl.keySet();
97 |  |
         }
98 |  |
99 |  |
         /**
100 |  |
          * @see java.util.Map#values()
101 |  |
          */
102 | 0 |
         public Collection values() {
103 | 0 |
             return impl.values();
104 |  |
         }
105 |  |
106 |  |
         /**
107 |  |
          * @see java.util.Map#entrySet()
108 |  |
          */
109 | 0 |
         public Set entrySet() {
110 | 0 |
             return impl.entrySet();
111 |  |
         }
112 |  |
113 |  |
         /**
114 |  |
          * @see java.lang.Object#toString()
115 |  |
          */
116 | 0 |
         public String toString() {
117 | 0 |
             return impl.toString();
118 |  |
         }
119 |  |
120 |  |
     }