/** * Same as {@link #set(int, TimeStampMicroTZHolder)} except that it handles the * case when index is greater than or equal to existing * value capacity {@link #getValueCapacity()}. * * @param index position of element * @param holder data holder for value of element */ public void setSafe(int index, TimeStampMicroTZHolder holder) { handleSafe(index); set(index, holder); }
/** * Same as {@link #set(int, NullableTimeStampMicroTZHolder)} except that it handles the * case when index is greater than or equal to existing * value capacity {@link #getValueCapacity()}. * * @param index position of element * @param holder nullable data holder for value of element */ public void setSafe(int index, NullableTimeStampMicroTZHolder holder) throws IllegalArgumentException { handleSafe(index); set(index, holder); }
timeStampMicroTZVector.set(index,value);