Skip to content

Glossary: Java Basics

Set

Also written: sets, HashSet, TreeSet

A collection with no duplicates; adding something already there does nothing. Use it when you only care whether something is present.

Where the book teaches it

Related terms

MapHashMapHash code