add missing classpath methods

This commit is contained in:
Joel Dice
2007-11-14 09:32:36 -07:00
parent d1048f9bcb
commit 69f1024887
5 changed files with 19 additions and 2 deletions

View File

@ -42,6 +42,10 @@ public class Arrays {
return array[index];
}
public T set(int index, T value) {
throw new UnsupportedOperationException();
}
public <S> S[] toArray(S[] a) {
return (S[])array;
}