|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ListIteratorWrapper.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Joey and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*/
|
|
| 5 |
package org.asyrinx.brownie.core.collection.wrapper;
|
|
| 6 |
|
|
| 7 |
import java.util.ListIterator;
|
|
| 8 |
|
|
| 9 |
/**
|
|
| 10 |
*
|
|
| 11 |
* @author akima
|
|
| 12 |
*/
|
|
| 13 |
public class ListIteratorWrapper extends IteratorWrapper implements |
|
| 14 |
ListIterator {
|
|
| 15 |
|
|
| 16 |
/**
|
|
| 17 |
* Constructor for ListIteratorWrapper.
|
|
| 18 |
*/
|
|
| 19 | 0 |
public ListIteratorWrapper(ListIterator impl) {
|
| 20 | 0 |
super(impl);
|
| 21 | 0 |
this.impl = impl;
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
private final ListIterator impl;
|
|
| 25 |
|
|
| 26 |
/**
|
|
| 27 |
* @see java.util.ListIterator#hasPrevious()
|
|
| 28 |
*/
|
|
| 29 | 0 |
public boolean hasPrevious() { |
| 30 | 0 |
return impl.hasPrevious();
|
| 31 |
} |
|
| 32 |
|
|
| 33 |
/**
|
|
| 34 |
* @see java.util.ListIterator#previous()
|
|
| 35 |
*/
|
|
| 36 | 0 |
public Object previous() {
|
| 37 | 0 |
return impl.previous();
|
| 38 |
} |
|
| 39 |
|
|
| 40 |
/**
|
|
| 41 |
* @see java.util.ListIterator#nextIndex()
|
|
| 42 |
*/
|
|
| 43 | 0 |
public int nextIndex() { |
| 44 | 0 |
return impl.nextIndex();
|
| 45 |
} |
|
| 46 |
|
|
| 47 |
/**
|
|
| 48 |
* @see java.util.ListIterator#previousIndex()
|
|
| 49 |
*/
|
|
| 50 | 0 |
public int previousIndex() { |
| 51 | 0 |
return impl.previousIndex();
|
| 52 |
} |
|
| 53 |
|
|
| 54 |
/**
|
|
| 55 |
* @see java.util.ListIterator#set(Object)
|
|
| 56 |
*/
|
|
| 57 | 0 |
public void set(Object o) { |
| 58 | 0 |
impl.set(o); |
| 59 |
} |
|
| 60 |
|
|
| 61 |
/**
|
|
| 62 |
* @see java.util.ListIterator#add(Object)
|
|
| 63 |
*/
|
|
| 64 | 0 |
public void add(Object o) { |
| 65 | 0 |
impl.add(o); |
| 66 |
} |
|
| 67 |
|
|
| 68 |
} |
|
||||||||||