Searched defs:collection (Results 1 - 25 of 72) sorted by relevance

123

/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/model/
H A DSortedList.java37 public boolean addAll(Collection<? extends T> collection) { argument
38 boolean result = super.addAll(collection);
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/ldap/aci/
H A DQualifiedCollection.java34 * Class that wraps a collection and a boolean flag Used to represent ACI target
48 * @param collection
55 public QualifiedCollection(Collection collection, boolean exclusive) { argument
56 _collection = collection;
62 * The objects are considered equal if they have the same collection of
105 * Sets the collection of values
107 * @param collection
108 * the collection of values
111 public void setCollection(Collection collection) { argument
112 _collection = collection;
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/services/ldap/aci/
H A DQualifiedCollection.java34 * Class that wraps a collection and a boolean flag Used to represent ACI target
48 * @param collection
55 public QualifiedCollection(Collection collection, boolean exclusive) { argument
56 _collection = collection;
62 * The objects are considered equal if they have the same collection of
105 * Sets the collection of values
107 * @param collection
108 * the collection of values
111 public void setCollection(Collection collection) { argument
112 _collection = collection;
[all...]
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DUtils.java202 * Converts a collection of comparable items into a list, using the given comparator to order the
205 * @param collection The collection to sort
207 * @param <T> The type of the collection.
208 * @return A sorted list including all elements from the collection.
210 public static <T extends Comparable<? super T>> List<T> asSortedList(Collection<T> collection, argument
212 List<T> list = new ArrayList<T>(collection);
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/base/model/
H A DAMFormatUtils.java61 * @param collection to sort.
65 public static List sortItems(Collection collection, Locale locale) { argument
68 if ((collection != null) && !collection.isEmpty()) {
69 sorted = new ArrayList(collection);
H A DAMAdminUtils.java89 * Returns the first value of a collection. Returns empty string if set is
90 * collection or null.
92 * @param collection Collection to act on.
94 public static Object getValue(Collection collection) { argument
95 return ((collection == null) || collection.isEmpty()) ? "" :
96 collection.iterator().next();
431 * Returns a concatenation string of all entries in a collection.
433 * @param collection Collection.
436 * @return a concatenation string of all entries in a collection
438 getString( Collection collection, String delimiter, boolean reverse ) argument
733 orderByStringLength(Collection collection) argument
788 toDNs(Collection<String> collection) argument
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DUtils.java202 * Converts a collection of comparable items into a list, using the given comparator to order the
205 * @param collection The collection to sort
207 * @param <T> The type of the collection.
208 * @return A sorted list including all elements from the collection.
210 public static <T extends Comparable<? super T>> List<T> asSortedList(Collection<T> collection, argument
212 List<T> list = new ArrayList<T>(collection);
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/base/model/
H A DAMFormatUtils.java61 * @param collection to sort.
65 public static List sortItems(Collection collection, Locale locale) { argument
68 if ((collection != null) && !collection.isEmpty()) {
69 sorted = new ArrayList(collection);
H A DAMAdminUtils.java89 * Returns the first value of a collection. Returns empty string if set is
90 * collection or null.
92 * @param collection Collection to act on.
94 public static Object getValue(Collection collection) { argument
95 return ((collection == null) || collection.isEmpty()) ? "" :
96 collection.iterator().next();
431 * Returns a concatenation string of all entries in a collection.
433 * @param collection Collection.
436 * @return a concatenation string of all entries in a collection
438 getString( Collection collection, String delimiter, boolean reverse ) argument
733 orderByStringLength(Collection collection) argument
788 toDNs(Collection<String> collection) argument
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/sms/tree/
H A DSmsRouteTreeTest.java201 object(field("_id", "service1"), field("name", "one"), field("collection", false)),
202 object(field("_id", "service2"), field("name", "two"), field("collection", false)),
203 object(field("_id", "service3"), field("name", "three"), field("collection", true))
241 object(field("_id", "service1"), field("name", "one"), field("collection", false)),
242 object(field("_id", "service3"), field("name", "three"), field("collection", true))
271 private RequestHandler createTypeHandler(int id, String name, boolean collection) { argument
272 return createTypeHandler(id, name, collection, "OTHERSERVICE" + id);
275 private RequestHandler createTypeHandler(int id, String name, boolean collection, String serviceName) { argument
281 field("collection", collection),
[all...]
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/openidconnect/
H A DOpenAMOpenIdConnectClientRegistrationService.java493 private boolean containsAllCaseInsensitive(final Set<String> collection, final List<String> values) { argument
496 for (String item : collection) {
509 private boolean containsCaseInsensitive(final Set<String> collection, final String value) { argument
510 final Iterator<String> iter = collection.iterator();
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DCollectionUtils.java246 * Retrieves the first item from a collection.
248 * @param collection The collection.
249 * @param <T> The type of the collection.
250 * @return The first instance of the collection else null if not present.
252 public static <T> T getFirstItem(final Collection<T> collection) { argument
253 return getFirstItem(collection, null);
259 * @param collection
260 * the collection
264 * the type of the collection
268 getFirstItem(final Collection<T> collection, final T defaultValue) argument
401 isNotEmpty(final Collection<?> collection) argument
413 isEmpty(Collection<?> collection) argument
[all...]
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/
H A DCLICommandBase.java142 protected String tokenize(Collection collection) { argument
144 if ((collection != null) && !collection.isEmpty()) {
146 for (Iterator i = collection.iterator(); i.hasNext(); ) {
/forgerock/openidm-v4/openidm-router/src/main/java/org/forgerock/openidm/router/
H A DRouteBuilder.java51 private CollectionResourceProvider collection; field in class:RouteBuilder
117 if ((null == collection) && (null == singleton) && (null == handler)) {
129 routes.add(new RouteItem(collection, singleton, handler, mode, uriTemplate));
133 this.collection = null;
185 this.collection = service;
192 this.collection = null;
199 this.collection = null;
220 private final CollectionResourceProvider collection; field in class:RouteBuilder.RouteItem
226 private RouteItem(CollectionResourceProvider collection, argument
229 this.collection
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/
H A DOpenIdConnectClientRegistrationService.java502 private boolean containsAllCaseInsensitive(final Set<String> collection, final List<String> values) { argument
505 for (String item : collection) {
518 private boolean containsCaseInsensitive(final Set<String> collection, final String value) { argument
519 final Iterator<String> iter = collection.iterator();
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DCollectionUtils.java247 * Retrieves the first item from a collection.
249 * @param collection The collection.
250 * @param <T> The type of the collection.
251 * @return The first instance of the collection else null if not present.
253 public static <T> T getFirstItem(final Collection<T> collection) { argument
254 return getFirstItem(collection, null);
260 * @param collection
261 * the collection
265 * the type of the collection
269 getFirstItem(final Collection<T> collection, final T defaultValue) argument
402 isNotEmpty(final Collection<?> collection) argument
414 isEmpty(Collection<?> collection) argument
526 newList(Collection<T> collection) argument
[all...]
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/
H A DCLICommandBase.java142 protected String tokenize(Collection collection) { argument
144 if ((collection != null) && !collection.isEmpty()) {
146 for (Iterator i = collection.iterator(); i.hasNext(); ) {
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/model/json/
H A DPolicyRequestTest.java344 final Collection<?> collection = (Collection<?>)entry.getValue();
347 if (collection.size() != otherCollection.size()) {
351 if (!matches(collection, otherCollection)) {
359 private boolean matches(final Collection<?> collection, final Collection<?> otherCollection) { argument
360 for (Object value : collection) {
/forgerock/openidm-v4/openidm-audit/src/main/java/org/forgerock/openidm/audit/impl/
H A DAuditLogFilters.java497 * Returns true if the collection of filters only contains {@link #NEVER_FILTER} filters, false if it contains at least one
500 * @param collection the collection of filters to test
501 * @return true if the collection of filters only contains {@link #NEVER_FILTER} filters, false if it contains at least one
504 private static final boolean onlyContainsNever(Collection<AuditLogFilter> collection) { argument
505 for (AuditLogFilter element : collection) {
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/model/json/
H A DPolicyRequestTest.java373 final Collection<?> collection = (Collection<?>)entry.getValue();
376 if (collection.size() != otherCollection.size()) {
380 if (!matches(collection, otherCollection)) {
388 private boolean matches(final Collection<?> collection, final Collection<?> otherCollection) { argument
389 for (Object value : collection) {
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/base/
H A DAMViewBeanBase.java456 * collection of string.
458 * @param collection Collection of strings to be included in option list.
461 * collection of string.
464 Collection collection,
467 return createOptionList(collection, locale, true);
472 * collection of string.
474 * @param collection Collection of strings to be included in option list.
476 * collection of string.
478 public OptionList createOptionList(Collection collection) { argument
481 if ((collection !
463 createOptionList( Collection collection, Locale locale ) argument
505 createOptionList( Collection collection, Locale locale, boolean bSort ) argument
[all...]
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/steps/
H A DUpgradeEntitlementSubConfigsStep.java705 * Extract a set of a defined type from the passed collection using the given extractor.
707 * @param collection
708 * the collection from which the set is to be extracted
712 * the collection type
718 private <S, T> Set<T> extract(final Collection<S> collection, final Extractor<S, T> extractor) { argument
719 final Set<T> values = new HashSet<T>(collection.size());
721 for (final S instance : collection) {
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/base/
H A DAMViewBeanBase.java457 * collection of string.
459 * @param collection Collection of strings to be included in option list.
462 * collection of string.
465 Collection collection,
468 return createOptionList(collection, locale, true);
473 * collection of string.
475 * @param collection Collection of strings to be included in option list.
477 * collection of string.
479 public OptionList createOptionList(Collection collection) { argument
482 if ((collection !
464 createOptionList( Collection collection, Locale locale ) argument
506 createOptionList( Collection collection, Locale locale, boolean bSort ) argument
[all...]
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/steps/
H A DUpgradeEntitlementSubConfigsStep.java710 * Extract a set of a defined type from the passed collection using the given extractor.
712 * @param collection
713 * the collection from which the set is to be extracted
717 * the collection type
723 private <S, T> Set<T> extract(final Collection<S> collection, final Extractor<S, T> extractor) { argument
724 final Set<T> values = new HashSet<T>(collection.size());
726 for (final S instance : collection) {
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DEntry.java1033 * specified collection.
1047 * @param collection
1048 * The collection to which decoded values should be added.
1049 * @return The collection containing the decoded attribute value.
1057 Collection<T> collection)
1066 collection.add(decoder.decode(value));
1069 return collection;
1054 getAttributeValues( AttributeType attributeType, AttributeValueDecoder<? extends T> decoder, Collection<T> collection) argument

Completed in 139 milliseconds

123