Package org.magicwerk.brownies.collections.helper
This packages contains helper classes for the package org.magicwerk.brownies.collections.
-
Class Summary Class Description ArraysHelper The class ArraysHelper adds method for handling boolean arrays which are missing in java.util.Arrays, e.g.BigLists Helper class to create wrapper list objects wrapping primitive BigLists.GapLists Helper class offering various functionality:
- create wrapper list objects wrapping primitive GapLists
- methods interacting with CharSequence, Reader, InputStreamGapLists.CollectorImpl<T,A,R> IdentMapper<E> Identity mapper.MergeSort<E> This class implements a stable in-place merge sort.MutableInt A mutableint
wrapper.NaturalComparator<T> The NaturalComparator will compare object using their natural order.NullComparator<T> A NullComparator extends an existing comparator so it can handle null values.Option<T> ClassOption
stores a single value which may also be null.SingletonComparator<T> Abstract base class for implementing a singleton comparator.SortedLists Static methods pertaining to sortedList
instances. -
Enum Summary Enum Description SortedLists.KeyAbsentBehavior A specification for which index to return if the list contains no elements that compare as equal to the key.SortedLists.KeyPresentBehavior A specification for which index to return if the list contains at least one element that compares as equal to the key.