/** * Creates new instance of TypeItemsComparator */ public TypeItemsComparator() { List<String> locations= new ArrayList<>(); List<String> labels= new ArrayList<>(); IVMInstallType[] installs= JavaRuntime.getVMInstallTypes(); for (int i= 0; i < installs.length; i++) { processVMInstallType(installs[i], locations, labels); } fInstallLocations= locations.toArray(new String[locations.size()]); fVMNames= labels.toArray(new String[labels.size()]); }
/** * Creates new instance of TypeItemsComparator */ public TypeItemsComparator() { List<String> locations= new ArrayList<>(); List<String> labels= new ArrayList<>(); IVMInstallType[] installs= JavaRuntime.getVMInstallTypes(); for (int i= 0; i < installs.length; i++) { processVMInstallType(installs[i], locations, labels); } fInstallLocations= locations.toArray(new String[locations.size()]); fVMNames= labels.toArray(new String[labels.size()]); }
/** * Creates new instance of TypeItemsComparator */ public TypeItemsComparator() { List locations= new ArrayList(); List labels= new ArrayList(); IVMInstallType[] installs= JavaRuntime.getVMInstallTypes(); for (int i= 0; i < installs.length; i++) { processVMInstallType(installs[i], locations, labels); } fInstallLocations= (String[]) locations.toArray(new String[locations.size()]); fVMNames= (String[]) labels.toArray(new String[labels.size()]); }