(List<Integer> lb)
| 61 | } |
| 62 | |
| 63 | public void fromList(List<Integer> lb) { |
| 64 | if(lb==null || lb.size()==0) |
| 65 | return; |
| 66 | Integer ab[] = lb.toArray(new Integer[0]); |
| 67 | int a[] = new int[ab.length]; |
| 68 | for(int i=0; i<ab.length; i++) |
| 69 | a[i] = ab[i]; |
| 70 | fromArray(a); |
| 71 | } |
| 72 | |
| 73 | public List<Integer> toList() { |
| 74 | int[] a = toArray(); |