Package com.xebialabs.xlrelease.utils
Class FixedSizeMap<A,B>
java.lang.Object
com.xebialabs.xlrelease.utils.FixedSizeMap<A,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidclear()booleanstatic <A,B> FixedSizeMap<A, B> empty(int size) entries()scala.Option<B>booleanisEmpty()scala.collection.immutable.Set<A>keySet()intmaxSize()booleannonEmpty()scala.Option<B>booleanresize(int newSize) intsize()booleanscala.collection.immutable.Seq<B>values()
-
Constructor Details
-
FixedSizeMap
-
-
Method Details
-
empty
-
entries
-
keySet
-
values
-
isEmpty
public boolean isEmpty() -
nonEmpty
public boolean nonEmpty() -
size
public int size() -
maxSize
public int maxSize() -
get
-
add
-
update
-
compute
-
remove
-
clear
public void clear() -
resize
public boolean resize(int newSize)
-