List of usage examples for com.google.common.collect ImmutableSet of
@SuppressWarnings({ "unchecked" }) public static <E> ImmutableSet<E> of()
From source file:org.onosproject.net.config.NetworkConfigRegistryAdapter.java
public Set<ConfigFactory> getConfigFactories() { return ImmutableSet.of(); }
From source file:com.spectralogic.ds3autogen.java.utils.ResponseAndParserUtils.java
/** * Gets the imports associated with the payload models of a response code list *//* w w w.j av a 2 s .c o m*/ public static ImmutableSet<String> getImportListFromResponseCodes( final ImmutableList<Ds3ResponseCode> responseCodes) { if (isEmpty(responseCodes)) { return ImmutableSet.of(); } return responseCodes.stream().map(ResponseAndParserUtils::getImportFromResponseCode) .filter(ConverterUtil::hasContent).collect(GuavaCollectors.immutableSet()); }
From source file:org.onosproject.openstacknetworking.impl.OpenstackNodeServiceAdapter.java
@Override public Set<OpenstackNode> nodes() { return ImmutableSet.of(); }
From source file:org.eclipse.viatra.query.patternlanguage.emf.types.judgements.ParameterTypeJudgement.java
@Override public Set<Expression> getDependingExpressions() { return ImmutableSet.of(); }
From source file:org.sonar.javascript.cfg.JsCfgEndBlock.java
@Override public ImmutableSet<CfgBlock> successors() { return ImmutableSet.of(); }
From source file:io.soabase.core.features.discovery.NullDiscoveryFactory.java
@Override public SoaDiscovery build(Environment environment, SoaInfo soaInfo) { return new SoaDiscovery() { @Override//from ww w. ja va 2 s . co m public Collection<String> getServiceNames() { return ImmutableSet.of(); } @Override public Collection<SoaDiscoveryInstance> getAllInstances(String serviceName) { return ImmutableSet.of(); } @Override public SoaDiscoveryInstance getInstance(String serviceName) { return null; } @Override public void noteError(String serviceName, SoaDiscoveryInstance errorInstance) { // NOP } @Override public void setHealthyState(HealthyState healthyState) { // NOP } }; }
From source file:net.derquinse.common.collect.EmptyImmutableHierarchy.java
@Override public ImmutableSet<Object> elementSet() { return ImmutableSet.of(); }
From source file:com.googlesource.gerrit.plugins.uploadvalidator.FakeGroupByNameFinder.java
public FakeGroupByNameFinder(AccountGroup accountGroup) { onlyGroup = Optional.of(InternalGroup.create(accountGroup, ImmutableSet.of(), ImmutableSet.of())); }
From source file:org.springframework.ide.eclipse.boot.properties.editor.test.MockProblemCollector.java
public MockProblemCollector() { this(ImmutableSet.of()); }
From source file:com.opengamma.engine.marketdata.manipulator.NoOpMarketDataSelector.java
@Override public Set<StructureType> getApplicableStructureTypes() { return ImmutableSet.of(); }