Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orhanobut committed Feb 19, 2015
1 parent 08b50b5 commit 583f65f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ or with default value
```java
T result = Hawk.get("key", T);
```
##### More samples for save and get
##### More samples for save

```java
Hawk.put("key", "something"); // Save string
Expand All @@ -52,7 +52,7 @@ Hawk.put("key", List<Foo>); // save list of any class
Hawk.put("key", 1234); // save numbers
```

#### GET
##### More samples for get

```java
String value = Hawk.get(key);
Expand All @@ -62,7 +62,7 @@ boolean value = Hawk.get(key);
List<String> value = Hawk.get(key);
List<Foo> value = Hawk.get(key);
```
or with the default
or with the defaults
```java
String value = Hawk.get(key, "");
int value = Hawk.get(key, 0);
Expand Down

0 comments on commit 583f65f

Please sign in to comment.