List of usage examples for com.google.common.collect ImmutableSet of
@SuppressWarnings({ "unchecked" }) public static <E> ImmutableSet<E> of()
From source file:org.opendaylight.yangtools.yang.model.api.NotificationNodeContainer.java
/** * All implementations should override this method. * The default definition of this method is used in YANG 1.0 (RFC6020) implementations of * AugmentationSchema, GroupingDefinition, ListSchemaNode and ContainerSchemaNode * which do not allow action statements. * These YANG statements have been changed in YANG 1.1 (RFC7950) and can now contain notification statements. * * The default definition is also used by implementations of ContainerSchemaNode which do not support * notification statements such as InputEffectiveStatementImpl and OutputEffectiveStatementImpl. * * @return set of notification nodes//from ww w .j ava2 s . c o m */ @Nonnull default Set<NotificationDefinition> getNotifications() { return ImmutableSet.of(); }
From source file:org.gradle.language.nativeplatform.internal.incremental.CompilationState.java
public CompilationState() { sourceInputs = ImmutableSet.of(); fileStates = ImmutableMap.of(); }
From source file:org.onosproject.net.config.NetworkConfigRegistryAdapter.java
public <S, C extends Config<S>> Set<ConfigFactory<S, C>> getConfigFactories(Class<S> subjectClass) { return ImmutableSet.of(); }
From source file:org.opendaylight.yangtools.yang.model.api.ActionNodeContainer.java
/** * All implementations should override this method. * The default definition of this method is used in YANG 1.0 (RFC6020) implementations of * AugmentationSchema, GroupingDefinition, ListSchemaNode and ContainerSchemaNode * which do not allow action statements. * These YANG statements have been changed in YANG 1.1 (RFC7950) and can now contain action statements. * * The default definition is also used by implementations of ContainerSchemaNode which do not support * action statements such as InputEffectiveStatementImpl, OutputEffectiveStatementImpl and SchemaContext. * * @return set of action nodes/*from ww w . j av a 2 s . c o m*/ */ default Set<ActionDefinition> getActions() { return ImmutableSet.of(); }
From source file:org.sosy_lab.cpachecker.cpa.smg.SMGStateInformation.java
private SMGStateInformation() { hvEdges = ImmutableSet.of(); ptEdges = ImmutableMap.of(); }
From source file:org.onosproject.openstacknetworking.impl.OpenstackNodeServiceAdapter.java
@Override public Set<OpenstackNode> nodes(OpenstackNode.NodeType type) { return ImmutableSet.of(); }
From source file:io.crate.auth.user.User.java
@VisibleForTesting public static User of(String name, EnumSet<Role> roles) { return new User(name, roles, ImmutableSet.of(), null); }
From source file:com.facebook.buck.event.listener.ArtifactCacheTestUtils.java
static HttpArtifactCacheEvent.Started newUploadStartedEvent(BuildId buildId) { return newUploadStartedEventImpl(buildId, Optional.empty(), ImmutableSet.of(), true); }
From source file:com.google.devtools.build.lib.actions.EmptyRunfilesSupplier.java
@Override public ImmutableSet<PathFragment> getRunfilesDirs() { return ImmutableSet.of(); }
From source file:org.apache.aurora.scheduler.updater.strategy.BatchStrategy.java
@Override
Set<T> doGetNextGroup(Set<T> idle, Set<T> active) {
return active.isEmpty() ? idle : ImmutableSet.of();
}