Revision 20135
trunk/libraries/libAnimation/src/com/iver/cit/gvsig/animation/traks/AnimationDatedTrack.java | ||
---|---|---|
41 | 41 |
//private AnimationDatedInterval datedInterval; |
42 | 42 |
|
43 | 43 |
public AnimationDatedTrack(IAnimationType animationType) { |
44 |
this.animationDateIntervalList = new ArrayList(); |
|
44 |
this.animationDateIntervalList = new ArrayList<AnimationDatedInterval>();
|
|
45 | 45 |
this.animationType = animationType; |
46 | 46 |
} |
47 | 47 |
|
... | ... | |
57 | 57 |
return this.Description; |
58 | 58 |
} |
59 | 59 |
|
60 |
public List getIntervalList() { |
|
60 |
public List<AnimationDatedInterval> getIntervalList() {
|
|
61 | 61 |
return animationDateIntervalList; |
62 | 62 |
} |
63 | 63 |
|
... | ... | |
100 | 100 |
|
101 | 101 |
public IAnimationInterval createInterval() { |
102 | 102 |
|
103 |
List ADIList = this.getIntervalList(); |
|
103 |
List<AnimationDatedInterval> ADIList = this.getIntervalList();
|
|
104 | 104 |
if (ADIList == null) { |
105 |
ADIList = new ArrayList(); |
|
105 |
ADIList = new ArrayList<AnimationDatedInterval>();
|
|
106 | 106 |
} |
107 | 107 |
AnimationDatedInterval ADInterval = new AnimationDatedInterval(); |
108 | 108 |
ADIList.add(ADInterval); |
Also available in: Unified diff