Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 48   Methods: 7
NCLOC: 27   Classes: 1
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
TransformingListIterator.java - 25% 14,3% 20%
 1   
 /*
 2   
  * JBind
 3   
  *
 4   
  * Copyright (c) by Stefan Wachter. All rights reserved.
 5   
  *
 6   
  * Usage, modification, and redistribution is subject to license terms that are
 7   
  * available at 'http://www.jbind.org'. The JBind license is like the
 8   
  * 'Apache Software License V 1.1'.
 9   
  */
 10   
 package org.jbind.util.collection;
 11   
 
 12   
 import java.util.ListIterator;
 13   
 
 14   
 public class TransformingListIterator extends TransformingIterator implements ListIterator {
 15   
 
 16   
   private ListIterator myIterator = null;
 17   
 
 18  2125
   public TransformingListIterator(ListIterator anIterator, ITransformation aTransformation) {
 19  2125
     super(anIterator, aTransformation);
 20  2125
     myIterator = anIterator;
 21   
   }
 22   
 
 23  0
   public void add(Object obj) {
 24  0
     myIterator.add(obj);
 25   
   }
 26   
 
 27  0
   public boolean hasPrevious() {
 28  0
     return myIterator.hasPrevious();
 29   
   }
 30   
 
 31  0
   public int nextIndex() {
 32  0
     return myIterator.nextIndex();
 33   
   }
 34   
 
 35  0
   public Object previous() {
 36  0
     return myIterator.previous();
 37   
   }
 38   
 
 39  0
   public int previousIndex() {
 40  0
     return myIterator.previousIndex();
 41   
   }
 42   
 
 43  0
   public void set(Object obj) {
 44  0
     myIterator.set(obj);
 45   
   }
 46   
 
 47   
 }
 48