MCPcopy Create free account
hub / github.com/apache/poi / set

Method set

src/java/org/apache/poi/util/IntList.java:576–586  ·  view source on GitHub ↗

Replaces the element at the specified position in this list with the specified element @param index index of element to replace. @param element element to be stored at the specified position. @return the element previously at the specified position. @exception IndexOutOfBoundsException if the ind

(final int index, final int element)

Source from the content-addressed store, hash-verified

574 */
575
576 public int set(final int index, final int element)
577 {
578 if (index >= _limit)
579 {
580 throw new IndexOutOfBoundsException();
581 }
582 int rval = _array[ index ];
583
584 _array[ index ] = element;
585 return rval;
586 }
587
588 /**
589 * Returns the number of elements in this list. If this list

Callers 15

testSetMethod · 0.95
createTextboxMethod · 0.45
createSimpleShapeMethod · 0.45
createConnectorMethod · 0.45
createPictureMethod · 0.45
createRowMethod · 0.45
addValidationDataMethod · 0.45
createCellMethod · 0.45
setSheetOrderMethod · 0.45
cloneStyleFromMethod · 0.45
setBlankMethod · 0.45
createTextboxMethod · 0.45

Calls

no outgoing calls

Tested by 15

testSetMethod · 0.76
makeDateMethod · 0.36
makeDateMethod · 0.36
mdMethod · 0.36
createDateMethod · 0.36
testBug19172Method · 0.36
testMMMMMMethod · 0.36