Package com.github.elibracha.model
Class ChangedList<T>
- java.lang.Object
-
- com.github.elibracha.model.ChangedList<T>
-
- All Implemented Interfaces:
Changed
- Direct Known Subclasses:
ChangedEnum,ChangedList.SimpleChangedList,ChangedRequired,ChangedSecuritySchemeScopes
public abstract class ChangedList<T> extends Object implements Changed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChangedList.SimpleChangedList<T>
-
Constructor Summary
Constructors Modifier Constructor Description protectedChangedList(List<T> oldValue, List<T> newValue, DiffContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DiffResultisChanged()abstract DiffResultisItemsChanged()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.elibracha.model.Changed
isCompatible, isDifferent, isIncompatible, isUnchanged
-
-
-
-
Field Detail
-
context
protected DiffContext context
-
-
Constructor Detail
-
ChangedList
protected ChangedList(List<T> oldValue, List<T> newValue, DiffContext context)
-
-
Method Detail
-
isChanged
public DiffResult isChanged()
-
isItemsChanged
public abstract DiffResult isItemsChanged()
-
-