MCPcopy Create free account
hub / github.com/PCGen/pcgen / HyphenRule

Class HyphenRule

code/src/java/pcgen/core/doomsdaybook/HyphenRule.java:23–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21import java.util.List;
22
23public class HyphenRule implements DataElement
24{
25 private final List<DataValue> retList = new ArrayList<>();
26
27 /** Creates a new instance of SpaceRule */
28 public HyphenRule()
29 {
30 retList.add(new DataValue("-"));
31 }
32
33 @Override
34 public List<DataValue> getData()
35 {
36 return retList;
37 }
38
39 @Override
40 public String getId()
41 {
42 return "-";
43 }
44
45 @Override
46 public List<DataValue> getLastData()
47 {
48 return retList;
49 }
50
51 @Override
52 public String getTitle()
53 {
54 return null;
55 }
56
57 @Override
58 public int getWeight()
59 {
60 return 1;
61 }
62}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected