1 package org.columba.mail.folder.headercache; 19 20 import java.util.Iterator ; 21 22 import org.columba.mail.message.ICloseableIterator; 23 24 public class DefaultCloseableIterator implements ICloseableIterator { 25 26 private Iterator it; 27 28 31 public void close() { 32 } 34 35 38 public boolean hasNext() { 39 return it.hasNext(); 40 } 41 42 45 public Object next() { 46 return it.next(); 47 } 48 49 52 public void remove() { 53 it.remove(); 54 } 55 56 DefaultCloseableIterator(Iterator it) { 57 super(); 58 this.it = it; 60 } 61 62 63 64 } 65 | Popular Tags |