1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package com.opencsv.bean.mocks.join;
17
18 import com.opencsv.bean.CsvBindAndJoinByPosition;
19 import com.opencsv.bean.CsvBindByPosition;
20 import org.apache.commons.collections4.SetValuedMap;
21
22
23
24
25
26 public class DoubleOpenRange {
27
28 @CsvBindByPosition(position = 1)
29 private int positionOne;
30
31 @CsvBindAndJoinByPosition(position = "-", elementType = Integer.class)
32 private SetValuedMap<Integer, Integer> otherPositions;
33
34 public int getPositionOne() {
35 return positionOne;
36 }
37
38 public void setPositionOne(int positionOne) {
39 this.positionOne = positionOne;
40 }
41
42 public SetValuedMap<Integer, Integer> getOtherPositions() {
43 return otherPositions;
44 }
45
46 public void setOtherPositions(SetValuedMap<Integer, Integer> otherPositions) {
47 this.otherPositions = otherPositions;
48 }
49 }