What You Can Do with JavaFX Sequencesand Can't with Arrays in Java
JavaFX sequences are arrays with some clever extra functionality. They differ widely from Java primitive arrays, and actually have more in common with Java's collection classes. Learn how to define, extend, retract, slice, and filter JavaFX sequences.
by Simon Morris
November 4, 2008
avaFX is a set of Java-based, rich user interface technologies that sits atop the existing Java Standard and Micro Editions, making current Java packages readily accessible from the JavaFX environment. At its heart is JavaFX Script, an innovative, compiled, domain-specific language.
Chapter 2 of JavaFX in Action, a hands-on tutorial that introduces and explores JavaFX through numerous bite-sized projects, focuses on JavaFX Script data and variables. In this chapter, author Simon Morris introduces JavaFX Script sequences. Sequences are arrays with some clever extra functionality, making them more useful to the type of work JavaFX is designed to do. They differ widely from Java primitive arrays; indeed, they have more in common with Java's collection classes.
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!
Simon Morris has been programming Java since 1996. His experience encompasses web and desktop projects for commercial, academic, and government clients. He blogs on Java and rich UI topics at Java.net. Simon lives and works in the UK.