Searched refs:values (Results 1 - 25 of 257) sorted by relevance

1234567891011

/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DTokenValueSet.java55 private final Set<TokenValue> values; field in class:TokenValueSet
58 values = new HashSet<TokenValue>();
61 public TokenValueSet(final Set<TokenValue> values) { argument
62 //if (!isTokenValueSet(values)) {
65 this.values = new HashSet<TokenValue>();
66 this.values.addAll(values);
70 boolean added = this.values.add(tokenValue);
74 this.values.addAll(more);
78 this.values
[all...]
H A DColumnFormatter.java63 public void addRow(Object values[]) throws IllegalArgumentException { argument
66 if (values.length != numCols) {
68 Strings.get("column.internal", values.length, numCols));
71 numCols = values.length;
74 v[i] = values[i] == null ? "" : values[i].toString();
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/
H A DInputDesc.java58 public ArrayList values; field in class:InputDesc
62 values = new ArrayList();
/glassfish-3.1.2/admingui/core/src/main/java/org/glassfish/admingui/util/
H A DSunOptionUtil.java66 public static SelectItem[] getOptions(String[] values) { argument
67 if (values == null) {
72 (SelectItem[]) Array.newInstance(SUN_OPTION_CLASS, values.length);
73 for (int i = 0; i < values.length; i++) {
74 SelectItem option = getSunOption(values[i], values[i]);
80 public static Option[] getOptionsArray(String[] values) { argument
82 (Option[]) Array.newInstance(SUN_OPTION_CLASS, values.length);
83 for (int i = 0; i < values.length; i++) {
84 Option option = getOption(values[
98 getOptions(String[] values, String[] labels) argument
108 getModOptions(String[] values) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/digest/impl/
H A DNestedDigestAlgoParamImpl.java57 public NestedDigestAlgoParamImpl(String algorithm, String name,AlgorithmParameterSpec[] values) { argument
59 this.params = values;
63 public NestedDigestAlgoParamImpl(String name,AlgorithmParameterSpec[] values) { argument
64 this.params = values;
68 public NestedDigestAlgoParamImpl(String algorithm,String name, AlgorithmParameterSpec[] values, byte[] delimiter) { argument
70 this.params = values;
75 public NestedDigestAlgoParamImpl(AlgorithmParameterSpec[] values,String name, byte[] delimiter) { argument
76 this.params = values;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/authenticator/
H A DSavedRequest.java107 * values for this header. The values are returned as an Iterator when
114 ArrayList<String> values = (ArrayList<String>) headers.get(name);
115 if (values == null) {
116 values = new ArrayList<String>();
117 headers.put(name, values);
119 values.add(value);
127 ArrayList<String> values = (ArrayList<String>) headers.get(name);
128 if (values == null)
131 return (values
172 addParameter(String name, String values[]) argument
[all...]
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/common/
H A DDataSourceObjectBuilder.java121 Vector values = (Vector) driverProperties.get(methodName.toUpperCase(Locale.getDefault()));
122 executor.runMethod(methods[i], dataSourceObject, values);
208 * parse the driver properties and re-generate name value pairs with unescaped values.
209 * @param values driverProperties
214 public Hashtable parseDriverProperties(String values, String escape, argument
222 while (values.length() > 0) {
223 if (values.charAt(0) == delimiterChar) {
224 if (values.length() > 1 && values.charAt(1) == delimiterChar) {
225 if (values
[all...]
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DSampleImpl.java195 final Map<String, Object> values = MapUtil.newMap();
196 values.put("ByteField", new Byte((byte) 0));
197 values.put("ShortField", new Short((short) 0));
198 values.put("IntegerField", new Integer(0));
199 values.put("LongField", new Long(0));
200 values.put("FloatField", new Float(0.0));
201 values.put("DoubleField", new Double(0.0));
202 values.put("BigDecimalField", new java.math.BigDecimal("999999999999999999999999999999.999999999999999999999999999999"));
203 values.put("BigIntegerField", new java.math.BigInteger("999999999999999999999999999999999999999999999999999999999999"));
204 values
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/
H A DCachingResponseWrapper.java69 * ArrayLists containing the associated values that have been set.
219 ArrayList<String> values = new ArrayList<String>();
220 values.add(value);
223 headers.put(name, values);
246 ArrayList<String> values = headers.get(name);
247 if (values == null) {
248 values = new ArrayList<String>();
251 headers.put(name, values);
255 values.add(value);
277 ArrayList<Long> values
[all...]
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DAgentArguments.java59 * to potentially multiple values (as a List<String>).
61 * This class organizes the agent arguments into named and anonymous values.
86 private final Map<String,List<String>> values = new HashMap<String,List<String>>(); field in class:AgentArguments
95 * Returns the list of values associated with the specified keyword.
96 * @param keyword the keyword whose values are needed
97 * @return the values associated with the keyword; null if the keyword never appeared in the input
104 * Returns the unnamed values as a list of strings.
112 return (values.get(keyword) != null ? values.get(keyword) : Collections.EMPTY_LIST);
141 List<String> result = values
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/runtime/
H A DASCacheMappingFieldConstraint.java154 String[] values;
158 values=fieldCons.getValue();
176 for(int rep=0;values !=null && rep < values.length;rep++){
177 if(values[rep]!=null && ! values[rep].equals("")) {
182 new Object[] {values[rep],mappingFor,descriptor.getName()}));
190 new Object[] {values[rep],mappingFor,descriptor.getName()}));
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DEnumerator.java82 * Return an Enumeration over the values of the specified Collection.
84 * @param collection Collection whose values should be enumerated
94 * Return an Enumeration over the values of the specified Collection.
96 * @param collection Collection whose values should be enumerated
107 * Return an Enumeration over the values returned by the
121 * Return an Enumeration over the values returned by the
144 * Return an Enumeration over the values of the specified Map.
146 * @param map Map whose values should be enumerated
150 this(map.values().iterator());
156 * Return an Enumeration over the values o
[all...]
/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DAuthRealmTest.java88 List<String> values = getCommandResults(get(URL_LIST_FILE_USERS));
89 assertTrue(values.contains(userName));
94 values = getCommandResults(get(URL_LIST_FILE_USERS));
95 assertFalse(values.contains(userName));
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/query/jqlc/
H A DParameterTable.java83 /** Query Parameter values */
84 transient List values = null; field in class:ParameterTable
132 this.values = other.values;
156 * Initializes the parameter values. This methods sets the values for all
161 values = new ArrayList(names.size());
164 values.add(unbound);
190 final int size = values.size();
193 if (values
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/logging/
H A DLogQueryEntryImpl.java104 LogQueryEntryImpl( final Object[] values )
106 if ( values.length != NUM_FIELDS )
108 throw new IllegalArgumentException( "wrong number of fields: " + values.length);
111 mRecordNumber = (Long)values[ RECORD_NUMBER_INDEX ];
112 mDate = (Date)values[ DATE_INDEX ];
113 mLevel = Level.parse( (String)values[ LEVEL_INDEX ] ).toString();
114 mProductName = (String)values[ PRODUCT_NAME_INDEX ];
115 mMessageID = (String)values[ MESSAGE_ID_INDEX ];
116 mModule = (String)values[ MODULE_INDEX ];
117 mMessage = (String)values[ MESSAGE_INDE
[all...]
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DMethodExecutor.java80 * in case of the mismatch of parameter values or
90 Object[] values = new Object[1];
91 values[0] = convertType(parameters[0], value);
92 method.invoke(obj, values);
117 * @param values Parameter values for executing the method.
119 * in case of the mismatch of parameter values or
122 public void runMethod(Method method, Object obj, Vector values) throws ResourceException { argument
125 if (values.size() != parameters.length) {
130 String val = (String) values
217 invokeMethod(Object object, String methodName, Class<?>[] valueTypes, Object... values) argument
[all...]
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/transform/
H A DClusterVisitor.java78 boolean[] values = new boolean[iRdrs.length];
81 values[i] = true;
83 _c.setInstance(values);
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/config/
H A DPropertyDesc.java71 /** Possible values, might not be a complete list and/or there could be other alternatives
74 String[] values() default {};
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/handlers/
H A DDataSourceDefinitionsHandler.java84 DataSourceDefinition values[] = defns.value();
86 if(values != null && values.length >0){
87 for(DataSourceDefinition defn : values){
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/web/
H A DCacheMapping.java260 Boolean[] values = null;
263 values = new Boolean[value.length];
265 values[i] = Boolean.valueOf(value[i]);
267 this.setValue(KEY_FIELD, values);
274 Boolean[] values = (Boolean[])this.getValues(KEY_FIELD);
275 if (values != null)
277 ret = new boolean[values.length];
278 for (int i=0; i<values.length; i++)
279 ret[i] = values[i].booleanValue();
/glassfish-3.1.2/extras/grizzly-container/src/main/java/org/glassfish/extras/grizzly/
H A DGrizzlyModuleDescriptor.java95 NamedNodeMap values = property.getAttributes();
96 if (values != null){
97 list.add(new GrizzlyProperty(values.getNamedItem("name").getNodeValue(),
98 values.getNamedItem("value").getNodeValue()));
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/monitor/
H A DStatisticTest.java101 final Set<String> values = TypeCast.asSet(t.keySet());
102 assert (values.contains("Name"));
103 assert (values.contains("Foo"));
104 assert (values.contains("Bar"));
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/beans/
H A DWebModule.java83 // Setting the default values of the properties
143 Boolean[] values = null;
145 values = new Boolean[value.length];
147 values[i] = new Boolean(value[i]);
150 this.setValue(IDEMPOTENT_URL_PATTERN, values);
156 Boolean[] values = (Boolean[]) this.getValues(IDEMPOTENT_URL_PATTERN);
157 if (values != null) {
158 ret = new boolean[values.length];
159 for (int i = 0; i < values.length; i++) {
160 ret[i] = values[
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/connector/
H A DResourceAdapter.java84 public void setPropertyElement(NameValuePairDescriptor[] values) argument
86 this.setValues(PROPERTY, values);
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DUtil.java66 * @param values Properties object containing name/value pairs for substitution
67 * @return the original string with tokens substituted using their values
70 public static String replaceTokens(String s, Properties values) { argument
81 String propertyValue = values.getProperty(propertyName);

Completed in 228 milliseconds

1234567891011