Uses of Class
io.github.nejckorasa.result.CmpPair
-
Packages that use CmpPair Package Description io.github.nejckorasa.result -
-
Uses of CmpPair in io.github.nejckorasa.result
Methods in io.github.nejckorasa.result that return CmpPair Modifier and Type Method Description static <B,W>
CmpPair<B,W>CmpPair. added(Serializable key, W working)
static <B,W>
CmpPair<B,W>CmpPair. removed(Serializable key, B base)
static <B,W>
CmpPair<B,W>CmpPair. unchanged(Serializable key, B base)
static <B,W>
CmpPair<B,W>CmpPair. updated(Serializable key, B base, W working)
Methods in io.github.nejckorasa.result that return types with arguments of type CmpPair Modifier and Type Method Description Map<Diff,Collection<CmpPair<B,W>>>
CmpResult. asMap()
List<CmpPair<B,W>>
CmpResult. getAdded()
Gets all compare pairs of items added to working collectionList<CmpPair<B,W>>
CmpResult. getAll()
Gets all compare pairs, changed and unchangedList<CmpPair<B,W>>
CmpResult. getChanged()
Gets all compare pairs of changed itemsList<CmpPair<B,W>>
CmpResult. getDifferent()
Gets all compare pairs different items - items removed from base collection or added to working collectionList<CmpPair<B,W>>
CmpResult. getRemoved()
Gets all compare pairs of items removed from base collectionList<CmpPair<B,W>>
CmpResult. getUnchanged()
Gets all compare pairs of unchanged itemsList<CmpPair<B,W>>
CmpResult. getUpdated()
Gets all compare pairs of items that exist in both collections but were updated.Stream<CmpPair<B,W>>
CmpResult. stream()
Streams all compare pairsStream<CmpPair<B,W>>
CmpResult. streamChanged()
Streams all changed compare pairsStream<CmpPair<B,W>>
CmpResult. streamDifferent()
Streams all different compare pairsStream<CmpPair<B,W>>
CmpResult. streamUnchanged()
Streams all unchanged compare pairsMethod parameters in io.github.nejckorasa.result with type arguments of type CmpPair Modifier and Type Method Description void
CmpResult. forEach(Consumer<CmpPair<B,W>> action)
Performs action on each compare pairvoid
CmpResult. forEachChanged(Consumer<CmpPair<B,W>> action)
Performs action on each changed compare pairvoid
CmpResult. forEachUnchanged(Consumer<CmpPair<B,W>> action)
Performs action on each unchanged compare pairConstructor parameters in io.github.nejckorasa.result with type arguments of type CmpPair Constructor Description CmpResult(List<CmpPair<B,W>> removed, List<CmpPair<B,W>> added, List<CmpPair<B,W>> updated, List<CmpPair<B,W>> unchanged)
-