PeList { public static <T extends Pe> double getMaxUtilization(List<T> peList) { double maxUtilization = 0; for (Pe pe : peList) { double utilization = pe.getPeProvisioner().getUtilization(); if (utilization > maxUtilization) { maxUtilization = utilization; } } return maxUtilization; }  static Pe getById(List<T> peList, int id); static int getMips(List<T> peList, int id); static int getTotalMips(List<T> peList); static double getMaxUtilization(List<T> peList); static double getMaxUtilizationAmongVmsPes(List<T> peList, Vm vm); static Pe getFreePe(List<T> peList); static int getNumberOfFreePes(List<T> peList); static boolean setPeStatus(List<T> peList, int id, int status); static int getNumberOfBusyPes(List<T> peList); static void setStatusFailed(
			List<T> peList,
			String resName,
			int hostId,
			boolean failed); static void setStatusFailed(List<T> peList, boolean failed);  }
@Test public void testGetMaxUtilization() { Vm vm0 = new Vm(0, 0, MIPS / 2, 1, 0, 0, 0, "", null); Vm vm1 = new Vm(1, 0, MIPS / 2, 1, 0, 0, 0, "", null); assertTrue(peList.get(0).getPeProvisioner().allocateMipsForVm(vm0, MIPS / 3)); assertTrue(peList.get(1).getPeProvisioner().allocateMipsForVm(vm1, MIPS / 5)); assertEquals((MIPS / 3) / MIPS, PeList.getMaxUtilization(peList), 0.001); }