test_class.file: ontopia-engine/src/test/java/net/ontopia/utils/DeciderIteratorTest.java
test_class.identifier: DeciderIteratorTest
test_class.superclass: extends AbstractIteratorTest
test_case.body: @Test
    public void testDeciderIterator() {
  
      int size = 5;
      
      DeciderIF decider = new DeciderIF() {
        @Override
        public boolean ok(Object object) {
          return !"B".equals(object);
        }
      };
      
      Iterator iter = new DeciderIterator(decider, getIterator(size));
  
      testIterator(iter, size - 1);
    }
test_case.class_method_signature: DeciderIteratorTest.testDeciderIterator()
test_case.full_signature: @Test public void testDeciderIterator()
test_case.identifier: testDeciderIterator
test_case.invocations: equals getIterator testIterator
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDeciderIterator()
focal_class.declarator: decider
focal_class.modifier: protected
focal_class.original_string: protected DeciderIF<T> decider;
focal_class.type: DeciderIF<T>
focal_class.var_name: decider
focal_class.declarator: iterator
focal_class.modifier: protected
focal_class.original_string: protected Iterator<T> iterator;
focal_class.type: Iterator<T>
focal_class.var_name: iterator
focal_class.declarator: done
focal_class.modifier: protected
focal_class.original_string: protected boolean done;
focal_class.type: boolean
focal_class.var_name: done
focal_class.declarator: next
focal_class.modifier: protected
focal_class.original_string: protected T next;
focal_class.type: T
focal_class.var_name: next
focal_class.file: ontopia-engine/src/main/java/net/ontopia/utils/DeciderIterator.java
focal_class.identifier: DeciderIterator
focal_class.interfaces: implements Iterator<T>
focal_class.class_method_signature: DeciderIterator.DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator)
focal_class.full_signature: public  DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator)
focal_class.identifier: DeciderIterator
focal_class.modifiers: public
focal_class.parameters: (DeciderIF<T> decider, Iterator<T> iterator)
focal_class.signature:  DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator)
focal_class.class_method_signature: DeciderIterator.findNext()
focal_class.full_signature: protected void findNext()
focal_class.identifier: findNext
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void findNext()
focal_class.class_method_signature: DeciderIterator.hasNext()
focal_class.full_signature: @Override public boolean hasNext()
focal_class.identifier: hasNext
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasNext()
focal_class.class_method_signature: DeciderIterator.next()
focal_class.full_signature: @Override public T next()
focal_class.identifier: next
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T next()
focal_class.class_method_signature: DeciderIterator.remove()
focal_class.full_signature: @Override public void remove()
focal_class.identifier: remove
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void remove()
focal_method.body: public DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator) {
      this.decider = decider;
      this.iterator = iterator;
  
      // Find the first applicable element.
      findNext();
    }
focal_method.class_method_signature: DeciderIterator.DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator)
focal_method.full_signature: public  DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator)
focal_method.identifier: DeciderIterator
focal_method.modifiers: public
focal_method.parameters: (DeciderIF<T> decider, Iterator<T> iterator)
focal_method.signature:  DeciderIterator(DeciderIF<T> decider, Iterator<T> iterator)