Refine search
/** * Return the managed {@link MessageListenerContainer} instance(s). */ public Collection<MessageListenerContainer> getListenerContainers() { return Collections.unmodifiableCollection(this.listenerContainers.values()); }
/** * 使用自己的 knownMappers */ @Override public Collection<Class<?>> getMappers() { return Collections.unmodifiableCollection(knownMappers.keySet()); } }
public Collection<GraphicalElement> getAllGraphicalElements() { final Collection<GraphicalElement> result = new ArrayList<GraphicalElement>(); for (Event ev : eventsList) { result.add(events.get(ev)); } return Collections.unmodifiableCollection(result); }
public MapWrapper(@NotNull DataStore dataStore, String name, @NotNull Class<K> kClass, @NotNull Class<V> vClass, @NotNull Map<K, V> underlying, int maxMessageSize) { this.dataStore = dataStore; this.name = name; this.kClass = kClass; this.vClass = vClass; this.underlying = underlying; this.maxMessageSize = maxMessageSize; kEnumClass = dataStore.enumeratedClass(kClass); vEnumClass = dataStore.enumeratedClass(vClass); keySet = Collections.unmodifiableSet(underlying.keySet()); values = Collections.unmodifiableCollection(underlying.values()); entrySet = Collections.unmodifiableSet(underlying.entrySet()); dataStore.add(name, this); }
@Override public Collection<QName> getExpectedAttributes() { final Collection<QName> expAttrs = new HashSet<QName>(); expAttrs.addAll(super.getExpectedAttributes()); expAttrs.add(XsiTypeQNAME); return Collections.unmodifiableCollection(expAttrs); } }
/** * Get all registries * * @return all registries */ public static Collection<Registry> getRegistries() { return Collections.unmodifiableCollection(REGISTRIES.values()); }
@Override public Collection<String> getPropertyNames() { return Collections.unmodifiableCollection(store.keySet()); }
/** * Allowed method return types. * * @return List of class names or text comments. */ public static Collection<String> getAllowedMethodParameterTypes() { Collection<String> types = new ArrayList<>(ALLOWED_MTD_PARAM_TYPES.length + 1); for (Class<?> type : ALLOWED_MTD_PARAM_TYPES) { types.add(type.getName()); } types.add("Java Array"); return Collections.unmodifiableCollection(types); }
public final Collection<IGroup> getGroups(boolean withRootGroup) { if (withRootGroup == false) { return entityFactory.getGroupsvalues(); } final Collection<IGroup> result = new ArrayList<IGroup>(); result.add(getRootGroup()); result.addAll(entityFactory.getGroupsvalues()); return Collections.unmodifiableCollection(result); }
/** * Get all registries * * @return all registries */ public static Collection<Registry> getRegistries() { return Collections.unmodifiableCollection(REGISTRIES.values()); }
@Override public Collection<String> getPropertyNames() { return Collections.unmodifiableCollection(store.keySet()); }
/** * Converts List of Cluster Nodes to HashSet of UUIDs wrapped as unmodifiable collection. * @param assignmentPart Source assignment per partition. * @return List of deduplicated collections if ClusterNode's ids. */ public default Collection<UUID> assignments2ids(List<ClusterNode> assignmentPart) { Collection<UUID> partIds = U.newHashSet(assignmentPart.size()); for (ClusterNode node : assignmentPart) partIds.add(node.id()); return Collections.unmodifiableCollection(partIds); } }
public Collection<Object> values() { return Collections.unmodifiableCollection(this.headers.values()); }
public Collection<String> getAnimClipsNames() { return Collections.unmodifiableCollection(animClipMap.keySet()); }
final public Collection<IGroup> getChildrenGroups(IGroup parent) { final Collection<IGroup> result = new ArrayList<IGroup>(); for (IGroup gg : getGroups(false)) { if (gg.getParentContainer() == parent) { result.add(gg); } } return Collections.unmodifiableCollection(result); }
public static Collection<Monitor> getMonitors() { return Collections.unmodifiableCollection(MONITORS.values()); }
/** * Iterate over the options in this map. * * @return an iterator over the options */ public Iterator<Option<?>> iterator() { return Collections.unmodifiableCollection(value.keySet()).iterator(); }
public Collection<IGroup> getChildren() { checkGroup(); final Collection<IGroup> result = new ArrayList<IGroup>(); for (IGroup g : entityFactory.getGroupsvalues()) { if (g != this && g.getParentContainer() == this) { result.add(g); } } return Collections.unmodifiableCollection(result); }
Collection<JavaFileObject> files() { return Collections.unmodifiableCollection(classes.values()); }
public Collection<ANode> getNodes() { return Collections.unmodifiableCollection(nodesCols.keySet()); }