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

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DStandardMetadataFormat.java45 List values;
55 values = new ArrayList();
56 values.add("XYZ");
57 values.add("Lab");
58 values.add("Luv");
59 values.add("YCbCr");
60 values.add("Yxy");
61 values.add("YCCK");
62 values.add("PhotoYCC");
63 values
[all...]
/openjdk7/langtools/test/tools/javac/diags/examples/
H A DNotLoopLabel.java29 int[] values = { 1, 2, 3 };
30 for (int v: values) {
H A DUndefinedLabel.java28 int[] values = { 1, 2, 3 };
29 for (int v: values) {
/openjdk7/jdk/test/java/io/CharArrayReader/
H A DConstructor.java36 int values[] = {Integer.MIN_VALUE, -1, 0, 1, 4, 16, 31,
44 for ( j = 0; j < values.length; j++) {
45 for ( k = 0; k < values.length; k++) {
50 indexOutBnd = (values[j] < 0)
51 || (values[j] > bufLen)
52 || (values[k] < 0)
53 || ((values[j] + values[k]) < 0);
57 (b[i], values[j], values[
[all...]
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DEnumControl.java30 * discrete possible values, each represented by an object. In a
40 * a set of values along some quantifiable dimension might be implemented
42 * However, a key feature of <code>EnumControl</code> is that the returned values
43 * are arbitrary objects, rather than numerical or boolean values. This means that each
46 * <code>{@link ReverbType}</code> that can be queried for the parameter values
62 * The set of possible values.
64 private Object[] values; field in class:EnumControl
81 * @param values the set of possible values for the control
84 protected EnumControl(Type type, Object[] values, Objec argument
[all...]
/openjdk7/jdk/test/java/io/Reader/
H A DReadParams.java35 static int values[] = {Integer.MIN_VALUE, -1, 0, 1, 4, 16, 31, field in class:ReadParams
44 for ( j = 0; j < values.length; j++) {
45 for ( k = 0; k < values.length; k++) {
50 indexOutBnd = ((values[j] + values[k]) < 0)
51 ||(values[j] < 0)
52 || (values[j] > bufLen)
53 || (values[k] < 0)
54 || ((values[j] + values[
[all...]
/openjdk7/jdk/test/java/io/Writer/
H A DWriteParams.java35 static int values[] = {Integer.MIN_VALUE, -1, 0, 1, 4, 16, 31, field in class:WriteParams
44 for ( j = 0; j < values.length; j++) {
45 for ( k = 0; k < values.length; k++) {
50 indexOutBnd = ((values[j] + values[k]) < 0)
51 || (values[j] < 0)
52 || (values[j] > bufLen)
53 || (values[k] < 0)
54 || ((values[j] + values[
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DOptions.java48 private LinkedHashMap<String,String> values; field in class:Options
60 values = new LinkedHashMap<String,String>();
68 return values.get(name);
75 return values.get(name.optionName);
98 return (values.get(name) != null);
105 return (values.get(name.optionName) != null);
112 return (values.get(name.optionName + value) != null);
119 return (values.get(name) == null);
126 return (values.get(name.optionName) == null);
133 return (values
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/soap/
H A DAttachmentPart.java356 String[] values = getMimeHeader("Content-ID");
357 if (values != null && values.length > 0)
358 return values[0];
370 String[] values = getMimeHeader("Content-Location");
371 if (values != null && values.length > 0)
372 return values[0];
384 String[] values = getMimeHeader("Content-Type");
385 if (values !
[all...]
H A DSOAPPart.java89 String[] values = getMimeHeader("Content-Id");
90 if (values != null && values.length > 0)
91 return values[0];
103 String[] values = getMimeHeader("Content-Location");
104 if (values != null && values.length > 0)
105 return values[0];
154 * Gets all the values of the <code>MimeHeader</code> object
159 * @return a <code>String</code> array giving all the values fo
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DAttributeMap.java30 The only new api is 'getValues()' which returns the values struct as
32 create a real map and forward to it, and nuke values because of the
34 trying to create a map that only clears values if the map has been
35 changed, or implementing the map API directly on top of the values
58 private AttributeValues values; field in class:AttributeMap
61 public AttributeMap(AttributeValues values) { argument
62 this.values = values;
75 return values;
85 delegateMap = values
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/
H A DCompositeStructure.java34 * and values[i] (which defines the actual value.)
50 public Object[] values; field in class:CompositeStructure
/openjdk7/langtools/test/com/sun/javadoc/testNewLanguageFeatures/pkg/
H A DCoin.java43 * Overloaded values method has correct documentation.
45 public static final Coin[] values(int foo) { method in class:Coin
/openjdk7/jdk/test/javax/management/descriptor/
H A DImmutableArrayFieldTest.java28 * compromised by modifying field values that are arrays.
75 Object[] values = d.getFieldValues("strings", "ints", "booleans");
76 ((String[]) values[0])[0] = "bar";
77 ((int[]) values[1])[0] = 0;
78 ((boolean[]) values[2])[0] = true;
79 values = d.getFieldValues("strings", "ints", "booleans");
80 if (!((String[]) values[0])[0].equals("foo") ||
81 ((int[]) values[1])[0] != 5 ||
82 ((boolean[]) values[2])[0]) {
84 Arrays.deepToString(values));
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSpinnerListModel.java34 * values are defined by an array or a <code>List</code>.
67 * values is defined by the specified <code>List</code>.
69 * of the model will be <code>values.get(0)</code>.
70 * If <code>values</code> is <code>null</code> or has zero
73 * @param values the sequence this model represents
74 * @throws IllegalArugmentException if <code>values</code> is
77 public SpinnerListModel(List<?> values) { argument
78 if (values == null || values.size() == 0) {
81 this.list = values;
97 SpinnerListModel(Object[] values) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/directory/
H A DBasicAttribute.java47 * determine equality of attribute values when testing for equality or
48 * when searching for values, <em>except</em> when the value is an array.
53 * Similarly, the <tt>BasicAttribute</tt> class by default returns the values passed to its
56 * to get the values dynamically from the directory (or implement
82 * Holds the attribute's values. Initialized by public constructors.
84 * values have been overridden.
86 protected transient Vector<Object> values; field in class:BasicAttribute
89 * A flag for recording whether this attribute's values are ordered.
101 attr.values = (Vector)values
[all...]
/openjdk7/hotspot/test/compiler/6741738/
H A DTester.java32 private String[] values; field in class:Tester
39 s = values[i];
/openjdk7/jdk/test/javax/naming/ldap/LdapName/
H A DEscapeUnescapeTests.java76 String[] values = new String[] {";", "<<<", "###", "=="};
78 printEscapedVal(values);
81 values = new String[] {" leading space", "trailing space "};
82 printEscapedVal(values);
84 // binary values
91 static void printEscapedVal(Object[] values) { argument
93 for (int i = 0; i < values.length; i++) {
94 escVal = Rdn.escapeValue(values[i]);
95 System.out.println("Orig val: " + values[i] +
/openjdk7/jdk/test/java/lang/management/CompositeData/
H A DMemoryUsageCompositeData.java48 // these values are synchronized with the item names
49 final Object[] values = {
67 values);
69 if (u.getInit() != ((Long) values[INIT]).longValue()) {
71 " expected = " + values[INIT]);
73 if (u.getUsed() != ((Long) values[USED]).longValue()) {
75 " expected = " + values[USED]);
77 if (u.getCommitted() != ((Long) values[COMMITTED]).longValue()) {
79 " expected = " + values[COMMITTED]);
81 if (u.getMax() != ((Long) values[MA
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJAnnotationArrayMember.java46 private final List<JAnnotationValue> values = new ArrayList<JAnnotationValue>(); field in class:JAnnotationArrayMember
62 values.add(annotationValue);
75 values.add(annotationValue);
88 values.add(annotationValue);
101 values.add(annotationValue);
114 values.add(annotationValue);
127 values.add(annotationValue);
140 values.add(annotationValue);
153 values.add(annotationValue);
166 values
[all...]
/openjdk7/hotspot/test/compiler/7177917/
H A DTest7177917.java37 static long m_pow(double[][] values) { argument
40 for (int i = 0; i < values.length; i++) {
41 res += Math.pow(values[i][0], values[i][1]);
48 static long m_exp(double[] values) { argument
51 for (int i = 0; i < values.length; i++) {
52 res += Math.exp(values[i]);
98 double[][] values = pow_values(1000000);
99 System.out.println("==> POW " + m_pow(values));
113 System.out.println("==> POW " + m_pow(values));
[all...]
/openjdk7/jdk/src/share/native/sun/misc/
H A DVM.c46 jintArray values; local
49 values = (*GetThreadStateValues_fp)(env, state);
50 if (values == NULL) {
57 (*env)->SetObjectArrayElement(env, stateValues, state, values);
59 names = (*GetThreadStateNames_fp)(env, state, values);
71 jobjectArray values,
78 jsize len1 = (*env)->GetArrayLength(env, values);
106 get_thread_state_info(env, JAVA_THREAD_STATE_NEW, values, names);
107 get_thread_state_info(env, JAVA_THREAD_STATE_RUNNABLE, values, names);
108 get_thread_state_info(env, JAVA_THREAD_STATE_BLOCKED, values, name
70 Java_sun_misc_VM_getThreadStateValues(JNIEnv *env, jclass cls, jobjectArray values, jobjectArray names) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassSet.java90 Collection values = _map.values();
91 JavaClass[] classes = new JavaClass[values.size()];
92 values.toArray(classes);
/openjdk7/langtools/test/tools/javac/enum/
H A DEnum1.java27 * @summary enums: test output of values().toString()
37 if (!Arrays.asList(values()).toString().equals("[red, green, blue]"))
H A DSynthValues.java35 for (SynthValues t : values()) {

Completed in 468 milliseconds

1234567891011>>