List of usage examples for java.util Collections unmodifiableCollection
public static <T> Collection<T> unmodifiableCollection(Collection<? extends T> c)
From source file:com.github.drbookings.model.data.manager.MainManager.java
public synchronized Collection<BookingEntry> getBookingEntries(final LocalDate date) { return Collections.unmodifiableCollection(bookingEntries.get(date)); }
From source file:com.haulmont.cuba.web.gui.components.WebAbstractField.java
@Override public Collection<Validator> getValidators() { if (validators == null) { return Collections.emptyList(); }/*from ww w . j a v a2 s .co m*/ return Collections.unmodifiableCollection(validators); }
From source file:com.github.drbookings.model.data.manager.MainManager.java
public synchronized Collection<CleaningEntry> getCleaningEntries() { return Collections.unmodifiableCollection(cleaningEntries.values()); }
From source file:ca.uhn.fhir.context.FhirContext.java
/** * Returns all element definitions (resources, datatypes, etc.) *///from w w w .j a v a2 s. c om public Collection<BaseRuntimeElementDefinition<?>> getElementDefinitions() { validateInitialized(); return Collections.unmodifiableCollection(myClassToElementDefinition.values()); }
From source file:de.btobastian.javacord.entities.message.impl.ImplMessage.java
@Override public Collection<MessageAttachment> getAttachments() { return Collections.unmodifiableCollection(attachments); }
From source file:com.autsia.bracer.BracerParser.java
/** * Get back an <b>unmodifiable copy</b> of the stack *///from w ww . j ava 2 s . c om public Collection<String> getStackRPN() { return Collections.unmodifiableCollection(stackRPN); }
From source file:com.netflix.simianarmy.janitor.AbstractJanitor.java
/** gets the resources marked in the last run of the Janitor. */ public Collection<Resource> getMarkedResources() { return Collections.unmodifiableCollection(markedResources); }
From source file:org.carewebframework.security.spring.AbstractSecurityService.java
/** * @see org.carewebframework.api.security.ISecurityService#getSecurityDomains() *///from ww w . ja va 2 s . co m @Override public Collection<ISecurityDomain> getSecurityDomains() { doInit(); return Collections.unmodifiableCollection(securityDomains.values()); }
From source file:com.netflix.simianarmy.janitor.AbstractJanitor.java
/** gets the resources unmarked in the last run of the Janitor. */ public Collection<Resource> getUnmarkedResources() { return Collections.unmodifiableCollection(unmarkedResources); }
From source file:com.netflix.simianarmy.janitor.AbstractJanitor.java
/** gets the resources cleaned in the last run of the Janitor. */ public Collection<Resource> getCleanedResources() { return Collections.unmodifiableCollection(cleanedResources); }