Changeset 11525 in josm for trunk/src/com/kitfox/svg/SVGDiagram.java
- Timestamp:
- 2017-02-02T00:08:08+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/SVGDiagram.java
r8084 r11525 62 62 63 63 //Indexes elements within this SVG diagram 64 final HashMap idMap = new HashMap();64 final HashMap<String, SVGElement> idMap = new HashMap<>(); 65 65 66 66 SVGRoot root; … … 116 116 * @return the passed in list 117 117 */ 118 public List pick(Point2D point, ListretVec) throws SVGException118 public List<List<SVGElement>> pick(Point2D point, List<List<SVGElement>> retVec) throws SVGException 119 119 { 120 120 return pick(point, false, retVec); 121 121 } 122 122 123 public List pick(Point2D point, boolean boundingBox, ListretVec) throws SVGException123 public List<List<SVGElement>> pick(Point2D point, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException 124 124 { 125 125 if (retVec == null) 126 126 { 127 retVec = new ArrayList ();127 retVec = new ArrayList<>(); 128 128 } 129 129 … … 133 133 } 134 134 135 public List pick(Rectangle2D pickArea, ListretVec) throws SVGException135 public List<List<SVGElement>> pick(Rectangle2D pickArea, List<List<SVGElement>> retVec) throws SVGException 136 136 { 137 137 return pick(pickArea, false, retVec); 138 138 } 139 139 140 public List pick(Rectangle2D pickArea, boolean boundingBox, ListretVec) throws SVGException140 public List<List<SVGElement>> pick(Rectangle2D pickArea, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException 141 141 { 142 142 if (retVec == null) 143 143 { 144 retVec = new ArrayList ();144 retVec = new ArrayList<>(); 145 145 } 146 146
Note:
See TracChangeset
for help on using the changeset viewer.