|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the elements which are stored at positions.@Revision(value="$Revision: 1.4 $",
date="$Date: 2006/11/09 02:10:05 $",
tag="$Name: $")
public interface Iterable<T>
TODO: Javadoc
An extension of the ImmutableIterable interface which adds support for
mutating the elements at it's positions. Please see
rcf.core.util.iterator for a discussion of the fact that this
interface contains no methods for starting an iteration.
TODO: Javadoc review, Seal/Finalize
| Method Summary | |
|---|---|
Iterator<T> |
makeNative(ImmutablePosition<T> p)
TODO: Javadoc Convert the specified position into an iterator native to this iterable. |
| Methods inherited from interface rcf.core.util.iterator.ImmutableIterable |
|---|
isCompatible, isEmpty, isNative, size |
| Method Detail |
|---|
Iterator<T> makeNative(ImmutablePosition<T> p)
ImmutableIterableImmutableIterator.copy() will be returned.
makeNative in interface ImmutableIterable<T>p - The position to return a native version of.
p if it is native to this
iterable, or, if isCompatible(p) a
position q such that q.equals(p)
&& isNative(q) && (q != p). Otherwise, if
!isCompatible(p), this method will
return null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||