public final class ObjectVector.Mutator extends Object implements ValueVector.Mutator
| Constructor and Description |
|---|
Mutator() |
| Modifier and Type | Method and Description |
|---|---|
void |
exchange(ValueVector.Mutator other)
Exchanges state with the mutator of another mutator.
|
void |
generateTestData(int values) |
void |
reset()
Resets the mutator to pristine state.
|
void |
set(int index,
Object obj) |
protected void |
set(int index,
ObjectHolder holder) |
boolean |
setSafe(int index,
long value) |
boolean |
setSafe(int index,
ObjectHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
public void set(int index,
Object obj)
public boolean setSafe(int index,
long value)
protected void set(int index,
ObjectHolder holder)
public boolean setSafe(int index,
ObjectHolder holder)
public void setValueCount(int valueCount)
ValueVector.MutatorsetValueCount in interface ValueVector.MutatorvalueCount - value count to set.public void reset()
ValueVector.Mutatorreset in interface ValueVector.Mutatorpublic void generateTestData(int values)
generateTestData in interface ValueVector.Mutatorpublic void exchange(ValueVector.Mutator other)
ValueVector.Mutatorexchange in interface ValueVector.MutatorCopyright © 2021 The Apache Software Foundation. All rights reserved.