litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/localstorage/LocalStorage.java
|
@@ -1,9 +1,9 @@ |
1 |
1 |
|
package org.litesoft.GWT.client.localstorage; |
2 |
2 |
|
|
3 |
|
- |
import java.util.*; |
4 |
|
- |
|
5 |
3 |
|
import org.litesoft.commonfoundation.annotations.*; |
6 |
4 |
|
|
|
5 |
+ |
import java.util.*; |
|
6 |
+ |
|
7 |
7 |
|
/** |
8 |
8 |
|
* Local Storage is a Proxy/Adapter to the underlying HTML5 LocalStorage. |
9 |
9 |
|
* <p/> |
|
@@ -12,8 +12,7 @@ |
12 |
12 |
|
* <li>null values for values on a <code>put</code> are treated as a call to <code>remove</code></li> |
13 |
13 |
|
* <li>keys are trimmed of their leading and trailing whitespace and if the resulting key is empty it is treated as a null</li> |
14 |
14 |
|
*/ |
15 |
|
- |
public interface LocalStorage extends Map<String, String> |
16 |
|
- |
{ |
|
15 |
+ |
public interface LocalStorage extends Map<String, String> { |
17 |
16 |
|
/** |
18 |
17 |
|
* The same behavior as the regular Map.get, but with an explicit key type of String. |
19 |
18 |
|
* <p/> |
|
@@ -22,7 +21,7 @@ |
22 |
21 |
|
* @param pKey the key whose associated value is to be returned |
23 |
22 |
|
* |
24 |
23 |
|
* @return the value to which the specified key is mapped, or |
25 |
|
- |
* {@code null} if this map contains no mapping for the key |
|
24 |
+ |
* {@code null} if this map contains no mapping for the key |
26 |
25 |
|
*/ |
27 |
26 |
|
String get( @NotNull String pKey ); |
28 |
27 |
|
} |