Searched refs:list (Results 1 - 25 of 1108) sorted by relevance

1234567891011>>

/forgerock/openidm-v4/custom-scripted-connector-bundler/src/main/java/org/forgerock/openidm/tools/scriptedbundler/
H A DCustomBaseObject.java41 * for Handlebars to help it decide whether to continue a JSON list (",") or close it ("]" or "}").
66 * @param list
70 public <O extends CustomBaseObject> List<O> flagLast(List<O> list) { argument
71 if (list != null && !list.isEmpty()) {
72 list.get(list.size() - 1).setIsLast(true);
74 return list;
/forgerock/openam-v13/openam-ldap-utils/src/test/java/org/forgerock/openam/ldap/
H A DLDAPPriorityListingTest.java29 Set<LDAPURL> list = LDAPUtils.prioritizeServers(asOrderedSet("test1.com:389", "test1.com"), "01", "02");
30 assertThat(list).hasSize(1).containsOnly(LDAPURL.valueOf("test1.com:389"));
34 Set<LDAPURL> list = LDAPUtils.prioritizeServers(
36 assertThat(list).hasSize(1).containsOnly(LDAPURL.valueOf("test1.com:389"));
40 Set<LDAPURL> list = LDAPUtils.prioritizeServers(
42 assertThat(list.toArray()).isEqualTo(urls("test3.com", "test1.com", "test2.com").toArray());
46 Set<LDAPURL> list = LDAPUtils.prioritizeServers(
48 assertThat(list.toArray()).isEqualTo(urls("test3.com:2389", "test2.com:50389", "test1.com:1389").toArray());
49 list = LDAPUtils.prioritizeServers(
51 assertThat(list
[all...]
/forgerock/openam/openam-ldap-utils/src/test/java/org/forgerock/openam/ldap/
H A DLDAPPriorityListingTest.java29 Set<LDAPURL> list = LDAPUtils.prioritizeServers(asOrderedSet("test1.com:389", "test1.com"), "01", "02");
30 assertThat(list).hasSize(1).containsOnly(LDAPURL.valueOf("test1.com:389"));
34 Set<LDAPURL> list = LDAPUtils.prioritizeServers(
36 assertThat(list).hasSize(1).containsOnly(LDAPURL.valueOf("test1.com:389"));
40 Set<LDAPURL> list = LDAPUtils.prioritizeServers(
42 assertThat(list.toArray()).isEqualTo(urls("test3.com", "test1.com", "test2.com").toArray());
46 Set<LDAPURL> list = LDAPUtils.prioritizeServers(
48 assertThat(list.toArray()).isEqualTo(urls("test3.com:2389", "test2.com:50389", "test1.com:1389").toArray());
49 list = LDAPUtils.prioritizeServers(
51 assertThat(list
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DTestSynchronousReplayQueue.java45 private LinkedList<UpdateToReplay> list = new LinkedList<UpdateToReplay>(); field in class:TestSynchronousReplayQueue
50 return this.list.add(e);
56 return this.list.contains(o);
74 return list.add(e);
81 return list.add(e);
105 return this.list.remove(o);
111 return list.removeFirst();
123 return this.list.peek();
129 return this.list.poll();
135 return this.list
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DTestSynchronousReplayQueue.java44 private LinkedList<UpdateToReplay> list = new LinkedList<UpdateToReplay>(); field in class:TestSynchronousReplayQueue
49 return this.list.add(e);
55 return this.list.contains(o);
73 return list.add(e);
80 return list.add(e);
104 return this.list.remove(o);
110 return list.removeFirst();
122 return this.list.peek();
128 return this.list.poll();
134 return this.list
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DTestSynchronousReplayQueue.java45 private LinkedList<UpdateToReplay> list = new LinkedList<UpdateToReplay>(); field in class:TestSynchronousReplayQueue
50 return this.list.add(e);
56 return this.list.contains(o);
74 return list.add(e);
81 return list.add(e);
105 return this.list.remove(o);
111 return list.removeFirst();
123 return this.list.peek();
129 return this.list.poll();
135 return this.list
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DTestSynchronousReplayQueue.java44 private LinkedList<UpdateToReplay> list = new LinkedList<UpdateToReplay>(); field in class:TestSynchronousReplayQueue
49 return this.list.add(e);
55 return this.list.contains(o);
73 return list.add(e);
80 return list.add(e);
104 return this.list.remove(o);
110 return list.removeFirst();
122 return this.list.peek();
128 return this.list.poll();
134 return this.list
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DTestSynchronousReplayQueue.java45 private LinkedList<UpdateToReplay> list = new LinkedList<UpdateToReplay>(); field in class:TestSynchronousReplayQueue
50 return this.list.add(e);
56 return this.list.contains(o);
74 return list.add(e);
81 return list.add(e);
105 return this.list.remove(o);
111 return list.removeFirst();
123 return this.list.peek();
129 return this.list.poll();
135 return this.list
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/
H A DTestSynchronousReplayQueue.java43 private LinkedList<UpdateToReplay> list = new LinkedList<>(); field in class:TestSynchronousReplayQueue
48 return this.list.add(e);
54 return this.list.contains(o);
72 return list.add(e);
79 return list.add(e);
103 return this.list.remove(o);
109 return list.removeFirst();
121 return this.list.peek();
127 return this.list.poll();
133 return this.list
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/common/
H A DServerState.java55 private final HashMap<Integer, ChangeNumber> list; field in class:ServerState
63 list = new HashMap<Integer, ChangeNumber>();
73 synchronized (list)
75 list.clear();
95 list = new HashMap<Integer, ChangeNumber>();
118 list.put(serverId, cn);
164 synchronized(list)
167 ChangeNumber oldCN = list.get(id);
170 list.put(id,changeNumber);
196 for (ChangeNumber cn : serverState.list
[all...]
H A DMultiDomainServerState.java44 * This object is used to store a list of ServerState object, one by
46 * (that applies to one domain) to a list of domains.
51 * The list of (domain service id, ServerState).
53 private Map<String, ServerState> list; field in class:MultiDomainServerState
60 list = new TreeMap<String, ServerState>();
71 list = splitGenStateToServerStates(mdss);
84 list.clear();
105 ServerState oldServerState = list.get(serviceId);
112 list.put(serviceId,oldServerState);
131 list
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/common/
H A DServerState.java55 private final HashMap<Integer, ChangeNumber> list; field in class:ServerState
63 list = new HashMap<Integer, ChangeNumber>();
73 synchronized (list)
75 list.clear();
95 list = new HashMap<Integer, ChangeNumber>();
118 list.put(serverId, cn);
164 synchronized(list)
167 ChangeNumber oldCN = list.get(id);
170 list.put(id,changeNumber);
196 for (ChangeNumber cn : serverState.list
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/common/
H A DServerState.java55 private final HashMap<Integer, ChangeNumber> list; field in class:ServerState
63 list = new HashMap<Integer, ChangeNumber>();
73 synchronized (list)
75 list.clear();
95 list = new HashMap<Integer, ChangeNumber>();
118 list.put(serverId, cn);
164 synchronized(list)
167 ChangeNumber oldCN = list.get(id);
170 list.put(id,changeNumber);
196 for (ChangeNumber cn : serverState.list
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DJsonArray.java27 private final List<Object> list = new ArrayList<Object>(); field in class:JsonArray
49 list.add(value);
70 jsonObject.put(key, list);
80 return list.size();
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/base/
H A DAMDelimitAttrTokenizer.java55 List list = new ArrayList();
59 list.add(st.nextToken());
62 return list;
65 public String deTokenizes(List list) { argument
66 return deTokenizes(list, ",");
69 public String deTokenizes(List list, String delimit) { argument
73 if ((list != null) && !list.isEmpty()) {
74 for (Iterator iter = list.iterator(); iter.hasNext(); ) {
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DJsonArray.java27 private final List<Object> list = new ArrayList<Object>(); field in class:JsonArray
49 list.add(value);
70 jsonObject.put(key, list);
80 return list.size();
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/base/
H A DAMDelimitAttrTokenizer.java55 List list = new ArrayList();
59 list.add(st.nextToken());
62 return list;
65 public String deTokenizes(List list) { argument
66 return deTokenizes(list, ",");
69 public String deTokenizes(List list, String delimit) { argument
73 if ((list != null) && !list.isEmpty()) {
74 for (Iterator iter = list.iterator(); iter.hasNext(); ) {
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/datastruct/
H A DOrderedSet.java44 protected List list = new ArrayList(); field in class:OrderedSet
53 if (!list.contains(o)) {
54 list.add(o);
66 return list.iterator();
75 return list.size();
103 list.remove(array[i].intValue());
113 return list.get(index);
117 * Set value to the list.
123 list.set(index, value);
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/util/
H A DConstrainedSelection.java35 int value, ConstrainedSelection[] list)
38 for (int i=0; i<list.length; i++) {
39 if(value == list[i].getIntValue()) {
40 result = list[i];
48 String name, ConstrainedSelection[] list)
52 for (int i=0; i<list.length; i++) {
53 if (name.equals(list[i].getName())) {
54 result = list[i];
34 get( int value, ConstrainedSelection[] list) argument
47 get( String name, ConstrainedSelection[] list) argument
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DResultStatus.java33 public static ResultStatus get(int value, ResultStatus[] list) { argument
35 for (int i = 0; i < list.length; i++) {
36 if (value == list[i].getIntValue()) {
37 result = list[i];
44 public static ResultStatus get(String name, ResultStatus[] list) { argument
47 for (int i = 0; i < list.length; i++) {
48 if (name.equals(list[i].getName())) {
49 result = list[i];
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/datastruct/
H A DOrderedSet.java44 protected List list = new ArrayList(); field in class:OrderedSet
53 if (!list.contains(o)) {
54 list.add(o);
66 return list.iterator();
75 return list.size();
103 list.remove(array[i].intValue());
113 return list.get(index);
117 * Set value to the list.
123 list.set(index, value);
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DResultStatus.java33 public static ResultStatus get(int value, ResultStatus[] list) { argument
35 for (int i = 0; i < list.length; i++) {
36 if (value == list[i].getIntValue()) {
37 result = list[i];
44 public static ResultStatus get(String name, ResultStatus[] list) { argument
47 for (int i = 0; i < list.length; i++) {
48 if (name.equals(list[i].getName())) {
49 result = list[i];
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/cors/utils/
H A DCSVHelper.java33 * @return a list wherein each element is a trimmed, single member of the CSV
57 * @param list The set of strings to concatenate into a CSV
58 * @return A CSV string containing the values in the supplied list
60 public String listToCSVString(final List<String> list) { argument
64 if (list == null) {
68 for(int i = 0; i < list.size(); i++) {
69 sb.append(list.get(i));
71 if (i != list.size() - 1) {
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/cors/utils/
H A DCSVHelper.java33 * @return a list wherein each element is a trimmed, single member of the CSV
57 * @param list The set of strings to concatenate into a CSV
58 * @return A CSV string containing the values in the supplied list
60 public String listToCSVString(final List<String> list) { argument
64 if (list == null) {
68 for(int i = 0; i < list.size(); i++) {
69 sb.append(list.get(i));
71 if (i != list.size() - 1) {
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/common/
H A DMultiDomainServerState.java48 * This object is used to store a list of ServerState object, one by replication
50 * one domain) to a list of domains.
57 /** The list of (domain service id, ServerState). */
58 private final ConcurrentMap<DN, ServerState> list; field in class:MultiDomainServerState
63 list = new ConcurrentSkipListMap<>();
74 list = new ConcurrentSkipListMap<>();
76 for (Map.Entry<DN, ServerState> mapEntry : cookie.list.entrySet())
80 list.put(dn, state.duplicate());
91 list = new ConcurrentSkipListMap<>(splitGenStateToServerStates(cookie));
101 list
[all...]

Completed in 194 milliseconds

1234567891011>>