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 interface Iterable
forEach, iterator, spliteratorMethods inherited from interface Standard
clear, newInstance, transferFrom
-
Constructor Details
-
SetSecondary
public SetSecondary()
-
-
Method Details
-
equals
-
hashCode
-
toString
-
add
-
remove
Description copied from interface:SetRemoves fromthisall elements ofsthat are also inthis, leavingsunchanged, and returns the elements actually removed. -
isSubset
-