Construct an empty collection.
Construct an ordered set from the given collection. this(); this.addAll(c);
this(); this.addAll(c);
Add the given object to the Set if it is not equal (equals()) to an element already in the set. if (o != null && !this.contains(o)) { return super.add(o); } return false;
if (o != null && !this.contains(o)) { return super.add(o); } return false;
Add all the elements in the given set that are not already in this ordered set. boolean setChanged = false; if (c != null) { for (Iterator itr = c.iterator(); itr.hasNext();) { if (this.add(itr.next())) { setChanged = true; } } } return setChanged;
boolean setChanged = false; if (c != null) { for (Iterator itr = c.iterator(); itr.hasNext();) { if (this.add(itr.next())) { setChanged = true; } } } return setChanged;