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.| AbstractLongIterator | - | |
| AbstractLongList | - | |
| AbstractLongList.SubList | - | |
| AbstractLongListDecorator | AbstractLongListDecorator | |
| AbstractLongListIndexIterator | - | |
| AbstractWritableLongList | - | |
| DiffIndexedLongListDecorator | LongListDiffIndexedDecorator | |
| DynamicLongSet | LongTreeSet | extends WritableLongSet |
| EmptyLongIterator | LongEmptyIterator | |
| FindingLongIterator | LongFindingIterator | see_javadoc |
| IndexedLongIterator | LongIndexedIterator | |
| IndexedLongListIterator | LongListIndexedIterator | |
| IntLongMap | IntLongListMap | extends IntLongMap |
| ListLongMap | LongListMap | |
| LongArray | LongArray | added methods merge*(src) |
| LongArrayIterator | LongArrayNativeIterator | |
| LongCollections | - |

 

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

...

...

LongListConcatenation

...

LongListConcatenation

...

...

 
LongListInsertingDecorator

...

LongListInsertingDecorator

...

 
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:

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 

 

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)