/openjdk9/langtools/test/tools/javac/lambda/ |
H A D | TargetType51.java | 55 void testAssignmentContext(SimpleList<Person> list, boolean cond) { argument 56 SimpleList<Person> p1 = list.sort(comparing(Person::getName)); 57 SimpleList<Person> p2 = list.sort(comparing(x->x.getName())); 58 SimpleList<Person> p3 = list.sort(cond ? comparing(Person::getName) : comparing(x->x.getName())); 59 SimpleList<Person> p4 = list.sort((cond ? comparing(Person::getName) : comparing(x->x.getName()))); 62 void testMethodContext(SimpleList<Person> list, boolean cond) { argument 63 testMethodContext(list.sort(comparing(Person::getName)), true); 64 testMethodContext(list.sort(comparing(x->x.getName())), true); 65 testMethodContext(list.sort(cond ? comparing(Person::getName) : comparing(x->x.getName())), true); 66 testMethodContext(list [all...] |
/openjdk9/langtools/test/tools/javac/classfiles/attributes/innerclasses/ |
H A D | InnerClassesInLocalClassTest.java | 88 List<TestCase> list = new ArrayList<>(); 90 list.addAll(lambda(template)); 91 list.addAll(constructor(template)); 92 list.addAll(method(template, 95 list.addAll(staticAndInstanceInitializer(template)); 96 return list; 107 List<TestCase> list = new ArrayList<>(); 109 list.add(new TestCase(template.replace("%SOURCE%", 113 return list; 121 List<TestCase> list [all...] |
/openjdk9/jdk/test/sun/security/smartcardio/ |
H A D | TestMultiplePresent.java | 54 List<CardTerminal> list = terminals.list(); 55 System.out.println("Terminals: " + list); 57 if (list.size() < 2) { 58 if (list.isEmpty()) { 69 for (CardTerminal terminal : list) { 82 result = terminals.list(CARD_PRESENT); 93 result = terminals.list(CARD_PRESENT); 101 result = terminals.list(CARD_INSERTION); 108 result = terminals.list(CARD_INSERTIO [all...] |
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/xml/internal/stream/dtd/nonvalidating/ |
H A D | XMLSimpleType.java | 79 /** list */ 80 public boolean list; field in class:XMLSimpleType 102 * @param list 109 boolean list, short defaultType, 122 this.list = list; 142 list = simpleType.list; 156 this.list = false; 108 setValues(short type, String name, String[] enumeration, boolean list, short defaultType, String defaultValue, String nonNormalizedDefaultValue) argument
|
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/ |
H A D | Headers.java | 48 * Then get("hEaDeRnAmE") would give both "value1", and "value2" values in a list 55 * <li>{@link #add(String,String)} adds the given header value to the list 58 * value given overwriting any existing values in the value list. 63 * as either a null entry for the key (i.e. the list is null) or where the key 64 * has a list, but one (or more) of the list's values is null. Null values are 91 * Adds the given value to the list of headers for the given key. If the 98 List<String> list = this.get(key); 99 if (list == null) { 100 list [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/ |
H A D | SynthComboPopup.java | 46 * Configures the list which is used to hold the combo box items in the 54 list.setFont( comboBox.getFont() ); 55 list.setCellRenderer( comboBox.getRenderer() ); 56 list.setFocusable( false ); 57 list.setSelectionMode( ListSelectionModel.SINGLE_SELECTION ); 60 list.clearSelection(); 63 list.setSelectedIndex( selectedIndex ); 64 list.ensureIndexIsVisible( selectedIndex );
|
H A D | SynthListUI.java | 52 * @param list component to create UI object for 55 public static ComponentUI createUI(JComponent list) { argument 96 list.addPropertyChangeListener(this); 115 list.removePropertyChangeListener(this); 123 if (list.getCellRenderer() == null || 124 (list.getCellRenderer() instanceof UIResource)) { 125 list.setCellRenderer(new SynthListCellRenderer()); 127 updateStyle(list); 131 SynthContext context = getContext(list, ENABLED); 138 Color sbg = list 207 getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument [all...] |
/openjdk9/jdk/src/jdk.httpserver/share/classes/sun/net/httpserver/ |
H A D | ContextList.java | 36 LinkedList<HttpContextImpl> list = new LinkedList<HttpContextImpl>(); field in class:ContextList 40 list.add (ctx); 44 return list.size(); 58 for (HttpContextImpl ctx: list) { 81 throw new IllegalArgumentException ("cannot remove element from list"); 83 list.remove (ctx); 89 for (HttpContextImpl ctx: list) { 91 list.remove (ctx); 95 throw new IllegalArgumentException ("no such context in list");
|
/openjdk9/jdk/test/java/awt/event/MouseWheelEvent/DisabledComponent/ |
H A D | DisabledComponent.java | 60 List list = new List(3); 61 list.add("1"); 62 list.add("2"); 63 list.add("3"); 64 frame.add(list); 77 list.addMouseWheelListener(listener); 83 // point and wheel on the list 84 Util.pointOnComp(list, robot);
|
/openjdk9/jdk/test/javax/swing/JList/6567433/ |
H A D | UpdateUIRecursionTest.java | 46 JList list; field in class:UpdateUIRecursionTest 58 list = new JList(listData); 59 list.setCellRenderer(this); 61 getContentPane().add(new JScrollPane(list), BorderLayout.CENTER); 82 list.updateUI(); 90 public Component getListCellRendererComponent(JList list, Object value, argument 93 return renderer.getListCellRendererComponent(list, value, index,
|
/openjdk9/jdk/test/tools/jar/multiRelease/whitebox/jdk.jartool/sun/tools/jar/ |
H A D | ValidatorComparatorTest.java | 41 List<String> list = 45 List<String> sorted = list.stream() 48 List<String> expected = list; 52 list = List.of("META-INF/versions/10/module-info.class", 55 sorted = list.stream().sorted(ENTRYNAME_COMPARATOR).collect(toList()); 63 list = List.of("META-INF/versions/1001/module-info.class", 80 sorted = list.stream().sorted(ENTRYNAME_COMPARATOR).collect(toList());
|
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSList.java | 35 public JSList(List list, JSJavaFactory fac) { argument 36 this.list = list; 42 return new Integer(list.size()); 50 Object item = list.get(index); 59 final int size = list.size(); 99 for (Iterator itr = list.iterator(); itr.hasNext();) { 111 return index >= 0 && index < list.size(); 118 private final List list; field in class:JSList
|
/openjdk9/jdk/test/java/awt/List/ItemEventTest/ |
H A D | ItemEventTest.java | 47 List list; field in class:ItemEventTest 61 list = new List(4, true); 62 list.add("0"); 63 list.add("1"); 64 list.add("2"); 65 list.add("3"); 67 add(list); 92 list.addItemListener(new ItemListener() { 103 Point loc = list.getLocationOnScreen(); 104 Rectangle rect = list [all...] |
/openjdk9/jdk/test/java/util/ArrayList/ |
H A D | RangeCheckMicroBenchmark.java | 148 private static void deoptimize(ArrayList<Integer> list) { argument 149 for (Integer x : list) 162 final ArrayList<Integer> list = new ArrayList<>(); 165 list.add(rnd.nextInt()); 171 if (list.get(k) == 42) 174 deoptimize(list);}}, 176 Integer[] xs = list.toArray(new Integer[size]); 179 list.set(k, xs[k]); 181 deoptimize(list);}}, 185 list [all...] |
/openjdk9/langtools/test/tools/javac/lambda/funcInterfaces/ |
H A D | NonSAM3.java | 17 DE de = (List<Integer> list) -> 100; 18 DE de2 = (List<?> list) -> 100; 19 DE de3 = (List list) -> 100;
|
/openjdk9/jdk/test/java/beans/XMLEncoder/ |
H A D | Test6921644.java | 74 private List<T> list = new ArrayList<T>(); field in class:Test6921644.Owner 86 return this.list; 89 public void setList(List<T> list) { argument 90 this.list = list; 98 private List<Document> list = new ArrayList<Document>(); field in class:Test6921644.Author 127 return this.list; 130 public void setList(List<Document> list) { argument 131 this.list = list; 142 private List<Document> list = new ArrayList<Document>(); field in class:Test6921644.Category 157 setList(List<Document> list) argument [all...] |
H A D | Test4652928.java | 46 List<BeanContext> list = new ArrayList<BeanContext>(); 47 list.add(fill(new BeanContextSupport())); 48 list.add(fill(new BeanContextServicesSupport())); 49 return list;
|
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/spi/resolver/ |
H A D | Resolver.java | 43 java.util.Set list() ; method in interface:Resolver
|
/openjdk9/hotspot/test/serviceability/tmtools/jstat/utils/ |
H A D | GcProvoker.java | 42 List<Object> list = new ArrayList<>(); 47 list.add(new byte[MEMORY_CHUNK]); 50 list = null; 54 return list;
|
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/ |
H A D | FeatureListValidator.java | 32 * Validates a list of {@link WebServiceFeature} instances when they are added to 46 * Validates feature list. Implementations should throw {@link WebServiceException} if the 47 * list of features is invalid. Implementations may add features to the list or make other 48 * changes; however, only validators belonging to features on the original list will be 51 * @param list feature list 53 public void validate(WSFeatureList list); argument
|
/openjdk9/jdk/src/java.base/share/classes/sun/text/normalizer/ |
H A D | UnicodeSet.java | 129 * complete list of supported property patterns, see the User's Guide 303 private int len; // length used; list may be longer to minimize reallocs 304 private int[] list; // MUST be terminated with HIGH field in class:UnicodeSet 319 * representation from the inversion list. 339 list = new int[1 + START_EXTRA]; 340 list[len++] = HIGH; 385 list = other.list.clone(); 441 // find smallest i such that c < list[i] 450 // assert(list[le [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | ListCellRenderer.java | 42 * public Component getListCellRendererComponent(JList<?> list, 54 * JList.DropLocation dropLocation = list.getDropLocation(); 96 * of a list because the list cells do not have a fixed size, this method 100 * @param list The JList we're painting. 101 * @param value The value returned by list.getModel().getElementAt(index). 112 JList<? extends E> list, 111 getListCellRendererComponent( JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus) argument
|
/openjdk9/jdk/src/java.security.jgss/share/classes/sun/security/jgss/ |
H A D | TokenTracker.java | 32 * A utility class that implements a number list that keeps track of which 33 * tokens have arrived by storing their token numbers in the list. It helps 36 * Each element of the list is an interval [a, b]. Its existence in the 37 * list implies that all token numbers in the range a, a+1, ..., b-1, b 39 * numbers that fall in between two elements of the list. eg. {[a,b], 45 * sequence numbers are deleted from the list. The earliest sequence number 46 * that exists in the list is the windowStart. The next expected sequence 48 * number in the list. 50 * The list keeps track the first token number that should have arrived 56 * The working of the list i 72 private LinkedList<Entry> list = new LinkedList<Entry>(); field in class:TokenTracker [all...] |
/openjdk9/jdk/test/java/io/File/ |
H A D | ListSpace.java | 26 * @summary check list with spaces at end of path 37 if (d.list() == null) 38 throw new RuntimeException("list is null");
|
/openjdk9/langtools/test/tools/javac/ |
H A D | T6587674.java | 33 private static final Vector<String> list = field in class:T6587674
|