public class TimeStampedHashSet<A>
extends Object
implements scala.collection.mutable.Set<A>
scala.collection.SetLike.SubsetsItr
scala.collection.TraversableLike.WithFilter
scala.collection.TraversableOnce.BufferedCanBuildFrom<A,Coll extends scala.collection.TraversableOnce<Object>>, scala.collection.TraversableOnce.FlattenOps<A>, scala.collection.TraversableOnce.ForceImplicitAmbiguity, scala.collection.TraversableOnce.MonadOps<A>, scala.collection.TraversableOnce.OnceCanBuildFrom<A>
Constructor and Description |
---|
TimeStampedHashSet() |
Modifier and Type | Method and Description |
---|---|
void |
clearOldValues(long threshTime)
Removes old values that have timestamp earlier than
threshTime |
boolean |
contains(A key) |
scala.collection.mutable.Set<A> |
empty() |
<U> void |
foreach(scala.Function1<A,U> f) |
java.util.concurrent.ConcurrentHashMap<A,Object> |
internalMap() |
scala.collection.Iterator<A> |
iterator() |
int |
size() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$less$less, $minus, $minus, $minus$eq, $minus$minus, $plus, $plus, $plus$eq, $plus$plus, add, clear, clone, newBuilder, parCombiner, remove, result, retain, update
diff, isEmpty, map, scala$collection$SetLike$$super$map, stringPrefix, subsets, subsets, toBuffer, toSeq, toString, union
canEqual, copyToArray, drop, dropRight, exists, find, foldRight, forall, grouped, head, reduceRight, sameElements, slice, sliding, sliding, take, takeRight, takeWhile, thisCollection, toCollection, toIterable, toIterator, toStream, view, view, zip, zipAll, zipWithIndex
$plus$plus, $plus$plus$colon, $plus$plus$colon, collect, dropWhile, filter, filterNot, flatMap, groupBy, hasDefiniteSize, headOption, init, inits, isTraversableAgain, last, lastOption, partition, repr, scan, scanLeft, scanRight, sliceWithKnownBound, sliceWithKnownDelta, span, splitAt, tail, tails, to, toTraversable, withFilter
$colon$bslash, $div$colon, addString, addString, addString, aggregate, collectFirst, copyToArray, copyToArray, copyToBuffer, count, fold, foldLeft, max, maxBy, min, minBy, mkString, mkString, mkString, nonEmpty, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRightOption, reversed, sum, toArray, toIndexedSeq, toList, toMap, toSet, toVector
$amp, $amp$tilde, $bar, apply, equals, hashCode, intersect, subsetOf
andThen, andThen$mcDD$sp, andThen$mcDF$sp, andThen$mcDI$sp, andThen$mcDJ$sp, andThen$mcFD$sp, andThen$mcFF$sp, andThen$mcFI$sp, andThen$mcFJ$sp, andThen$mcID$sp, andThen$mcIF$sp, andThen$mcII$sp, andThen$mcIJ$sp, andThen$mcJD$sp, andThen$mcJF$sp, andThen$mcJI$sp, andThen$mcJJ$sp, andThen$mcVD$sp, andThen$mcVF$sp, andThen$mcVI$sp, andThen$mcVJ$sp, andThen$mcZD$sp, andThen$mcZF$sp, andThen$mcZI$sp, andThen$mcZJ$sp, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, compose$mcDD$sp, compose$mcDF$sp, compose$mcDI$sp, compose$mcDJ$sp, compose$mcFD$sp, compose$mcFF$sp, compose$mcFI$sp, compose$mcFJ$sp, compose$mcID$sp, compose$mcIF$sp, compose$mcII$sp, compose$mcIJ$sp, compose$mcJD$sp, compose$mcJF$sp, compose$mcJI$sp, compose$mcJJ$sp, compose$mcVD$sp, compose$mcVF$sp, compose$mcVI$sp, compose$mcVJ$sp, compose$mcZD$sp, compose$mcZF$sp, compose$mcZI$sp, compose$mcZJ$sp
public java.util.concurrent.ConcurrentHashMap<A,Object> internalMap()
public boolean contains(A key)
public scala.collection.Iterator<A> iterator()
iterator
in interface scala.collection.GenIterableLike<A,scala.collection.mutable.Set<A>>
iterator
in interface scala.collection.GenSetLike<A,scala.collection.mutable.Set<A>>
iterator
in interface scala.collection.IterableLike<A,scala.collection.mutable.Set<A>>
public scala.collection.mutable.Set<A> empty()
public int size()
public <U> void foreach(scala.Function1<A,U> f)
foreach
in interface scala.collection.generic.FilterMonadic<A,scala.collection.mutable.Set<A>>
foreach
in interface scala.collection.generic.GenericTraversableTemplate<A,scala.collection.mutable.Set>
foreach
in interface scala.collection.GenTraversableLike<A,scala.collection.mutable.Set<A>>
foreach
in interface scala.collection.GenTraversableOnce<A>
foreach
in interface scala.collection.IterableLike<A,scala.collection.mutable.Set<A>>
foreach
in interface scala.collection.TraversableLike<A,scala.collection.mutable.Set<A>>
foreach
in interface scala.collection.TraversableOnce<A>
public void clearOldValues(long threshTime)
threshTime