Computer Science 210
Data Structures
Fall 2020, Siena College
Class Examples
Class examples will be linked below. Please report any missing
examples. Some early examples will be links to web pages or zip
files, then we will use GitHub repositories. If you have trouble
accessing any example, please say so and we'll figure it out!
- Introduction
-
- Late - Late penalty calculator
- Java Review
-
- ArrayLists
-
- General Purpose Classes
-
- Pair-examples
- DoublePair - a general purpose class that holds a pair of double values
- ObjectPair - a general purpose class that holds a pair of Object values
- GenericPair - a generic pair class using Java generics (type parameters)
- Spells-examples
- Arrays/SpellsArrays - parallel arrays
- GenericPair/SpellsArrayGenericPair - replace the parallel arrays with an array of GenericPair objects
- Association/SpellsArrayAssociation - an array of Association objects
- Linked Structures
-
- Trees
-
- Maps and Hashing
-