List of usage examples for org.apache.commons.collections.set UnmodifiableSet decorate
public static Set decorate(Set set)
From source file:com.bstek.dorado.view.registry.DefaultComponentTypeRegistry.java
@SuppressWarnings("unchecked") public Collection<ComponentTypeRegisterInfo> getRegisterInfos() { for (ComponentTypeRegisterInfo registerInfo : registerInfoSet) { initializeRefisterInfo(registerInfo); }/*from w ww. ja v a 2 s . com*/ return UnmodifiableSet.decorate(registerInfoSet); }
From source file:com.anrisoftware.sscontrol.profile.service.ProfilePropertiesImpl.java
@SuppressWarnings("unchecked") @Override public Set<String> getKeys() { return UnmodifiableSet.decorate(properties.keySet()); }
From source file:it.geosolutions.geobatch.flow.file.FileBasedFlowManager.java
/** * Returns an unmodifiable set of all the consumers id, if you want to add or remove consumers, use the following methods:<br> * {@link FileBasedFlowManager#disposeConsumer(String)}<br> * {@link FileBasedFlowManager#addConsumer(EventConsumer)}<br> *///from w w w .j av a2 s . co m public final Set<String> getEventConsumersId() { return UnmodifiableSet.decorate(eventConsumers.keySet()); }
From source file:org.apache.cocoon.el.impl.objectmodel.UnmodifiableMultiMap.java
public Set keySet() { Set set = super.keySet(); return UnmodifiableSet.decorate(set); }
From source file:org.jtalks.jcommune.model.entity.JCUser.java
/** * @return read-only user contacts collection */ public Set<UserContact> getUserContacts() { return UnmodifiableSet.decorate(contacts); }
From source file:org.pentaho.platform.plugin.services.importexport.DefaultImportHandler.java
@SuppressWarnings("unchecked") protected Set<String> getExecutableTypes() { return UnmodifiableSet.decorate(executableTypes); }