Searched refs:first (Results 1 - 25 of 719) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/doctree/positions/
H A DTestPositionSource.java30 * @param first description
37 public boolean valid(int first, int second) throws IllegalStateException { argument
53 public boolean erroneous(int first, int second) throws IllegalStateException { argument
62 * @param first
68 public boolean withWhiteSpaces(int first, int second) throws IllegalStateException { argument
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/common/
H A DPair.java33 public Pair(T first, U second) { argument
35 this.first = first;
38 public final T first; field in class:Pair
44 public static <T, U> Pair<T, U> pair(T first, U second) { argument
45 return new Pair<>(first, second);
50 return "(" + first + ", " + second + ")";
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/spi/orb/
H A DStringPair.java28 private String first ; field in class:StringPair
41 return (first.equals( other.first ) &&
47 return first.hashCode() ^ second.hashCode() ;
50 public StringPair( String first, String second ) argument
52 this.first = first ;
58 return first ;
/openjdk10/test/lib/jdk/test/lib/util/
H A DPair.java31 * @param <F> first type
35 public final F first; field in class:Pair
38 public Pair(F first, S second) { argument
39 this.first = first;
45 return "(" + first + ":" + second + ")";
52 return Objects.equals(first, otherPair.first) &&
60 if (first == null) {
63 return first
[all...]
H A DTriple.java31 * @param <F> first element type
41 * @param first first element of the triple
45 public Triple(F first, S second, T third) { argument
46 container = new Pair<>(first, new Pair<>(second, third));
50 * Gets first element of the triple
53 return container.first;
60 return container.second.first;
79 return Objects.equals(container.first, objTriple.container.first)
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DFieldType.java34 private char first; field in class:FieldType
38 this.first = (char) signature.getByteAt(0);
40 switch (this.first) {
53 Assert.that(false, "Unknown char in field signature \"" + signature.asString() + "\": " + this.first);
59 public boolean isByte() { return first == 'B'; }
60 public boolean isChar() { return first == 'C'; }
61 public boolean isDouble() { return first == 'D'; }
62 public boolean isFloat() { return first == 'F'; }
63 public boolean isInt() { return first == 'I'; }
64 public boolean isLong() { return first
[all...]
/openjdk10/hotspot/test/compiler/c2/
H A DTest7048332.java37 static int first = 1; field in class:Test7048332
42 if (last >= first) {
43 result = last - first;
45 result = last - first + capacity;
H A DTest7046096.java37 static int first = 1; field in class:Test7046096
40 if (first != 0) {
48 for (int i = 0; i < first; i++) {
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/copyobject/
H A DFallbackObjectCopierImpl.java31 /** Trys a first ObjectCopier. If the first throws a ReflectiveCopyException,
36 private ObjectCopier first ; field in class:FallbackObjectCopierImpl
39 public FallbackObjectCopierImpl( ObjectCopier first, argument
42 this.first = first ;
49 return first.copy( src ) ;
/openjdk10/jdk/test/java/lang/ThreadGroup/
H A DSuspend.java35 private static final Thread first = new Thread(group, new Suspend()); field in class:Suspend
42 if (Thread.currentThread() == first) {
56 first.start();
60 while (!first.isAlive() || !second.isAlive()) {
71 first.stop();
/openjdk10/jdk/test/java/awt/Window/WindowDeadlockTest/
H A DWindowDeadlockTest.java49 Dialog first = new Dialog(main, "First");
50 first.setBounds(250, 0, 200, 100);
51 first.setVisible(true);
53 Dialog second = new Dialog(first, "Second");
60 Dialog third = new Dialog(first, "Third", false);
63 first.setVisible(false); // the hang takes place here
70 first.dispose();
/openjdk10/jdk/test/java/net/SocketOption/
H A DSupportedOptionsSet.java33 * @run main/othervm SupportedOptionsSet first
43 if (args[0].equals("first"))
44 first();
49 static void first() throws IOException { method in class:SupportedOptionsSet
55 Set<?> first = s.supportedOptions();
57 assertNotEqual(first, second,
60 first = ds.supportedOptions();
62 assertNotEqual(first, second,
74 Set<?> first = ss.supportedOptions();
76 assertNotEqual(first, secon
[all...]
/openjdk10/jdk/test/java/util/WeakHashMap/
H A DGCDuringIteration.java98 void checkIterator(final Iterator<Map.Entry<Foo, Integer>> it, int first) { argument
99 for (int i = first; i >= 0; --i) {
134 int first = firstValue(map);
136 foos[first] = null;
137 gcAwait(() -> map.size() == first);
138 checkIterator(it, first-1);
139 equal(map.size(), first);
140 equal(firstValue(map), first-1);
144 int first = firstValue(map);
146 it.next(); // protects first entr
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/resolver/
H A DCompositeResolverImpl.java34 private Resolver first ; field in class:CompositeResolverImpl
37 public CompositeResolverImpl( Resolver first, Resolver second ) argument
39 this.first = first ;
45 org.omg.CORBA.Object result = first.resolve( name ) ;
54 result.addAll( first.list() ) ;
/openjdk10/nashorn/test/script/basic/
H A DJDK-8013874.js40 function NameBuilder(first, last) {
41 this.first = first;
48 function NameBuilder2(first, last) {
49 this.first = first;
H A DJDK-8048505.js33 var first = readFully(str); variable
50 print(first.length() == second.length());
51 print(first.length() == third.length());
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/alloc/trace/lsra/
H A DFixedInterval.java47 private FixedRange first; field in class:FixedInterval
61 public FixedRange first() { method in class:FixedInterval
62 return first;
67 return first.from;
80 return first.intersects(i);
84 return first.intersectsAt(i);
89 current = first;
120 first().from = from;
124 return first() == FixedRange.EndMarker;
129 first
[all...]
/openjdk10/hotspot/src/share/vm/utilities/
H A Dpair.hpp33 T first; member in class:Pair
37 Pair(T t, V v) : first(t), second(v) {}
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/
H A DDTMAxisTraverser.java37 * for(int nodeHandle=myTraverser.first(myContext);
51 * an axis, the first function must be used to get the first node.
58 * @return the first node in the traversal.
60 public int first(int context) method in class:DTMAxisTraverser
68 * an axis, the first function must be used to get the first node.
77 * @return the first node in the traversal.
79 public int first(int context, int extendedTypeID) method in class:DTMAxisTraverser
91 * previous traversal step. For the first traversa
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/ref/
H A DCleaner.java72 private static Cleaner first = null; field in class:Cleaner
79 if (first != null) {
80 cl.next = first;
81 first.prev = cl;
83 first = cl;
94 if (first == cl) {
96 first = cl.next;
98 first = cl.prev;
/openjdk10/jdk/test/com/sun/jdi/
H A DInstTarg.java26 static InstTarg first = new InstTarg(); field in class:InstTarg
35 first.go();
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/event/
H A DHierarchyEvent.java99 * Marks the first integer id for the range of hierarchy event ids.
305 boolean first = true;
307 first = false;
311 if (first) {
312 first = false;
319 if (first) {
320 first = false;
326 if (!first) {
/openjdk10/langtools/test/tools/javac/linenumbers/
H A DFinallyLineNumberTest.java59 int first = current;
63 if (current != first + 2) {
64 throw new Exception("finally line number table incorrect: got=" + current + " expected=" + (first + 2));
69 if (current != first) {
70 throw new Exception("finally line number table incorrect: got=" + current + " expected=" + first);
75 if (current != first + 2) {
76 throw new Exception("finally line number table incorrect: got=" + current + " expected=" + (first + 2));
81 if (current != first + 3) {
82 throw new Exception("finally line number table incorrect: got=" + current + " expected=" + (first + 3));
/openjdk10/langtools/test/tools/javac/lambda/
H A DNestedCapture02.java32 <S,T> NestedCapture02<S,T> create(NestedCapture02<? super S,?> first, argument
40 NestedCapture02<? super S, ?> first, NestedCapture02<? super S, T> second) {
41 return create(first, second.cast(target));
39 test(Class<U> target, NestedCapture02<? super S, ?> first, NestedCapture02<? super S, T> second) argument
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DCharacterIterator.java54 * by calling setIndex(), first(), and last().
67 * for(char c = iter.first(); c != CharacterIterator.DONE; c = iter.next()) {
119 * @return the first character in the text, or DONE if the text is empty
122 public char first(); method in interface:CharacterIterator
176 * Returns the end index of the text. This index is the index of the first

Completed in 280 milliseconds

1234567891011>>