Skip to end of metadata
Go to start of metadata

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.

 

old namenew namechanges
AbstractLongListDecoratorAbstractLongListDecorator 
DiffIndexedLongListDecoratorLongListDiffIndexedDecorator 
DynamicLongSetLongTreeSet 
EmptyLongIteratorLongEmptyIterator 
FindingLongIteratorLongFindingIteratorone method( findNext() ) instead of two; if findNext() returns false, will not be called again
IndexedLongIteratorLongIndexedIterator 
IndexedLongListIteratorLongListIndexedIterator 
IntLongMapIntLongListMap 
ListLongMapLongListMap 
LongArrayLongArray 
LongArrayIteratorLongArrayNativeIterator 
LongCollections-changed order of arguments in indexOf: (value, array, from, to)
LongCollector method addAll(LongIterator) replaced with addAll(LongIterable)
LongCollectorAdapterAbstractLongCollector 
LongFunctionLongToLong 
LongFunction2LongLongToLong 
LongFunctionsLongFunctions 
LongIterator-added hasValue() method
LongList-isUniqueSorted() -> isSortedUnique()
LongListConcatenationLongListConcatenation 
LongListInsertingDecoratorLongListInsertingDecorator 
LongListRemovingDecoratorAbstractLongListRemovingDecorator 
LongProgression-fillArray -> nativeArray, order of args: (initial, count, step) everywhere
ModifyingLongListRemovingDecoratorWritableLongListRemovingDecorator 
PairIntLongIteratorIntLongPairIterator 
ParallelLongListLongParallelList 
ReadonlyLongListRemovingDecoratorLongListRemovingDecorator 
SameValuesLongListLongSameValuesList

updated getChangeCount() method:

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

(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:

() -> 0; (x) -> 0; (0, 1) -> 1; (1, 2) -> 1
SegmentedLongArrayLongSegmentedArray 
SortedLongListIntersectionIteratorLongIntersectionIterator 
SortedLongListMinusIteratorLongMinusIterator 
TwoWayLongMapLongTwoWayMap 

 

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)

 

 

  • No labels