Maps/OOP: Difference between revisions
From charlesreid1
(Created page with "==Notes== This page describes the application of object oriented principles to the Maps / Dictionaries data type. * Start by describing the inheritance diagram * Then...") |
(→Notes) |
||
| Line 6: | Line 6: | ||
* Composition design pattern for utility classes | * Composition design pattern for utility classes | ||
* How to use binary search to find keys in an ArrayList containing composite objects | * How to use binary search to find keys in an ArrayList containing composite objects | ||
==Inheritance Diagram== | |||
[[Image:MapsInheritanceDiagram.png|500px]] | |||
The top-level base class is the Map interface class, which defines public behaviors that Map objects must expose. | |||
==Flags== | ==Flags== | ||
{{MapsFlag}} | {{MapsFlag}} | ||
Revision as of 06:51, 26 June 2017
Notes
This page describes the application of object oriented principles to the Maps / Dictionaries data type.
- Start by describing the inheritance diagram
- Then describe the use of OOP principles - comparators, iterables, and encapsulation
- Composition design pattern for utility classes
- How to use binary search to find keys in an ArrayList containing composite objects
Inheritance Diagram
The top-level base class is the Map interface class, which defines public behaviors that Map objects must expose.
Flags
| Maps and Dictionaries Part of Computer Science Notes
Series on Data Structures
Maps/Dictionaries Maps · Maps/ADT · Maps in Java · Maps/OOP · Maps/Operations and Performance Map implementations: Maps/AbstractMap · Maps/UnsortedArrayMap · Maps/SortedArrayMap Dictionary implementations: Dictionaries/LinkedDict · Dictionaries/ArrayDict
Hashes Hash Maps/OOP · Hash Maps/Operations and Performance Hash Maps/Dynamic Resizing · Hash Maps/Collision Handling with Chaining Hash functions: Hash Functions · Hash Functions/Cyclic Permutation Hash map implementations: Hash Maps/AbstractHashMap · Hash Maps/ChainedHashMap
Skip Lists · Java/ConcurrentSkipList · Java implementations: SkipList
Sets Sets · Sets/ADT · Sets in Java · Sets/OOP · Multisets
|