You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
530 B
26 lines
530 B
package de.memtext.baseobjects.coll; |
|
|
|
import java.util.HashSet; |
|
import java.util.Set; |
|
|
|
public class IdObjectSet extends IdObjectCollection implements Set { |
|
private static final long serialVersionUID = 1; |
|
|
|
public IdObjectSet() { |
|
super(); |
|
collect = new HashSet(); |
|
} |
|
|
|
|
|
/** |
|
* Only shallow copy |
|
*/ |
|
@Override |
|
protected Object clone() throws CloneNotSupportedException { |
|
IdObjectSet c = new IdObjectSet(); |
|
c.addAll(this); |
|
return c; |
|
} |
|
} |
|
|
|
//Created on 30.1.2004
|