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.Mutator
setValueCount
in interface ValueVector.Mutator
valueCount
- value count to set.public void reset()
ValueVector.Mutator
reset
in interface ValueVector.Mutator
public void generateTestData(int values)
generateTestData
in interface ValueVector.Mutator
public void exchange(ValueVector.Mutator other)
ValueVector.Mutator
exchange
in interface ValueVector.Mutator
Copyright © 2021 The Apache Software Foundation. All rights reserved.