A B C D E F G H I O R S T U V 
All Classes All Packages

A

added(Serializable, W) - Static method in class io.github.nejckorasa.result.CmpPair
 
ADDED - io.github.nejckorasa.result.Diff
 
asMap() - Method in class io.github.nejckorasa.result.CmpResult
 

B

buildPartition(Collection<O>, Function<O, Serializable>) - Static method in class io.github.nejckorasa.CollectionPartitioner
Builds partition of collection using keyExtractor.

C

canPartition(Collection<O>, Function<O, Serializable>) - Static method in class io.github.nejckorasa.CollectionPartitioner
Checks if collection can be partitioned using key extracted using provided keyExtractor
CmpPair<B,​W> - Class in io.github.nejckorasa.result
Compare pair that represents compare result between CmpPair.base object from base collection and CmpPair.working object from working collection that are matched by the same key.
CmpResult<B,​W> - Class in io.github.nejckorasa.result
 
CmpResult(List<CmpPair<B, W>>, List<CmpPair<B, W>>, List<CmpPair<B, W>>, List<CmpPair<B, W>>) - Constructor for class io.github.nejckorasa.result.CmpResult
 
CollectionCmp<B,​W> - Class in io.github.nejckorasa
Class to compare collections of objects
CollectionCmpBuilder<B,​W> - Class in io.github.nejckorasa
Builder used to configure comparing of collections of different objects performed in CollectionCmp
CollectionCmpSameBuilder<O> - Class in io.github.nejckorasa
Builder used to configure comparing of collections of same objects performed in CollectionCmp
CollectionPartitioner - Class in io.github.nejckorasa
Utils class used to partition collection based on key extractor
CollectionPartitioner() - Constructor for class io.github.nejckorasa.CollectionPartitioner
 
compare(EqPair<B, W>...) - Method in class io.github.nejckorasa.CollectionCmpBuilder
Compare matched items based on equality pair
compare(BiFunction<B, W, Boolean>) - Method in class io.github.nejckorasa.CollectionCmpBuilder
Use equals function to compare items matched by same key.
compare(BiFunction<O, O, Boolean>) - Method in class io.github.nejckorasa.CollectionCmpSameBuilder
 
compare(Function<B, Serializable>, Function<W, Serializable>, BiFunction<B, W, Boolean>) - Method in class io.github.nejckorasa.CollectionCmp
Compares collections.
compare(Function<O, ?>...) - Method in class io.github.nejckorasa.CollectionCmpSameBuilder
 

D

Diff - Enum in io.github.nejckorasa.result
 

E

EqPair<B,​W> - Class in io.github.nejckorasa
Structure that defined if two objects are equal.
EqPair(Function<B, ?>, Function<W, ?>) - Constructor for class io.github.nejckorasa.EqPair
 
equals(B, W, EqPair<B, W>...) - Static method in class io.github.nejckorasa.ObjectCmp
Compares base and working objects using equality pair
equals(B, W, BiFunction<B, W, Boolean>) - Static method in class io.github.nejckorasa.ObjectCmp
Compares base and working objects using equals function equalsFunction.
equals(O, O) - Static method in class io.github.nejckorasa.ObjectCmp
Compares base and working objects using default equals function.
equals(O, O, Function<O, ?>) - Static method in class io.github.nejckorasa.ObjectCmp
Compares base and working objects using equality
equals(O, O, List<Function<O, ?>>) - Static method in class io.github.nejckorasa.ObjectCmp
Compares base and working objects using equalities.

F

forEach(Consumer<CmpPair<B, W>>) - Method in class io.github.nejckorasa.result.CmpResult
Performs action on each compare pair
forEachChanged(Consumer<CmpPair<B, W>>) - Method in class io.github.nejckorasa.result.CmpResult
Performs action on each changed compare pair
forEachUnchanged(Consumer<CmpPair<B, W>>) - Method in class io.github.nejckorasa.result.CmpResult
Performs action on each unchanged compare pair

