Package htsjdk.samtools.cram.common
Class MutableInt
java.lang.Object
htsjdk.samtools.cram.common.MutableInt
Mutable integer class suitable for use with collection classes that take a type parameter.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a mutable integer with initial value 0.MutableInt(int initialValue) Create a mutable integer with initial valueinitialValue. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()incrementValue(int increment) Increment the current value byinitialValue.
-
Field Details
-
value
public int value
-
-
Constructor Details
-
MutableInt
public MutableInt()Create a mutable integer with initial value 0. -
MutableInt
public MutableInt(int initialValue) Create a mutable integer with initial valueinitialValue.- Parameters:
initialValue-
-
-
Method Details