Package components.set
Class SetSecondary<T>
java.lang.Object
components.set.SetSecondary<T>
- Type Parameters:
T- type ofSetelements
Layered implementations of secondary methods for
Set.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds tothisall elements ofsthat are not already inthis, also removing just those elements froms.final booleaninthashCode()booleanReports whetherthisis a subset ofs.Removes fromthisall elements ofsthat are also inthis, leavingsunchanged, and returns the elements actually removed.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface components.standard.Standard
clear, newInstance, transferFrom
-
Constructor Details
-
SetSecondary
public SetSecondary()
-
-
Method Details
-
equals
-
hashCode
-
toString
-
add
Description copied from interface:SetAdds tothisall elements ofsthat are not already inthis, also removing just those elements froms. -
remove
Description copied from interface:SetRemoves fromthisall elements ofsthat are also inthis, leavingsunchanged, and returns the elements actually removed. -
isSubset
Description copied from interface:SetReports whetherthisis a subset ofs.
-