Skip to content

Instantly share code, notes, and snippets.

@GibsonRuitiari
Created July 2, 2022 09:29
Show Gist options
  • Save GibsonRuitiari/40834053a3290d783ae61f10b070ac50 to your computer and use it in GitHub Desktop.
Save GibsonRuitiari/40834053a3290d783ae61f10b070ac50 to your computer and use it in GitHub Desktop.
public final class MainKt {
public static final void main() {
List exampleList = CollectionsKt.listOf(new Integer[]{1, 2, 3, 4, (Integer)null});
List mutableDestination = (List)(new ArrayList());
Iterator exampleListIterator = exampleList.iterator();
while(exampleListIterator.hasNext()) {
Integer exampleListElement = (Integer)exampleListIterator.next();
if (exampleListElement != null) {
int var4 = exampleListElement * 2;
int var6 = false;
mutableDestination.add(var4);
}
}
System.out.println(mutableDestination);
}
// $FF: synthetic method
public static void main(String[] var0) {
main();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment