mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 04:13:54 +00:00
docs: update value object
This commit is contained in:
1 parent
8dd3e3ed89
commit
d6d2a76c1f
3 files changed
+62
-30
No files matched your search
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
package com.iluwatar.value.object;
|
||||
|
||||
import lombok.ToString;
|
||||
import lombok.Value;
|
||||
|
||||
/**
|
||||
@@ -34,6 +35,7 @@ import lombok.Value;
|
||||
* </a>
|
||||
*/
|
||||
@Value(staticConstructor = "valueOf")
|
||||
@ToString
|
||||
class HeroStat {
|
||||
|
||||
int strength;
|
||||
|
||||
Reference in new issue
Block a user