I am doing some conversion process from C# to java. I am struck with c# foreach statement.
Here I give the coding, foreach (MapFieldInfo item in Fields) { if (item == null) { continue; } if (item.Field.Equals(fieldInfo)) { exp = item.NewExpression; break; } }
Here the MapFieldInfo in another class. I need the equivalent java for loop for this statement.