Searched refs:pair (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DTzIDOldMapping.java64 for (String[] pair : oldmap) {
65 MAP.put(pair[0], pair[1]);
/openjdk7/langtools/test/tools/javac/
H A DT6247324.java26 Pair<Integer, String> pair = new Pair<Integer, String>(0, "I am not sure");
27 int intValue = pair.getX();
28 String strValue = pair.getY();
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicMarkableReference.java64 private volatile Pair<V> pair; field in class:AtomicMarkableReference
74 pair = Pair.of(initialRef, initialMark);
83 return pair.reference;
92 return pair.mark;
104 Pair<V> pair = this.pair;
105 markHolder[0] = pair.mark;
106 return pair.reference;
149 Pair<V> current = pair;
165 Pair<V> current = pair;
[all...]
H A DAtomicStampedReference.java64 private volatile Pair<V> pair; field in class:AtomicStampedReference
74 pair = Pair.of(initialRef, initialStamp);
83 return pair.reference;
92 return pair.stamp;
104 Pair<V> pair = this.pair;
105 stampHolder[0] = pair.stamp;
106 return pair.reference;
149 Pair<V> current = pair;
166 Pair<V> current = pair;
[all...]
/openjdk7/jdk/test/java/rmi/RemoteException/chaining/
H A DChaining.java59 Throwable[] pair = new Throwable[]{t, cause};
60 pair = (Throwable[]) new MarshalledObject(pair).get();
61 check(pair[0], msg, pair[1]);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/rsa/
H A DBrokenRSAPrivateCrtKey.java45 KeyPair pair = generator.generateKeyPair();
47 RSAPrivateCrtKey privatekey = (RSAPrivateCrtKey) pair.getPrivate();
/openjdk7/jdk/test/sun/nio/cs/
H A DSurrogateGB18030Test.java39 * Valid Surrogate pair and 4 byte GB18030 representation
71 char[] pair = new char[2];
74 pair[0] = high;
75 pair[1] = low;
76 String s = new String(pair);
/openjdk7/jdk/src/share/classes/java/security/
H A DSigner.java114 * Sets the key pair (public key and private key) for this signer.
118 * as its argument to see if it's ok to set the key pair.
120 * @param pair an initialized key pair.
122 * @exception InvalidParameterException if the key pair is not
124 * @exception KeyException if the key pair cannot be set for any
128 * setting the key pair.
132 public final void setKeyPair(KeyPair pair) argument
135 final PublicKey pub = pair.getPublic();
136 PrivateKey priv = pair
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DCollationElementIterator.java649 EntryPair pair = (EntryPair)list.firstElement();
650 int order = pair.value;
655 pair = (EntryPair)list.lastElement();
656 int maxLength = pair.entryName.length();
687 pair = (EntryPair)list.elementAt(i);
688 if (!pair.fwd)
691 if (fragment.startsWith(pair.entryName) && pair.entryName.length()
693 maxLength = pair.entryName.length();
694 order = pair
[all...]
H A DRBCollationTables.java247 // need to consider supplementary pair.
265 EntryPair pair = (EntryPair)list.elementAt(i);
266 if (pair.fwd == fwd && pair.entryName.equals(name)) {
H A DRBTableBuilder.java386 EntryPair pair = (EntryPair) entryTable.elementAt(index);
387 pair.value = anOrder;
389 EntryPair pair = (EntryPair)entryTable.lastElement();
396 if (groupChars.length() > pair.entryName.length()) {
433 EntryPair pair = (EntryPair) entryTable.elementAt(index);
434 result = pair.value;
446 EntryPair pair = (EntryPair)groupList.firstElement();
447 order = pair.value;
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertificateValidity.java155 DerOutputStream pair = new DerOutputStream();
158 pair.putUTCTime(notBefore);
160 pair.putGeneralizedTime(notBefore);
163 pair.putUTCTime(notAfter);
165 pair.putGeneralizedTime(notAfter);
168 seq.write(DerValue.tag_Sequence, pair);
H A DCertAndKeyGen.java39 * Generate a pair of keys, and provide access to them. This class is
122 * Generates a random public/private key pair, with a given key
141 KeyPair pair;
148 pair = keyGen.generateKeyPair();
154 publicKey = pair.getPublic();
155 privateKey = pair.getPrivate();
167 * Returns the public key of the generated key pair if it is of type
172 * generated key pair, regardless of whether or not it is an instance of
185 * Always returns the public key of the generated key pair. Used
196 * Returns the private key of the generated key pair
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeLookupswitch.java40 Assert.that(0 <= i && i < numberOfPairs(), "pair index out of bounds");
89 LookupswitchPair pair = pairAt(i);
91 buf.append(Integer.toString(pair.match()));
93 buf.append(Integer.toString(bci() + pair.offset()));
/openjdk7/jdk/test/sun/security/util/Resources/
H A DNewNamesFormat.java52 for (Object[] pair: contents) {
53 String key = (String)pair[0];
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DAnnotationWriter.java79 public void write(Annotation.element_value_pair pair) { argument
80 write(pair, false);
83 public void write(Annotation.element_value_pair pair, boolean resolveIndices) { argument
84 writeIndex(pair.element_name_index, resolveIndices);
86 write(pair.value, resolveIndices);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DX509CertificatePair.java45 * used to hold a pair of cross certificates issued between Certification
62 * -- at least one of the pair shall be present -- }
91 * the pair must be non-null.
93 * @param forward The forward component of the certificate pair
95 * @param reverse The reverse component of the certificate pair
102 throw new CertificateException("at least one of certificate pair "
141 X509CertificatePair pair = (X509CertificatePair)cache.get(key);
142 if (pair != null) {
143 return pair;
145 pair
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSignatureAndHashAlgorithm.java220 SignatureAndHashAlgorithm pair =
222 if (supportedMap.put(pair.id, pair) != null) {
225 pair.id);
227 if (priorityMap.put(pair.priority, pair) != null) {
230 pair.priority);
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/types/
H A DTypeCache.java80 public Type getTypeByNTypes(Pair<NType,NType> pair) { return typesByNTypes.get(pair); } argument
81 public void putTypeByNTypes(Pair<NType,NType> pair, Type type) { if(pair!=null) typesByNTypes.put(pair, type); } argument
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyPairGenerator.java85 * Initializes the DSA key pair generator. If <code>genParams</code>
127 * are inappropriate for this key pair generator
148 * Generates a pair of keys usable by any JavaSecurity compliant
191 KeyPair pair = new KeyPair(pub, priv);
192 return pair;
199 * Generate the private key component of the key pair using the
221 * pair. In the terminology used in the DSA specification
246 * Generate the public key component y of the key pair.
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMimeTable.java319 String pair = tokenizer.nextToken();
320 parse(pair, newEntry);
326 void parse(String pair, MimeEntry entry) { argument
332 StringTokenizer tokenizer = new StringTokenizer(pair, "=");
/openjdk7/langtools/test/tools/javac/generics/inference/6215213/
H A DT6215213.java54 Pair<?, ?> pair = testPair(null);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DAttribute.java135 /** The attributes values, as pairs. Each pair contains a
181 for (Pair<MethodSymbol,Attribute> pair : values)
182 if (pair.fst.name == member) return pair.snd;
/openjdk7/jdk/test/sun/security/mscapi/
H A DSignUsingNONEwithRSA.java144 KeyPair pair = keyGen.generateKeyPair();
145 PrivateKey privateKey = pair.getPrivate();
146 PublicKey publicKey = pair.getPublic();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DJavaGroupOrganizer.java77 Pair<String, List<Group>> pair = new Pair<String, List<Group>>(s, list);
78 result.add(pair);

Completed in 3124 milliseconds

12