|
35 | 35 | */ |
36 | 36 | public interface KeyValue { |
37 | 37 |
|
38 | | - /** |
39 | | - * Inserts or replaces {@code boolean} value for the specified key. |
40 | | - * |
41 | | - * @param key the key to be placed into this {@code KeyValue} object |
42 | | - * @param value the value corresponding to <tt>key</tt> |
43 | | - */ |
44 | | - KeyValue put(String key, boolean value); |
45 | | - |
46 | 38 | /** |
47 | 39 | * Inserts or replaces {@code short} value for the specified key. |
48 | 40 | * |
@@ -83,27 +75,6 @@ public interface KeyValue { |
83 | 75 | */ |
84 | 76 | KeyValue put(String key, String value); |
85 | 77 |
|
86 | | - /** |
87 | | - * Searches for the {@code boolean} property with the specified key in this {@code KeyValue} object. If the key is not |
88 | | - * found in this property list, false is returned. |
89 | | - * |
90 | | - * @param key the property key |
91 | | - * @return the value in this {@code KeyValue} object with the specified key value |
92 | | - * @see #put(String, boolean) |
93 | | - */ |
94 | | - boolean getBoolean(String key); |
95 | | - |
96 | | - /** |
97 | | - * Searches for the {@code boolean} property with the specified key in this {@code KeyValue} object. If the key is not |
98 | | - * found in this property list, false is returned. |
99 | | - * |
100 | | - * @param key the property key |
101 | | - * @param defaultValue a default value |
102 | | - * @return the value in this {@code KeyValue} object with the specified key value |
103 | | - * @see #put(String, boolean) |
104 | | - */ |
105 | | - boolean getBoolean(String key, boolean defaultValue); |
106 | | - |
107 | 78 | /** |
108 | 79 | * Searches for the {@code short} property with the specified key in this {@code KeyValue} object. If the key is not |
109 | 80 | * found in this property list, zero is returned. |
|
0 commit comments