List of usage examples for com.google.common.collect ImmutableSortedSet of
@SuppressWarnings("unchecked") public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... remaining)
From source file:com.opera.core.systems.OperaDriver.java
/** * A sorted set of required services for this OperaDriver to function. The services listed will * be built and initialized in the specified order. * * The minimum versions required are defined by the Scope implementation used by this * OperaDriver.//from ww w. j av a 2 s .co m * * @return unique set of services to require */ @SuppressWarnings("unchecked") protected SortedSet<ScopeService> getRequiredServices() { return ImmutableSortedSet.of(ScopeService.WINDOW_MANAGER, ScopeService.EXEC, ScopeService.CORE, ScopeService.PREFS, ScopeService.SELFTEST, ScopeService.CONSOLE_LOGGER, ScopeService.COOKIE_MANAGER); }