O'Reilly logo

JavaFX™ Developer’s Guide by Kim Topley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Sequences

JavaFX has an extremely useful data type called a sequence that is the subject of this chapter. A sequence is a one-dimensional, ordered collection of zero or more elements that share a common base type. In some ways, a sequence is like a Java array, but it also has some of the characteristics of a Java collection. In the first part this chapter, you see how to create sequences, how to modify them, and how to query them.

Although sequences are the primary multivalue data type in JavaFX, there is also basic support for Java arrays, which are supported only to make it possible to efficiently work with Java methods that require array arguments or return array values. The JavaFX support for Java arrays is discussed in the second part ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required