Package org.eclipse.collections.impl.utility


package org.eclipse.collections.impl.utility
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.

This package contains 7 Iteration implementations:

  • ArrayIterate - provides iteration pattern implementations that work with Arrays.
  • ArrayListIterate - provides optimized iteration pattern implementations that work with ArrayList.
  • Iterate - a router to other utility classes to provide optimized iteration pattern.
  • LazyIterate - a factory class which creates "deferred" iterables around the specified iterables.
  • ListIterate - used for iterating over lists.
  • MapIterate - used for iterating over maps.
  • StringIterate - implements the methods available on the collection protocol that make sense for Strings.
  • Classes
    Class
    Description
    This utility class provides iteration pattern implementations that work with Java arrays.
    This utility class provides optimized iteration pattern implementations that work with java.util.ArrayList.
    The Iterate utility class acts as a router to other utility classes to provide optimized iteration pattern implementations based on the type of iterable.
    LazyIterate is a factory class which creates "deferred" iterables around the specified iterables.
    The ListIterate utility class can be useful for iterating over lists, especially if there is a desire to return a MutableList from any of the iteration methods.
    The MapIterate class provides a few of the methods from the Smalltalk Collection Protocol.
     
    A string is essentially an array of characters.