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

Method set

chapter16/src/main/java/com/seaofnodes/simple/Ary.java:115–120  ·  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

113 * @exception AIOOBE if !(0 <= i < _len)
114 */
115 public E set( int i, E e ) {
116 range_check(i);
117 E old = _es[i];
118 _es[i] = e;
119 return old;
120 }
121
122 public Ary<E> setLen( int len ) {
123 if( len > _len )

Callers 15

findStartMethod · 0.45
delMethod · 0.45
postOrdMethod · 0.45
swapMethod · 0.45
addMethod · 0.45
walkInfiniteMethod · 0.45
_rpo_cfgMethod · 0.45
_schedEarlyMethod · 0.45
pushMethod · 0.45
_print0Method · 0.45
setDefMethod · 0.45
subsumeMethod · 0.45

Calls 1

range_checkMethod · 0.95

Tested by 1

findStartMethod · 0.36