List of usage examples for java.util Collections unmodifiableList
public static <T> List<T> unmodifiableList(List<? extends T> list)
From source file:com.github.jgility.core.planning.Backlog.java
/** * Gibt eine unvernderliche Liste Anforderung zurck * /*w w w. j a v a2 s. c om*/ * @return unvernderte {@link List} mit allen Anforderungen */ public List<T> getRequirementList() { return Collections.unmodifiableList(requirements); }
From source file:com.branded.holdings.qpc.model.Owner.java
public List<Pet> getPets() { List<Pet> sortedPets = new ArrayList<Pet>(getPetsInternal()); PropertyComparator.sort(sortedPets, new MutableSortDefinition("name", true, true)); return Collections.unmodifiableList(sortedPets); }
From source file:org.ulyssis.ipp.config.ReaderConfig.java
public List<SimulatedTeam> getSimulatedTeams() { return Collections.unmodifiableList(simulatedTeams); }
From source file:org.activiti.explorer.ui.content.AttachmentRendererManager.java
/** * Gets all attachment editors known. Returned in the order they * were added.// ww w . j ava2s .co m */ public List<AttachmentEditor> getAttachmentEditors() { return Collections.unmodifiableList(editors); }
From source file:com.github.cambierr.lorawanpacket.semtech.PullResp.java
public List<Txpk> getTxpks() { return Collections.unmodifiableList(txpks); }
From source file:com.anrisoftware.sscontrol.database.internal.DatabaseUserImpl.java
@Override public List<DatabaseAccess> getAccess() { return Collections.unmodifiableList(accesses); }
From source file:hudson.scm.CVSChangeLogSet.java
public CVSChangeLogSet(final AbstractBuild<?, ?> build, final List<CVSChangeLog> logs) { super(build); this.logs = Collections.unmodifiableList(logs); for (CVSChangeLog log : logs) { log.setParent(this); }// w w w . j a v a 2s .c o m }
From source file:com.eyeq.pivot4j.ui.impl.TableAxisContext.java
/** * @return the hierarchies */ public List<Hierarchy> getHierarchies() { return Collections.unmodifiableList(hierarchies); }
From source file:info.evanchik.eclipse.karaf.core.features.Features.java
@SuppressWarnings("unchecked") public List<Repository> getRepositories() { final List<Repository> rawList = new ArrayList<Repository>(); final List<Repository> transformedList = TransformedList.decorate(rawList, new ElementTransformer()); transformedList.addAll(element.getChildren()); return Collections .unmodifiableList(KarafCorePluginUtils.filterList(transformedList, new RepositoryOnlyPredicate())); }
From source file:com.zb.app.web.tools.EnumViewTools.java
public static List<RightMenuEnum> getAccountRightMenu() { List<RightMenuEnum> rightMenuEnumList = Arrays.asList(new RightMenuEnum[] { RightMenuEnum.ORDER_ACCOUNT, RightMenuEnum.PRODUCT_ACCOUNT, RightMenuEnum.SYSTEM_ACCOUNT }); return Collections.unmodifiableList(rightMenuEnumList); }