Java collections framework: Difference between revisions

Content deleted Content added
Map interfaces: Add information about EnumMap
Tag: Reverted
Line 106:
 
====AbstractList class====
The direct subclasses of {{java|AbstractList}} classclas include {{java|AbstractSequentialList}}, {{java|ArrayList}} and {{java|Vector}}.
 
{{java|AbstractList}} is an example of a ''skeletal implementation'', which leverages and combines the advantages of interfaces and abstract classes by making it easy for the developer to develop their own implementation for the given interface.{{sfn|Bloch|2018|loc=Chapter §4 Item 20: Prefer interfaces to abstract classes|pp=99-103}}