H
Hendrik Maryns
Hi,
If I have
final private HashMap<FunctionInputTuple, State> transitions = new
HashMap<FunctionInputTuple, State>();
And elsewhere
for (Entry<FunctionInputTuple, State> transition :
transitions.entrySet().iterator()) {
}
Eclipse gives me the error: Can only iterate over an array or an
instance of java.lang.Iterable.
Why does this not work? Or is it a bug in Eclipse?
TIA, H.
--
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org
If I have
final private HashMap<FunctionInputTuple, State> transitions = new
HashMap<FunctionInputTuple, State>();
And elsewhere
for (Entry<FunctionInputTuple, State> transition :
transitions.entrySet().iterator()) {
}
Eclipse gives me the error: Can only iterate over an array or an
instance of java.lang.Iterable.
Why does this not work? Or is it a bug in Eclipse?
TIA, H.
--
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org