@AllArgsConstructor(staticName = "of")
public class TestCounter
{
- String user;
- String word;
+ String key;
long counter;
-
- public static TestCounter of(TestWord word, long counter)
- {
- return new TestCounter(word.getUser(), word.getWord(), counter);
- }
}