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 TypeMethodDescriptionboolean
void
clear()
boolean
static <A,
B> FixedSizeMap <A, B> empty
(int size) entries()
scala.Option
<B> boolean
isEmpty()
scala.collection.immutable.Set
<A> keySet()
int
maxSize()
boolean
nonEmpty()
scala.Option
<B> boolean
resize
(int newSize) int
size()
boolean
scala.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)
-