Skip to content

Instantly share code, notes, and snippets.

@svenreimers
Created November 12, 2013 15:29
Show Gist options
  • Save svenreimers/7432763 to your computer and use it in GitHub Desktop.
Save svenreimers/7432763 to your computer and use it in GitHub Desktop.
void forEachOrdered(final Consumer<ObjectProperty<? super T>> action) {
stream.forEachOrdered((t) -> Platform.runLater(() -> action.accept(new SimpleObjectProperty<>(t))));
}
@guigarage
Copy link

Cool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment