#collections #scala #tuples
Scala tuple combines a fixed number of items together so that they can be passed around as a whole.
If you want to change selection, open document below and click on "Move attachment"
Scala TuplesScala - Files I/O
Scala Useful ResourcesScala Quick GuideScala Useful Resources
Selected ReadingDeveloper's Best PracticesEffective Resume WritingComputer GlossaryWho is Who
<span>Scala tuple combines a fixed number of items together so that they can be passed around as a whole. Unlike an array or list, a tuple can hold objects with different types but they are also immutable. Here is an example of a tuple holding an integer, a string, and the console:
val t = (
|status||not read|| ||reprioritisations|
|last reprioritisation on|| ||suggested re-reading day|
|started reading on|| ||finished reading on|