Borderou de evaluare (job #1850297)

Utilizator CODEDESTROYER666Bogdan Sefcic CODEDESTROYER666 Data 18 ianuarie 2017 14:53:11
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator java | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: Main.java:107: error: no suitable method found for sort(ArrayList<Punct>,<anonymous Comparator<Punct>>) Arrays.sort(pctX,new Comparator<Punct>(){ ^ method Arrays.<T#1>sort(T#1[],int,int,Comparator<? super T#1>) is not applicable (cannot instantiate from arguments because actual and formal argument lists differ in length) method Arrays.<T#2>sort(T#2[],Comparator<? super T#2>) is not applicable (no instance(s) of type variable(s) T#2 exist so that argument type ArrayList<Punct> conforms to formal parameter type T#2[]) method Arrays.sort(Object[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(Object[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(double[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(double[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(float[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(float[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(byte[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(byte[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(char[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(char[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(short[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(short[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(long[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(long[]) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(int[],int,int) is not applicable (actual and formal argument lists differ in length) method Arrays.sort(int[]) is not applicable (actual and formal argument lists differ in length) where T#1,T#2 are type-variables: T#1 extends Object declared in method <T#1>sort(T#1[],int,int,Comparator<? super T#1>) T#2 extends Object declared in method <T#2>sort(T#2[],Comparator<? super T#2>) Main.java:113: error: no suitable method found for sort(ArrayList<Punct>,<anonymous Comparator<Punct>>) Arrays.sort(pctY,new Comparator<Punct>(){ ^ method Arrays.<T#1>sort(T#1[],int,int,Comparator<? super T#1>) is not applicable (cannot instantiate from arguments because actual and formal argument lists differ in length) method Arrays.<T#2>sort(T#2[],Comparator<? super T#2>) is not applicable (no instance(s) of type variable(s) T#2 exist so that argument type ArrayList<Punct> conforms to formal parameter type T#2[]) method Arrays.sort(Object[],int,int) is not applicable

Ceva nu functioneaza?