1 17 package org.apache.commons.collections.primitives.decorators; 18 19 import org.apache.commons.collections.primitives.ByteIterator; 20 import org.apache.commons.collections.primitives.ByteListIterator; 21 22 29 abstract class ProxyByteListIterator extends ProxyByteIterator implements ByteListIterator { 30 ProxyByteListIterator() { 31 } 32 33 public boolean hasPrevious() { 34 return getListIterator().hasPrevious(); 35 } 36 37 public int nextIndex() { 38 return getListIterator().nextIndex(); 39 } 40 41 public byte previous() { 42 return getListIterator().previous(); 43 } 44 45 public int previousIndex() { 46 return getListIterator().previousIndex(); 47 } 48 49 protected final ByteIterator getIterator() { 50 return getListIterator(); 51 } 52 53 protected abstract ByteListIterator getListIterator(); 54 55 } 56 | Popular Tags |