Example usage for java.util ListIterator interface-usage

List of usage examples for java.util ListIterator interface-usage

Introduction

In this page you can find the example usage for java.util ListIterator interface-usage.

Usage

From source file com.github.helenusdriver.commons.collections.iterators.TransformListIterator.java

/**
 * The <code>TransformListIterator</code> class provides a useful extension to
 * the <code>ListIterator</code> interface in cases where a transforming function
 * needs to be applied to the iterator before returning any elements.
 * <p>
 * The implementation provided here creates a list iterator which wraps around

From source file org.diorite.impl.inventory.InventoryIterator.java

public class InventoryIterator implements ListIterator<ItemStack> {
    private final Inventory inventory;
    private int nextIndex;
    private Boolean lastDirection;

    InventoryIterator(final Inventory inventory) {