diff --git a/src/main/java/org/ntlab/acanthus_server/entities/Stroke.java b/src/main/java/org/ntlab/acanthus_server/entities/Stroke.java index 17dc6c7..214a713 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/Stroke.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/Stroke.java @@ -1,5 +1,20 @@ package org.ntlab.acanthus_server.entities; +import java.util.ArrayList; +import java.util.HashMap; + public class Stroke { + private HashMap StrokeMap = new HashMap<>(); + private ArrayList> StrokeList = new ArrayList<>(); + + public void putStroke(String type, Integer value) { + this.StrokeMap.put(type, value); + } + + public ArrayList> getStrokeRest() { + this.StrokeList.add(this.StrokeMap); + return this.StrokeList; + } } +