@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
public static Long getHighestEndTime(final List<BuildSlot> buildSlots) { Assert.notNull(buildSlots, "List of 'BuildSlots'should never be null"); if (buildSlots.isEmpty()) { return MINUS_ONE; } Iterable<Long> extracted = transform(buildSlots, endTimeExctractor); ImmutableSortedSet<Long> asSet = copyOf(extracted); return asSet.last(); }
public static Integer getHighestStateAsInteger(final List<BuildSlot> buildSlots) { Assert.notNull(buildSlots, "List of 'BuildSlots'should never be null"); if (buildSlots.isEmpty()) { return ZERO; } Iterable<Integer> extracted = transform(buildSlots, extractOrder); ImmutableSortedSet<Integer> asSet = copyOf(extracted); return asSet.last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
@Override public K lastKey() { return keySet().last(); }
/** * * @param editors Available editors * @param projectVersion Required unity version * @return The Unity executable. */ public static File selectEditor(Map<String, File> editors, String projectVersion) { if (null == projectVersion) { String highestVersion = ImmutableSortedSet.copyOf(editors.keySet()).last(); Log.L.debug("Selecting highest editor version: {}", highestVersion); return editors.get(highestVersion); } if (editors.containsKey(projectVersion)) { return editors.get(projectVersion); } throw new IllegalArgumentException("Required editor version not installed: " + projectVersion); }
@Override public K lastKey() { return keySet().last(); }
/** * * @param editors Available editors * @param projectVersion Required unity version * @return The Unity executable. */ public static File selectEditor(Map<String, File> editors, String projectVersion) { if (null == projectVersion) { String highestVersion = ImmutableSortedSet.copyOf(editors.keySet()).last(); Log.L.debug("Selecting highest editor version: {}", highestVersion); return editors.get(highestVersion); } if (editors.containsKey(projectVersion)) { return editors.get(projectVersion); } throw new IllegalArgumentException("Required editor version not installed: " + projectVersion); }
/** * * @param editors Available editors * @param projectVersion Required unity version * @return The Unity executable. */ public static File selectEditor(Map<String, File> editors, String projectVersion) { if (null == projectVersion) { String highestVersion = ImmutableSortedSet.copyOf(editors.keySet()).last(); Log.L.debug("Selecting highest editor version: {}", highestVersion); return editors.get(highestVersion); } if (editors.containsKey(projectVersion)) { return editors.get(projectVersion); } throw new IllegalArgumentException("Required editor version not installed: " + projectVersion); }
@Override public K lastKey() { return keySet().last(); }
final Notification oldest = notifications.last(); if (!subSet.isEmpty()) { final String firstId = subSet.first().getId(""); final String lastId = subSet.last().getId(""); if (subSet.last().compareTo(oldest) < 0) { builder.header( NEXT_RANGE_HEADER, String.format("%s ]%s..; max=%d", RANGE_NAME, lastId, limit));