Example usage for java.util Collections unmodifiableSet

List of usage examples for java.util Collections unmodifiableSet

Introduction

In this page you can find the example usage for java.util Collections unmodifiableSet.

Prototype

public static <T> Set<T> unmodifiableSet(Set<? extends T> s) 

Source Link

Document

Returns an unmodifiable view of the specified set.

Usage

From source file:io.spring.initializr.metadata.Link.java

public Set<String> getTemplateVariables() {
    return Collections.unmodifiableSet(templateVariables);
}

From source file:com.google.code.ssm.spring.SSMCacheManager.java

@Override
public Collection<String> getCacheNames() {
    return Collections.unmodifiableSet(this.cacheNames);
}

From source file:com.opengamma.engine.view.helper.AvailableOutputImpl.java

@Override
public Set<String> getSecurityTypes() {
    return Collections.unmodifiableSet(_positionProperties.keySet());
}

From source file:com.thinkbiganalytics.nifi.v2.thrift.ExecuteHQLStatement.java

public ExecuteHQLStatement() {
    final Set<Relationship> r = new HashSet<>();
    r.add(IngestProperties.REL_SUCCESS);
    r.add(IngestProperties.REL_FAILURE);
    relationships = Collections.unmodifiableSet(r);

    final List<PropertyDescriptor> pds = new ArrayList<>();
    pds.add(THRIFT_SERVICE);// w w  w .j av a 2s  .  com
    pds.add(SQL_DDL_STATEMENT);
    propDescriptors = Collections.unmodifiableList(pds);
}

From source file:com.jdom.get.stuff.done.domain.Task.java

public Set<Task> getDependencies() {
    return Collections.unmodifiableSet(dependencies);
}

From source file:eu.project.ttc.resources.FixedExpressionResource.java

public Set<String> getFixedExpressionLemmas() {
    return Collections.unmodifiableSet(fixedExpressionLemmas);
}

From source file:nu.yona.server.properties.YonaProperties.java

public Set<Locale> getSupportedLocales() {
    return Collections.unmodifiableSet(supportedLocales);
}

From source file:gov.nih.nci.caarray.validation.ValidationResult.java

/**
 * Returns the names of all the files for which this has validation results.
 * //from   w  w  w. j  a va  2 s.co  m
 * @return set of names of the files for which this contains validation results
 */
public Set<String> getFileNames() {
    return Collections.unmodifiableSet(this.fileValidationResults.keySet());
}

From source file:ddf.security.permission.KeyValuePermission.java

public Set<String> getValues() {
    return Collections.unmodifiableSet(values);
}

From source file:epgtools.dumpepgfromts.dataextractor.AbstractDataExtractor.java

public final Set<T> getUnmodifiableDataSet() {
    return Collections.unmodifiableSet(this.getDataSet());
}