|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.collection.set.SetDelta<E>
E - public class SetDelta<E>
A SetDelta calculates the changes between two given Sets
| Constructor Summary | |
|---|---|
SetDelta(Set<E> firstSet,
Set<E> secondSet)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Set<E> |
getAddedElementSet()
Returns all elements which have been added to the first Set to became the second Set |
Set<E> |
getRemovedElementSet()
Returns all elements which have been removed from the first Set to become the second Set |
Set<E> |
getRetainedElementSet()
Returns all elements which does not have changed between the first and the second Set |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetDelta(Set<E> firstSet,
Set<E> secondSet)
firstSet - secondSet - SetDelta| Method Detail |
|---|
public Set<E> getAddedElementSet()
Set to became the second Set
public Set<E> getRemovedElementSet()
Set to become the second Set
public Set<E> getRetainedElementSet()
Set
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||