comparison servlet/src/digilib/io/DocuDirectory.java @ 574:790cbfb58b52 stream

ripping apart ImageFileSet
author robcast
date Wed, 22 Dec 2010 18:32:06 +0100
parents 686086d6e6d6
children dad720e9b12b
comparison
equal deleted inserted replaced
573:beeedf90cb81 574:790cbfb58b52
125 * Returns the ImageFileSet at the index. 125 * Returns the ImageFileSet at the index.
126 * 126 *
127 * @param index 127 * @param index
128 * @return 128 * @return
129 */ 129 */
130 public ImageFileset get(int index) { 130 public ImageSet get(int index) {
131 if ((list == null) || (list.get(0) == null) || (index >= list.get(0).size())) { 131 if ((list == null) || (list.get(0) == null) || (index >= list.get(0).size())) {
132 return null; 132 return null;
133 } 133 }
134 return (ImageFileset) list.get(0).get(index); 134 return (ImageSet) list.get(0).get(index);
135 } 135 }
136 136
137 /** 137 /**
138 * Returns the file of the class at the index. 138 * Returns the file of the class at the index.
139 * 139 *