Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

convention for class names in Integers: [Abstract][Writable](Int/Long)*[Modificators][Type]
Almost all changes must throw compilation error in old code except methods from (Int/Long)Progression class, where was changed arguments order in methods.

 

major
old namenew name
changes
AbstractLongIterator- 
AbstractLongList- 
AbstractLongList.SubList- 
AbstractLongListDecoratorAbstractLongListDecorator 
AbstractLongListIndexIterator- 
AbstractWritableLongList- 
DiffIndexedLongListDecoratorLongListDiffIndexedDecorator 
DynamicLongSetLongTreeSetextends WritableLongSet 
EmptyLongIteratorLongEmptyIterator 
FindingLongIteratorLongFindingIteratorsee_javadocone method( findNext() ) instead of two; if findNext() returns false, will not be called again
IndexedLongIteratorLongIndexedIterator 
IndexedLongListIteratorLongListIndexedIterator 
IntLongMapIntLongListMapextends IntLongMap 
ListLongMapLongListMap 
LongArrayLongArrayadded methods merge*(src) 
LongArrayIteratorLongArrayNativeIterator 
LongCollections-changed order of arguments in indexOf: (value, array, from, to)
LongCollector- method addAll(LongIterator) replaced with addAll(LongIterable)
LongCollectorAdapterAbstractLongCollector 
LongFunctionLongToLong 
LongFunction2LongLongToLong 
LongFunctionsLongFunctions 
LongIterable- 
LongIterables- 
LongIterator-added hasValue()
LongIterator.Single- 
method
LongList-isUniqueSorted() -> isSortedUnique(), get(indices)
LongListConcatenationLongListConcatenation 
LongListInsertingDecoratorLongListInsertingDecorator 
LongListIterator- 
LongListRemovingDecoratorAbstractLongListRemovingDecorator 
LongObjMap- 
LongProcedure- 
LongProcedure2- 
LongProgression-fillArray -> nativeArray, order of arsargs: (initial, count, step) everywhere
LongProgression.Arithmetic- 
LongProgression.ArithmeticIterator- 
LongSegment- 
LongSegments- 
LongSetBuilder-extends LongSet, merge-logic extracted to LongArray
ModifyingLongListRemovingDecoratorWritableLongListRemovingDecorator 
PairIntLongIteratorIntLongPairIteratorextends IntLongIterator 
ParallelLongListLongParallelList 
ReadonlyLongListRemovingDecoratorLongListRemovingDecorator 
SameValuesLongListLongSameValuesList

updated getChangeCount()

, added create(values) method
SegmentedLongArrayLongSegmentedArrayadded create(values) method
SortedLongListIntersectionIteratorLongIntersectionIteratorcan iterate across a lot of iterables

method:

old version doesn't count first element if it was zero and simply returns size of internal map:

Code Block
(0, 1, 2) -> 2; (1, 2, 3) -> 3;
() -> 0; (1) -> 1; (0) -> 0

new version returns count of changes between adjacent indices in this list:

Code Block
() -> 0; (x) -> 0; (0, 1) -> 1; (1, 2) -> 1
SegmentedLongArrayLongSegmentedArray 
SortedLongListIntersectionIteratorLongIntersectionIterator 
SortedLongListMinusIteratorLongMinusIterator 
TwoWayLongMapLongTwoWayMap 
WritableLongList- 
WritableLongListIterator- 

 

Incompatible changes in release(0.519) : 

    • Methods arrayCopy and indexOf from IntegersUtils moved to IntCollections and LongCollections
    • LongParallelListMap.iterator() returns LongLongIterator. Methods #getKey, #getValue, #setValue renamed with #getLeft, #getRight, #setRight
    • LongObjMap renamed to LongObjListMap. Added interface LongObjMap
    • WritableLongList inheritors(LongArrayLongSameValuesListLongSegmentedArray): #setAll(idx, values, sourceIdx, count) throws IllegalArgumentException if (count < 0)