/openjdk9/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/ |
H A D | TestInterface.java | 59 public void methodB(List<String> list){} argument 64 public void methodC(List<List<String>> list){} argument 68 public void methodD(List<? extends Iterator<String>> list){} argument 76 public void methodF(List<? super Integer> list){} argument
|
/openjdk9/langtools/test/tools/javac/generics/inference/8077306/ |
H A D | T8077306.java | 37 List<Integer> list = Arrays.asList( field in class:T8077306
|
/openjdk9/jdk/test/java/awt/List/ScrollOutside/ |
H A D | ScrollOut.java | 29 @author Andrei Dmitriev area=awt-list 44 final List list = new List(); 48 list.add("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"); 51 frame.add(list); 66 Point from = new Point(list.getLocationOnScreen().x + list.getWidth()/2, 67 list.getLocationOnScreen().y + list.getHeight()/2); 68 Point to = new Point(list.getLocationOnScreen().x - 30, 78 list [all...] |
/openjdk9/jdk/test/java/util/Collections/ |
H A D | NullComparator.java | 34 List list = new ArrayList(100); 36 list.add(new Integer(i)); 37 List sorted = new ArrayList(list); 38 Collections.shuffle(list); 40 Object a[] = list.toArray(); 44 a = list.toArray(); 51 List tmp = new ArrayList(list); 57 if (!Collections.min(list, null).equals(new Integer(0))) 59 if (!Collections.max(list, null).equals(new Integer(99)))
|
/openjdk9/jdk/test/com/sun/jdi/ |
H A D | AllLineLocations.java | 72 List list = rt.allLineLocations(); 73 if (list.size() != 1) { 84 if (!list2.equals(list)) { 96 list = rt.allLineLocations(); 97 if (list.size() != 1) { 108 if (!list2.equals(list)) { 120 list = rt.allLineLocations(); 121 if (list.size() != 0) { 134 list = rt.allLineLocations(); 135 if (list [all...] |
/openjdk9/jdk/test/java/util/List/ |
H A D | SubList.java | 57 public void testAdd(List<Integer> list, int from, int to) { argument 58 List<Integer> subList = list.subList(from, to); 61 assertEquals(list.get(to), e); 67 public void testModAdd(List<Integer> list, int from, int to) { argument 68 List<Integer> subList = list.subList(from, to); 69 list.add(42); 75 public void testUnmodAdd(List<Integer> list, int from, int to) { argument 76 List<Integer> subList = list.subList(from, to); 81 public void testAddAtPos(List<Integer> list, int from, int to) { argument 82 List<Integer> subList = list 92 testModAddAtPos(List<Integer> list, int from, int to) argument 101 testUnmodAddAtPos(List<Integer> list, int from, int to) argument 108 testClear(List<Integer> list, int from, int to) argument 117 testModClear(List<Integer> list, int from, int to) argument 125 testUnmodClear(List<Integer> list, int from, int to) argument 131 testEquals(List<Integer> list, int from, int to) argument 157 testModHashCode(List<Integer> list, int from, int to) argument 164 testGet(List<Integer> list, int from, int to) argument 172 testModGet(List<Integer> list, int from, int to) argument 179 testIndexOf(List<Integer> list, int from, int to) argument 207 testModIndexOf(List<Integer> list, int from, int to) argument 214 testIterator(List<Integer> list, int from, int to) argument 226 testModIteratorNext(List<Integer> list, int from, int to) argument 234 testIteratorRemove(List<Integer> list, int from, int to) argument 248 testModIteratorRemove(List<Integer> list, int from, int to) argument 258 testUnmodIteratorRemove(List<Integer> list, int from, int to) argument 266 testIteratorForEachRemaining(List<Integer> list, int from, int to) argument 286 testLastIndexOf(List<Integer> list, int from, int to) argument 313 testModLastIndexOf(List<Integer> list, int from, int to) argument 320 testListIterator(List<Integer> list, int from, int to) argument 333 testModListIteratorNext(List<Integer> list, int from, int to) argument 341 testListIteratorSet(List<Integer> list, int from, int to) argument 357 testModListIteratorSet(List<Integer> list, int from, int to) argument 367 testUnmodListIteratorSet(List<Integer> list, int from, int to) argument 375 testListIteratorPrevious(List<Integer> list, int from, int to) argument 388 testModListIteratorPrevious(List<Integer> list, int from, int to) argument 396 testListIteratorSetPrevious(List<Integer> list, int from, int to) argument 412 testUnmodListIteratorSetPrevious(List<Integer> list, int from, int to) argument 420 testListIteratorAdd(List<Integer> list, int from, int to) argument 434 testUnmodListIteratorAdd(List<Integer> list, int from, int to) argument 443 testModListIteratorAdd(List<Integer> list, int from, int to) argument 452 testListIteratorRemoveNext(List<Integer> list, int from, int to) argument 467 testUnmodListIteratorRemoveNext(List<Integer> list, int from, int to) argument 476 testModListIteratorRemove(List<Integer> list, int from, int to) argument 485 testListIteratorRemovePrevious(List<Integer> list, int from, int to) argument 500 testUnmodListIteratorRemovePrevious(List<Integer> list, int from, int to) argument 508 testRemove(List<Integer> list, int from, int to) argument 520 testUnmodRemove(List<Integer> list, int from, int to) argument 528 testModRemove(List<Integer> list, int from, int to) argument 535 testSet(List<Integer> list, int from, int to) argument 547 testModSet(List<Integer> list, int from, int to) argument 554 testSubList(List<Integer> list, int from, int to) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/ |
H A D | BasicListUI.java | 65 protected JList<Object> list = null; field in class:BasicListUI 111 * Height of the list. When asked to paint, if the current size of 112 * the list differs, this will update the layout state. 117 * Width of the list. When asked to paint, if the current size of 118 * the list differs, this will update the layout state. 123 * The layout orientation of the list. 127 // Following ivars are used if the list is laying out horizontally 134 * Preferred height to make the list, this is only used if the 135 * the list is layed out horizontally. 250 * @param cellRenderer a list o 993 createUI(JComponent list) argument 1002 locationToIndex(JList<?> list, Point location) argument 1011 indexToLocation(JList<?> list, int index) argument 1025 getCellBounds(JList<?> list, int index1, int index2) argument 1069 getCellBounds(JList<?> list, int index) argument 2091 clearSelection(JList<?> list) argument 2095 selectAll(JList<?> list) argument 2124 getNextPageIndex(JList<?> list, int direction) argument 2249 changeSelection(JList<?> list, int type, int index, int direction) argument 2292 adjustScrollPositionIfNecessary(JList<?> list, int index, int direction) argument 2380 getNextColumnIndex(JList<?> list, BasicListUI ui, int amount) argument 2413 getNextIndex(JList<?> list, BasicListUI ui, int amount) argument 2924 adjustIndex(int index, JList<?> list) argument [all...] |
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ |
H A D | LivenessAnalysis.java | 48 LivenessPathList list = computeAllLivenessPaths(target, true); 49 if ((list == null) || (list.size() == 0)) { 53 return list; 96 LivenessPathList list = new LivenessPathList(); 100 list.add(path); 108 for (int i = list.size() - 1; i >= 0; i--) { 109 LivenessPath tmp = list.get(i); 118 return list; 123 // Remove the path from the list o [all...] |
/openjdk9/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/textfield/ |
H A D | JHistoryTextField.java | 56 private final JList<String> list = new JList<>(new DefaultListModel<>()); field in class:JHistoryTextField 63 JScrollPane scrollPane = new JScrollPane(list, 69 list.setFocusable(false); 92 list.addMouseMotionListener(new MouseAdapter() { 95 int index = list.locationToIndex(e.getPoint()); 97 if (index >= 0 && list.getSelectedIndex() != index) { 98 list.setSelectedIndex(index); 103 list.addMouseListener(new MouseAdapter() { 107 setTextWithoutNotification(list.getSelectedValue()); 133 changeListSelectedIndex(-list [all...] |
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/transform/ |
H A D | DocumentExtFunc.java | 31 public static String test(NodeList list) { argument 32 Node node = list.item(0);
|
/openjdk9/jdk/test/java/beans/XMLEncoder/6777487/ |
H A D | TestCheckedRandomAccessList.java | 39 List<String> list = new ArrayList<String>(); 41 Collections.checkedList(list, String.class),
|
H A D | TestCheckedCollection.java | 39 List<String> list = Collections.emptyList(); 41 Collections.checkedCollection(list, String.class),
|
H A D | TestCheckedList.java | 39 List<String> list = Collections.emptyList(); 41 Collections.checkedList(list, String.class),
|
/openjdk9/jdk/test/java/awt/Paint/ |
H A D | ListRepaint.java | 42 ListRepaint list = new ListRepaint(); 43 list.add("1"); 44 list.add("2"); 45 list.add("3"); 46 list.add("4"); 47 list.select(0); 48 frame.add(list); 51 list.test();
|
/openjdk9/jdk/test/java/awt/dnd/FileListBetweenJVMsTest/ |
H A D | SourceFileListFrame.java | 39 private List list = new List(FileListBetweenJVMsTest.VISIBLE_RAWS_IN_LIST); field in class:SourceFileListFrame 47 new DragSource().createDefaultDragGestureRecognizer(list, 57 list.add(currFile.getName()); 64 this.add(new Panel().add(list)); 78 return (int)list.getLocationOnScreen().getX()+(list.getWidth()/2); 82 return (int)list.getLocationOnScreen().getY()+ SOURCE_POINT_SHIFT; 90 String [] filesAsStringArray = list.getItems();
|
H A D | FileListTransferable.java | 35 private java.util.List<File> list; field in class:FileListTransferable 37 public FileListTransferable(java.util.List<File> list) { argument 38 this.list = list; 54 return list;
|
/openjdk9/jdk/test/java/awt/dnd/URIListBetweenJVMsTest/ |
H A D | SourceFileListFrame.java | 39 private List list = new List(URIListBetweenJVMsTest.VISIBLE_RAWS_IN_LIST); field in class:SourceFileListFrame 47 new DragSource().createDefaultDragGestureRecognizer(list, 57 list.add(currFile.getName()); 64 this.add(new Panel().add(list)); 78 return (int)list.getLocationOnScreen().getX()+(list.getWidth()/2); 82 return (int)list.getLocationOnScreen().getY()+ SOURCE_POINT_SHIFT; 90 String [] filesAsStringArray = list.getItems();
|
H A D | FileListTransferable.java | 35 private java.util.List<File> list; field in class:FileListTransferable 37 public FileListTransferable(java.util.List<File> list) { argument 38 this.list = list; 54 return list;
|
/openjdk9/langtools/test/tools/javac/generics/diamond/pos/ |
H A D | Pos08.java | 45 public static <T> List<T> m(List<T> list, T item) { argument 46 return list;
|
/openjdk9/langtools/test/tools/javac/lambda/methodReference/ |
H A D | MethodRefToInner.java | 49 List<String> list = new ArrayList<>(); 50 list.stream().forEach(TestString::new);
|
H A D | MethodRefToInnerWithoutOuter.java | 21 List<String> list = new ArrayList<>(); 22 list.stream().forEach(TestString::new);
|
/openjdk9/langtools/test/tools/javadoc/6958836/ |
H A D | Test.java | 40 javadoc("errs", list(), 10, 0); 41 javadoc("errs", list("-Xmaxerrs", "0"), 10, 0); 42 javadoc("errs", list("-Xmaxerrs", "2"), 2, 0); 43 javadoc("errs", list("-Xmaxerrs", "4"), 4, 0); 44 javadoc("errs", list("-Xmaxerrs", "20"), 10, 0); 46 javadoc("warns", list(), 0, 10); 47 javadoc("warns", list("-Xmaxwarns", "0"), 0, 10); 48 javadoc("warns", list("-Xmaxwarns", "2"), 0, 2); 49 javadoc("warns", list("-Xmaxwarns", "4"), 0, 4); 50 javadoc("warns", list(" 111 private List<String> list(String... args) { method in class:Test [all...] |
/openjdk9/jdk/test/java/awt/dnd/URIListToFileListBetweenJVMsTest/ |
H A D | URIListTransferable.java | 35 private List<URI> list; field in class:URIListTransferable 37 public URIListTransferable(List<URI> list) { argument 39 this.supportedFlavor = new DataFlavor("text/uri-list;class=java.lang.String"); 43 this.list = list; 56 return list.stream()
|
/openjdk9/jdk/test/java/awt/Focus/FocusTraversalPolicy/ |
H A D | InitialFTP_AWT.java | 58 List list = new List(); field in class:AWTFrame 63 list.add("one"); 64 list.add("two"); 65 list.add("three"); 70 this.add(list);
|
/openjdk9/jdk/src/java.management/share/classes/javax/management/ |
H A D | AttributeList.java | 35 * <p>Represents a list of values for attributes of an MBean. See the 100 * @param list the <code>AttributeList</code> that defines the initial 105 public AttributeList(AttributeList list) { argument 106 super(list); 114 * @param list the {@code List} that defines the initial contents of 117 * @exception IllegalArgumentException if the {@code list} parameter 118 * is {@code null} or if the {@code list} parameter contains any 125 public AttributeList(List<Attribute> list) { argument 128 if (list == null) 133 adding(list); 229 addAll(AttributeList list) argument 249 addAll(int index, AttributeList list) argument [all...] |