Example usage for org.apache.commons.collections15.iterators IteratorChain IteratorChain

List of usage examples for org.apache.commons.collections15.iterators IteratorChain IteratorChain

Introduction

In this page you can find the example usage for org.apache.commons.collections15.iterators IteratorChain IteratorChain.

Prototype

public IteratorChain(Iterator<? extends E> a, Iterator<? extends E> b) 

Source Link

Document

Constructs a new IteratorChain over the two given iterators.

Usage

From source file:com.cburch.logisim.circuit.CircuitWires.java

Iterator<? extends Component> getComponents() {
    return new IteratorChain<Component>(splitters.iterator(), wires.iterator());
}