| 21 | import java.util.List; |
| 22 | |
| 23 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected