Converting java.util.List into a JavaFX sequence

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-03-15T06:27:02Z Indexed on 2010/03/15 6:29 UTC
Read the original article Hit count: 164

Filed under:
|

What is the most concise way of converting a java.util.List into a normal JavaFX sequence (in JavaFX)?

e.g.

def myList = java.util.Arrays.asList(1, 2, 3);
def mySequence = ... // a sequence containing [1, 2, 3]

© Stack Overflow or respective owner

Related posts about javafx

Related posts about sequence