G

getAdded() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs of items added to working collection
getAddedItems() - Method in class io.github.nejckorasa.result.CmpResult
Gets all items added to working collection
getAll() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs, changed and unchanged
getBase() - Method in class io.github.nejckorasa.EqPair
 
getBase() - Method in class io.github.nejckorasa.result.CmpPair
 
getChanged() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs of changed items
getChangesCount() - Method in class io.github.nejckorasa.result.CmpResult
Gets number of changes.
getDiff() - Method in class io.github.nejckorasa.result.CmpPair
 
getDifferent() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs different items - items removed from base collection or added to working collection
getDifferentCount() - Method in class io.github.nejckorasa.result.CmpResult
Gets number of different items = items removed from base collection or added to working collection.
getDifferentItems() - Method in class io.github.nejckorasa.result.CmpResult
Gets all items removed from base collection or added to working collection
getKey() - Method in class io.github.nejckorasa.result.CmpPair
 
getLatest() - Method in class io.github.nejckorasa.result.CmpPair
 
getRemoved() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs of items removed from base collection
getRemovedItems() - Method in class io.github.nejckorasa.result.CmpResult
Gets all items removed from base collection
getUnchanged() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs of unchanged items
getUpdated() - Method in class io.github.nejckorasa.result.CmpResult
Gets all compare pairs of items that exist in both collections but were updated.
getWorking() - Method in class io.github.nejckorasa.EqPair
 
getWorking() - Method in class io.github.nejckorasa.result.CmpPair
 

H

hasChanges() - Method in class io.github.nejckorasa.result.CmpResult
 
hasDifferences() - Method in class io.github.nejckorasa.result.CmpResult
 

I

io.github.nejckorasa - package io.github.nejckorasa
 
io.github.nejckorasa.result - package io.github.nejckorasa.result
 
isEqual(B, W) - Method in class io.github.nejckorasa.EqPair
 

O

ObjectCmp - Class in io.github.nejckorasa
Class to compare objects of same or different type
ObjectCmp() - Constructor for class io.github.nejckorasa.ObjectCmp
 
of(Collection<B>, Collection<B>, Function<B, Serializable>) - Static method in class io.github.nejckorasa.CollectionCmp
Initializes builder CollectionCmpBuilder to compare collections of same object types (baseList and workingList).
of(Collection<B>, Collection<W>, Function<B, Serializable>, Function<W, Serializable>) - Static method in class io.github.nejckorasa.CollectionCmp
Initializes builder CollectionCmpBuilder to compare collections of different object types (baseList and workingList).
of(Function<B, ?>, Function<W, ?>) - Static method in class io.github.nejckorasa.EqPair
 

R

removed(Serializable, B) - Static method in class io.github.nejckorasa.result.CmpPair
 
REMOVED - io.github.nejckorasa.result.Diff
 

S

stream() - Method in class io.github.nejckorasa.result.CmpResult
Streams all compare pairs
streamChanged() - Method in class io.github.nejckorasa.result.CmpResult
Streams all changed compare pairs
streamDifferent() - Method in class io.github.nejckorasa.result.CmpResult
Streams all different compare pairs
streamUnchanged() - Method in class io.github.nejckorasa.result.CmpResult
Streams all unchanged compare pairs

T

toString() - Method in class io.github.nejckorasa.result.CmpPair
 
toString() - Method in class io.github.nejckorasa.result.CmpResult
 

U

unchanged(Serializable, B) - Static method in class io.github.nejckorasa.result.CmpPair
 
UNCHANGED - io.github.nejckorasa.result.Diff
 
updated(Serializable, B, W) - Static method in class io.github.nejckorasa.result.CmpPair
 
UPDATED - io.github.nejckorasa.result.Diff
 

V

valueOf(String) - Static method in enum io.github.nejckorasa.result.Diff
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.nejckorasa.result.Diff
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I O R S T U V 
All Classes All Packages