scalax.control

class ConcurrentHashSet

[source: scalax/control/ConcurrentHashSet.scala]

class ConcurrentHashSet[A](val jmap : java.util.concurrent.ConcurrentHashMap[A, scala.List[Any]])
extends scala.collection.mutable.Set[A]
Additional Constructor Summary
def this : ConcurrentHashSet[A]
Method Summary
def += (elem : A) : Unit
def -= (elem : A) : Unit
override def clear : Unit
override def clone : scala.collection.mutable.Set[A]
This method creates and returns a copy of the receiver object.
def contains (elem : A) : Boolean
def elements : scala.Iterator[A]
override def isEmpty : Boolean
def size : Int
def testAndAdd (elem : A) : Boolean
def testAndRemove (elem : A) : Boolean
Methods inherited from scala.collection.mutable.Set
scala.collection.mutable.Set.update, scala.collection.mutable.Set.+=, scala.collection.mutable.Set.++=, scala.collection.mutable.Set.++=, scala.collection.mutable.Set.+, scala.collection.mutable.Set.+, scala.collection.mutable.Set.++, scala.collection.mutable.Set.++, scala.collection.mutable.Set.incl, scala.collection.mutable.Set.-=, scala.collection.mutable.Set.--=, scala.collection.mutable.Set.--=, scala.collection.mutable.Set.-, scala.collection.mutable.Set.-, scala.collection.mutable.Set.--, scala.collection.mutable.Set.--, scala.collection.mutable.Set.excl, scala.collection.mutable.Set.intersect, scala.collection.mutable.Set.retain, scala.collection.mutable.Set.<<, scala.collection.mutable.Set.readOnly
Methods inherited from scala.collection.Set
scala.collection.Set.apply, scala.collection.Set.subsetOf, scala.collection.Set.*, scala.collection.Set.**, scala.collection.Set.equals, scala.collection.Set.hashCode, scala.collection.Set.toArray, scala.collection.Set.stringPrefix
Methods inherited from scala.Collection
scala.Collection.toString
Methods inherited from scala.Iterable
scala.Iterable.concat, scala.Iterable.++, scala.Iterable.map, scala.Iterable.flatMap, scala.Iterable.filter, scala.Iterable.partition, scala.Iterable.takeWhile, scala.Iterable.dropWhile, scala.Iterable.take, scala.Iterable.drop, scala.Iterable.foreach, scala.Iterable.forall, scala.Iterable.exists, scala.Iterable.find, scala.Iterable.findIndexOf, scala.Iterable.indexOf, scala.Iterable.foldLeft, scala.Iterable.foldRight, scala.Iterable./:, scala.Iterable.:\, scala.Iterable.reduceLeft, scala.Iterable.reduceRight, scala.Iterable.copyToBuffer, scala.Iterable.sameElements, scala.Iterable.toList, scala.Iterable.toSeq, scala.Iterable.toStream, scala.Iterable.mkString, scala.Iterable.mkString, scala.Iterable.mkString, scala.Iterable.addString, scala.Iterable.addString, scala.Iterable.addString, scala.Iterable.copyToArray, scala.Iterable.projection, scala.Iterable.hasDefiniteSize
Methods inherited from scala.Function1
scala.Function1.compose, scala.Function1.andThen
Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this : ConcurrentHashSet[A]

Method Details
def +=(elem : A) : Unit
Overrides
scala.collection.mutable.Set.scala.collection.mutable.Set.+=

def -=(elem : A) : Unit
Overrides
scala.collection.mutable.Set.scala.collection.mutable.Set.-=

override def clear : Unit
Overrides
scala.collection.mutable.Set.scala.collection.mutable.Set.clear

override def clone : scala.collection.mutable.Set[A]
This method creates and returns a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Returns
a copy of the receiver object.

Overrides
scala.collection.mutable.Set.scala.collection.mutable.Set.clone

def contains(elem : A) : Boolean

def elements : scala.Iterator[A]

override def isEmpty : Boolean

def size : Int

def testAndAdd(elem : A) : Boolean

def testAndRemove(elem : A) : Boolean


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.