example.platform.power/src/example/platform/power/ExamplePlatformKernel.java
private List<WakeLocks> sortSetByWakeTime(Set<WakeLocks> scheduledLocks)
    {
        List<WakeLocks> list = new ArrayList<WakeLocks>(scheduledLocks);
        Collections.sort(list, wakeTimeComparator);
        return list;
    }
/**
     * Sorts a {@link Set} of {@link WakeLocks} by starting time and returns the sorted list
     * @param scheduledLocks
     *      the set of WakeLocks to sort
     * @return
     *      the sorted {@link List} of WakeLocks
     */
Sorts a  Set of  WakeLocks by starting time and returns the sorted list
@param scheduledLocks
the set of WakeLocks to sort
@return
the sorted  List of WakeLocks
Sorts a Set of WakeLocks by starting time and returns the sorted list @param scheduledLocks the set of WakeLocks to sort @return the sorted List of WakeLocks
private List<WakeLocks> sortSetByWakeTime(Set<WakeLocks> scheduledLocks)
    {
        List<WakeLocks> list = new ArrayList<WakeLocks>(scheduledLocks);
        Collections.sort(list, wakeTimeComparator);
        return list;
    }
private List < WakeLocks > sortSetByWakeTime ( Set < WakeLocks > scheduledLocks ) { List < WakeLocks > list = new ArrayList < WakeLocks > ( scheduledLocks ) ; Collections . sort ( list , wakeTimeComparator ) ; return list ; }
Sorts a {@link Set} of {@link WakeLocks} by starting time and returns the sorted list
 @param scheduledLocks
      the set of WakeLocks to sort
 @return
      the sorted {@link List} of WakeLocks
Sorts a { @link Set } of { @link WakeLocks } by starting time and returns the sorted list @param scheduledLocks the set of WakeLocks to sort @return the sorted { @link List } of WakeLocks