Returns the ROI with the specified index or null if the index is invalid.
(int index)
| 100 | |
| 101 | /** Returns the ROI with the specified index or null if the index is invalid. */ |
| 102 | public Roi get(int index) { |
| 103 | try { |
| 104 | return (Roi)list.get(index); |
| 105 | } catch(Exception e) { |
| 106 | return null; |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | /** Returns the ROI with the specified name or null if not found. */ |
| 111 | public Roi get(String name) { |
no test coverage detected