Download Latest Version FlexiList-javadoc.jar (119.4 kB)
Email in envelope

Get an email when there's a new version of FlexiList.

Home / FlexiListv0.1
Name Modified Size InfoDownloads / Week
Parent folder
FlexiList-javadoc.jar 2024-06-10 119.4 kB
FlexiList.jar 2024-06-10 9.8 kB
FlexiList.zip 2024-06-10 121.7 kB
README.md 2024-06-10 1.1 kB
Totals: 4 Items   252.0 kB 0

FlexiList FlexiList is a Java data structure that combines the benefits of arrays and linked lists. Like an array, it allows for efficient access to elements by index. Like a linked list, it allows for efficient insertion and deletion of elements at any position in the list.

Benefits Over Arrays and ArrayList Efficient Insertion and Deletion: FlexiList can insert or delete nodes at any position in the list in O(1) time, whereas arrays require shifting all elements after the insertion or deletion point.

_Dynamic Size: FlexiList can grow or shrink dynamically as elements are added or removed, whereas arrays have a fixed size.

Good Memory Locality: FlexiList nodes are stored in a contiguous block of memory, making it more cache-friendly than arrays.

Faster Insertion and Deletion: FlexiList can insert or delete nodes at any position in the list in O(1) time, whereas ArrayList requires shifting all elements after the insertion or deletion point.

Better Memory Efficiency: FlexiList uses less memory than ArrayList because it doesn't need to store a separate array of indices._

Source: README.md, updated 2024-06-10