diff options
author | botn365 <42187820+botn365@users.noreply.github.com> | 2019-12-08 12:54:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-08 12:54:21 +0100 |
commit | 584ebeaa18fba9de4922b09def9f7cf1b5d31eae (patch) | |
tree | f74277077620b21df5dae75083975be3ca11dc8a /src/Java/gtPlusPlus/api/objects/data/ConcurrentHashSet.java | |
parent | 9ba6d563d1b69bc8aa88d48754c273dae77aa713 (diff) | |
parent | e49fbd1330c0875ff531ff25119afe15b54c9448 (diff) | |
download | GT5-Unofficial-584ebeaa18fba9de4922b09def9f7cf1b5d31eae.tar.gz GT5-Unofficial-584ebeaa18fba9de4922b09def9f7cf1b5d31eae.tar.bz2 GT5-Unofficial-584ebeaa18fba9de4922b09def9f7cf1b5d31eae.zip |
Merge pull request #1 from alkcorp/DevTop
Dev top
Diffstat (limited to 'src/Java/gtPlusPlus/api/objects/data/ConcurrentHashSet.java')
-rw-r--r-- | src/Java/gtPlusPlus/api/objects/data/ConcurrentHashSet.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/api/objects/data/ConcurrentHashSet.java b/src/Java/gtPlusPlus/api/objects/data/ConcurrentHashSet.java new file mode 100644 index 0000000000..991908e402 --- /dev/null +++ b/src/Java/gtPlusPlus/api/objects/data/ConcurrentHashSet.java @@ -0,0 +1,18 @@ +package gtPlusPlus.api.objects.data; + +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; + +public class ConcurrentHashSet<V> extends ConcurrentSet<V> { + + private static final long serialVersionUID = -1293478938482781728L; + + public ConcurrentHashSet() { + this(new ConcurrentHashMap<Integer, V>()); + } + + public ConcurrentHashSet(ConcurrentMap<Integer, V> defaultMapType) { + super(defaultMapType); + } + +} |