public interface MutablePeriodTokenSequence extends PeriodTokenSequence, MutableScalarTokenSequence
MutableTokenSequence containing period valued data.TokenTypeConstant#PERIOD| Modifier and Type | Method and Description |
|---|---|
void |
append(Period value)
Appends the specified period to this sequence.
|
void |
append(Period value,
int count)
Appends the specified period to this sequence
multiple times.
|
void |
appendPeriod(int years,
int months,
int days)
Appends the period specified in years, months, and days
to this sequence.
|
void |
appendPeriod(int years,
int months,
int days,
int count)
Appends the period specified in years, months, and days
to this sequence multiple times.
|
PeriodSettable |
getTokenSetter(int index)
Returns a mutator for the given index.
|
void |
set(int index,
Period value)
Sets the token at the specified position to the given value.
|
void |
setPeriod(int index,
int years,
int months,
int days)
Sets the token at the specified position to the given value.
|
getDays, getMonths, getPeriod, getToken, getValues, getYears, newValueIteratorensureCanonical, getModificationCountgetType, isNull, isZeroappendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringappend, append, append, appendvoid append(Period value)
value - the value to append. If null,
this is equivalent to appendNull().void appendPeriod(int years,
int months,
int days)
years - the number of years in the period.months - the number of months in the period.days - the number of days in the period.void append(Period value, int count)
value - the value to append. If null,
this is equivalent to appendNull().count - the number of copies to append.void appendPeriod(int years,
int months,
int days,
int count)
years - the number of years in the period.months - the number of months in the period.days - the number of days in the period.count - the number of copies to append.void set(int index,
Period value)
index - the position to modifyvalue - the period to which to set the token.void setPeriod(int index,
int years,
int months,
int days)
index - the position to modifyyears - the number of years in the period.months - the number of months in the period.days - the number of days in the period.PeriodSettable getTokenSetter(int index)
MutableTokenSequencegetTokenSetter in interface MutableScalarTokenSequencegetTokenSetter in interface MutableTokenSequenceindex - the positionCopyright © 2020 Actian Corporation. All rights reserved.