if (this.out != null) {
this.out.close();
this.out = null;
}
for (int i = 0; i <= this.numberFiles; i++) {
final LuposObjectInputStream in = new LuposObjectInputStreamWithoutReadingHeader<E>(
new BufferedInputStream(new FileInputStream(this.filename
+ this.numberFiles)), (Class<E>) arg0.getClass());
try {
while (true) {
final E e = (E) in.readLuposObject();
if (e == null) {
in.close();
break;
}
if (e.equals(arg0)) {
in.close();
return true;
}
}
} catch (final EOFException e) {
in.close();
}
}
} catch (final FileNotFoundException e) {
System.err.println(e);
e.printStackTrace();