fabric.common.util
Interface LongIterable

All Known Subinterfaces:
LongCollection, LongSet
All Known Implementing Classes:
AbstractLongCollection, AbstractLongSet, LongHashSet

public interface LongIterable

This interface is used to indicate that a given class can be iterated over. The compiler uses this interface to determine which classes are suitable targets of the foreach construct.

Since:
1.5
Author:
Tom Tromey

Method Summary
 LongIterator iterator()
          Returns an iterator for the collection.
 

Method Detail

iterator

LongIterator iterator()
Returns an iterator for the collection.

Returns:
an iterator.