Update Home
2
Home.md
2
Home.md
@@ -21,7 +21,7 @@
|
|||||||
## Example
|
## Example
|
||||||
|
|
||||||
```java
|
```java
|
||||||
Key<Integer> counterKey = new Key<>("counter", Integer.class);
|
Key<Integer> counterKey = Key.of("counter", Integer.class);
|
||||||
Ctx.INSTANCE.put(counterKey, 42);
|
Ctx.INSTANCE.put(counterKey, 42);
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user