Example usage for java.util Collection interface-usage

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

Introduction

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

Usage

From source file org.exist.collections.MutableCollection.java

/**
 * An implementation of {@link Collection} that allows
 * mutations to be made to the Collection object
 *
 * Locks should be taken appropriately for any mutation
 */

From source file ArrayStack.java

/**
 * Defines a collection that allows objects to be removed in some well-defined order.
 * <p>
 * The removal order can be based on insertion order (eg, a FIFO queue or a
 * LIFO stack), on access order (eg, an LRU cache), on some arbitrary comparator
 * (eg, a priority queue) or on any other well-defined ordering.