MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / set

Method set

chapter19/src/main/java/com/seaofnodes/simple/Ary.java:88–93  ·  view source on GitHub ↗

Set existing element @param i element to set @param e value to set @return old value @exception AIOOBE if !(0 <= i < _len)

( int i, E e )

Source from the content-addressed store, hash-verified

86 * @exception AIOOBE if !(0 <= i < _len)
87 */
88 public E set( int i, E e ) {
89 range_check(i);
90 E old = _es[i];
91 _es[i] = e;
92 return old;
93 }
94
95 /** Set existing element
96 * @param i element to set

Callers 15

buildCFGMethod · 0.95
functionCallMethod · 0.95
findStartMethod · 0.45
delMethod · 0.45
_instSelectMethod · 0.45
_instOutsMethod · 0.45
postOrdMethod · 0.45
swapMethod · 0.45
addMethod · 0.45
_rpo_cfgMethod · 0.45
_schedEarlyMethod · 0.45
pushMethod · 0.45

Calls 1

range_checkMethod · 0.95

Tested by 1

findStartMethod · 0.36