Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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 
  • No labels