Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Java by max ( 15 years ago )
public IntList copyRange(int start, int end) {
int j=0;
IntList a= new IntList(this.get(start).info,null);
for(IntList p = this.get(start+1); p!=null; p=p.next) {
a.append(p.info);
System.out.print(p.info);
}
IntList b= this.get(end);
b.next= null;
return a;
}
public IntList clone(){
IntList b = new IntList(this.info, null);
while(this.next != null){
b.append(this.next.info);
next = next.next;
}
return b;
}
Revise this Paste
Parent: 35356