def weekDays = ["Mon","Tue","Wed","Thu","Fri"];
explicitly specifying sequence type
def weekDays: String[] = ["Mon","Tue","Wed","Thu","Fri"];
Sequence within Sequence
def days = [weekDays, ["Sat","Sun"]];
compiler treats this as
def days = ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];
shorhand notation for sequence
def nums = [1..100];
more of this in here
Friday, June 19, 2009
Sequencing in JavaFx
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment