All Stories

Java - iterators

Iterator interface

In tutorial, iterators, java, Jan 23, 2025

Java - no_image

HashtableThis class implements a hash table, which maps keys to values. Any non-null object can be used as a key or as a value.

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

HashSetThis class implements the Set interface, backed by a hash table (actually a HashMap instance). It makes no guarantees as to the iteration order of the set; in particular, it do...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

EnumSetA specialized Set implementation for use with enum types. All of the elements in an enum set must come from a single enum type that is specified, explicitly or implicitly, when...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

EnumMapA specialized Map implementation for use with enum type keys. All of the keys in an enum map must come from a single enum type that is specified, explicitly or implicitly, when...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

ConcurrentHashMap

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Comparator interfaceComparator interface is used to order(sort) the objects in the collection in your own way. It gives you the ability to decide how elements will be sorted and store...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

ArrayListResizable-array implementation of the List interface. Implements all optional list operations, and permits all elements, including null. In addition to implementing the List ...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Object class methods

In tutorial, no_image, java, Jan 23, 2025

Java - collection

Java Collections FrameworkThe Collection in Java is a framework that provides an architecture to store and manipulate the group of objects. Java Collections can achieve all the operat...

In tutorial, collection, java, Jan 23, 2025