MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / sortedSet

Method sortedSet

java/src/org/openqa/selenium/internal/Sets.java:62–64  ·  view source on GitHub ↗

Create an immutable set sorted in natural order

(Set<T> source)

Source from the content-addressed store, hash-verified

60
61 /** Create an immutable set sorted in natural order */
62 public static <T extends Comparable<? super T>> Set<T> sortedSet(Set<T> source) {
63 return unmodifiableSet(new TreeSet<>(source));
64 }
65
66 /** Check if two sets have at least one common element */
67 public static <T> boolean haveCommonElements(Set<T> set1, Set<T> set2) {

Callers 4

getOptionsMethod · 0.80
getSectionNamesMethod · 0.80
getOptionsMethod · 0.80

Calls

no outgoing calls

Tested by 1