Skip to content

Instantly share code, notes, and snippets.

@GibsonRuitiari
Created July 2, 2022 09:16
Show Gist options
  • Save GibsonRuitiari/32cab3cb7635add1eee206675b93f636 to your computer and use it in GitHub Desktop.
Save GibsonRuitiari/32cab3cb7635add1eee206675b93f636 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());
Iterable $this$mapNotNullTo$iv = (Iterable)exampleList;
int $i$f$mapNotNullTo = false;
int $i$f$forEach = false;
Iterator var6 = $this$mapNotNullTo$iv.iterator();
while(var6.hasNext()) {
Object element$iv$iv = var6.next();
int var9 = false;
Integer it = (Integer)element$iv$iv;
int var11 = false;
Integer var10000 = it != null ? it * 2 : null;
if (var10000 != null) {
Integer var12 = var10000;
int var14 = false;
((Collection)mutableDestination).add(var12);
}
}
Collection var15 = (Collection)mutableDestination;
System.out.println(mutableDestination);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment