Searched refs:list (Results 251 - 275 of 1275) sorted by relevance

<<11121314151617181920>>

/openjdk9/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotJVMCIMetaAccessContext.java56 * This is a chunked list of metadata roots. It can be read from VM native code so it's been
61 private ChunkedList<WeakReference<MetaspaceWrapperObject>> list = new ChunkedList<>(); field in class:HotSpotJVMCIMetaAccessContext
64 * The number of weak references freed since the last time the list was shrunk.
90 * Periodically trim the list of tracked metadata. A new list is created to replace the old to
102 if (freed > list.size() / 2) {
104 for (WeakReference<MetaspaceWrapperObject> element : list) {
113 list = newList;
114 metadataRoots = list.getHead();
129 list
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/
H A DDefaultListCellRenderer.java41 * Renders an item in a list.
54 * that are unnecessary for the default list cell renderer.
94 * in a list.
119 JList<?> list,
125 setComponentOrientation(list.getComponentOrientation());
130 JList.DropLocation dropLocation = list.getDropLocation();
142 setBackground(bg == null ? list.getSelectionBackground() : bg);
143 setForeground(fg == null ? list.getSelectionForeground() : fg);
146 setBackground(list.getBackground());
147 setForeground(list
118 getListCellRendererComponent( JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
[all...]
/openjdk9/jdk/test/java/awt/dnd/URIListBetweenJVMsTest/
H A DTargetFileListFrame.java42 private List list = new List(URIListBetweenJVMsTest.VISIBLE_RAWS_IN_LIST); field in class:TargetFileListFrame
48 dropFlavor = new DataFlavor("text/uri-list;class=java.io.Reader");
53 setDropTarget(new DropTarget(list, DnDConstants.ACTION_COPY,
64 this.add(new Panel().add(list));
90 list.removeAll();
94 list.add(file.getName());
141 return new Point((int)list.getLocationOnScreen().getX()+(list.getWidth()/2),
142 (int)list.getLocationOnScreen().getY()+(list
[all...]
/openjdk9/jdk/test/javax/swing/JList/6462008/
H A Dbug6462008.java28 * @summary Tests that mouse/keyboard work properly on JList with lead < 0 or > list.getModel().getSize()
43 private static JList list; field in class:bug6462008
281 Rectangle r = list.getCellBounds(4, 4);
283 SwingUtilities.convertPointToScreen(p, list);
296 list.getSelectionModel().setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
297 list.getSelectionModel().clearSelection();
308 list.getActionMap().get("scrollDownExtendSelection").
309 actionPerformed(new ActionEvent(list,
320 list.getSelectionModel().setSelectionMode(selectionMode);
331 list
[all...]
/openjdk9/hotspot/test/gc/cms/
H A DTestBubbleUpRef.java88 MyList list; field in class:TestBubbleUpRef
100 list = new MyList(arraySize);
101 refList = new MyRefList(list, rq);
111 list.add(next);
120 System.out.println("Freeing list");
121 while (!list.isEmpty()) {
122 list.removeFirst();
153 * args[0] - array size (is the size of the int array in a list item)
/openjdk9/hotspot/test/testlibrary/jittester/src/jdk/test/lib/jittester/utils/
H A DPseudoRandom.java83 public static void shuffle(List<?> list) { argument
84 Collections.shuffle(list, random);
108 public static <T> T randomElement(List<T> list) { argument
109 if (list.isEmpty())
111 return list.get(random.nextInt(list.size()));
/openjdk9/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaComboBoxRendererInternal.java75 public Component getListCellRendererComponent(final JList<? extends E> list, argument
90 // we have a 5000 element list we will 5000 * (selected index) .equals() of objects.
107 setBackground(list.getSelectionBackground());
108 setForeground(list.getSelectionForeground());
115 setBackground(list.getBackground());
116 setForeground(list.getForeground());
120 setFont(list.getFont());
/openjdk9/jdk/src/java.desktop/share/classes/javax/print/
H A DStreamPrintServiceFactory.java109 ArrayList<StreamPrintServiceFactory> list = getFactories(flavor, outputMimeType);
110 return list.toArray(new StreamPrintServiceFactory[list.size()]);
216 ArrayList<StreamPrintServiceFactory> list = new ArrayList<>();
224 list.add(factory);
228 return list;
/openjdk9/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DUtil.java73 * Returns a list of all the addresses on the system.
82 ArrayList<InetAddress> list = new ArrayList<InetAddress>();
85 for (NetworkInterface netInf : Collections.list(nets)) {
87 for (InetAddress addr : Collections.list(addrs)) {
88 if (!list.contains(addr) &&
91 list.add(addr);
96 return list;
/openjdk9/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DUtil.java73 * Returns a list of all the addresses on the system.
82 ArrayList<InetAddress> list = new ArrayList<InetAddress>();
85 for (NetworkInterface netInf : Collections.list(nets)) {
87 for (InetAddress addr : Collections.list(addrs)) {
88 if (!list.contains(addr) &&
91 list.add(addr);
96 return list;
/openjdk9/jdk/test/com/sun/nio/sctp/SctpServerChannel/
H A DUtil.java73 * Returns a list of all the addresses on the system.
82 ArrayList<InetAddress> list = new ArrayList<InetAddress>();
85 for (NetworkInterface netInf : Collections.list(nets)) {
87 for (InetAddress addr : Collections.list(addrs)) {
88 if (!list.contains(addr) &&
91 list.add(addr);
96 return list;
/openjdk9/langtools/test/jdk/jshell/
H A DForwardReferenceImportTest.java177 Snippet a = classKey(assertEval("class A { static List<Integer> list; }",
184 assertEval("A.list = Arrays.asList(1, 2, 3);", "[1, 2, 3]");
186 Snippet list = classKey(assertEval("class List {}",
191 assertDeclareFail("A.list = Arrays.asList(1, 2, 3);", "compiler.err.already.defined.static.single.import");
193 assertDrop(list,
194 ste(list, VALID, DROPPED, true, null),
195 ste(a, RECOVERABLE_NOT_DEFINED, VALID, true, list));
265 Snippet a = classKey(assertEval("class A { static List<Integer> list; }",
271 assertEval("A.list = Arrays.asList(1, 2, 3);", "[1, 2, 3]");
273 Snippet list
[all...]
/openjdk9/jdk/test/javax/swing/dnd/7171812/
H A Dbug7171812.java41 static JListWithScroll<String> list; field in class:bug7171812
90 list = new JListWithScroll(listData);
91 list.setDragEnabled(true);
92 list.setAutoscrolls(true);
93 final DropTarget dropTarget = new DropTarget(list, DnDConstants.ACTION_MOVE, new DropTargetListener() {
116 scrollPane = new JScrollPane(list);
/openjdk9/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/
H A DPerInterface.java109 final List<MethodAndSig> list = ops.get(operation);
110 if (list == null) {
118 for (MethodAndSig mas : list) {
127 if (list.size() == 1) { // helpful exception message
130 sigString(list.get(0).signature);
257 List<MethodAndSig> list = ops.get(operationName);
258 if (list == null)
259 list = Collections.singletonList(mas);
261 if (list.size() == 1)
262 list
[all...]
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/resolver/
H A DSplitLocalResolverImpl.java55 public java.util.Set list() method in class:SplitLocalResolverImpl
57 return resolver.list() ;
/openjdk9/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DDiagramViewer.java67 public void setSelection(Collection<Figure> list); argument
69 public void centerFigures(List<Figure> list); argument
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/dom/
H A DBug6339023.java66 DOMStringList list = domConfig.getParameterNames();
67 for (int i = 0; i < list.getLength(); i++) {
68 System.out.println("Param Name: " + list.item(i));
69 Assert.assertFalse(list.item(i).equals("normalize-characters"));
108 DOMStringList list = domConfig.getParameterNames();
110 for (int i = 0; i < list.getLength(); i++) {
111 System.out.println("Param Name: " + list.item(i));
112 if (list.item(i).equals("normalize-characters")) {
117 Assert.assertTrue(flag, "'normalize-characters' doesnot exist in the list returned by domConfig.getParameterNames()");
/openjdk9/jdk/src/java.base/share/classes/sun/text/normalizer/
H A DUnicodeSetStringSpan.java388 // Use offset list to try all possibilities.
598 // Use offset list to try all possibilities.
657 // Use offset list to try all possibilities.
1000 * Stores offsets rather than indexes to simplify the code and use the same list
1011 * each indicating whether the corresponding offset is in the list,
1013 * This avoids inserting into a sorted list of offsets (or absolute indexes)
1014 * and physically moving part of the list.
1022 * the list could be stored as bit flags in a single integer.
1023 * Rather than handling a circular buffer with a start list index,
1028 private int[] list; field in class:UnicodeSetStringSpan.OffsetList
[all...]
/openjdk9/jdk/src/java.management/share/classes/sun/management/
H A DUtil.java42 static String[] toStringArray(List<String> list) { argument
43 return list.toArray(EMPTY_STRING_ARRAY);
/openjdk9/jdk/test/java/awt/Frame/FramesGC/
H A DFramesGC.java103 List list = new List();
104 list.add("One");
105 list.add("Two");
106 list.add("Three");
107 list.add("Four");
108 list.add("Five");
124 list.setCursor(new Cursor(Cursor.HAND_CURSOR));
145 frame.add(list);
/openjdk9/jdk/test/java/io/File/
H A DListNull.java26 @summary Make sure that java.io.File.list*(null) returns an array, not null
46 go("list()", d.list());
48 go("list(null)", d.list(null));
/openjdk9/jdk/test/java/awt/datatransfer/DragUnicodeBetweenJVMTest/
H A DFileListTransferable.java64 List<File> list = Arrays.asList(files);
65 return list;
/openjdk9/jdk/test/com/sun/management/HotSpotDiagnosticMXBean/
H A DGetVMOption.java47 List<HotSpotDiagnosticMXBean> list =
49 HotSpotDiagnosticMXBean mbean = list.get(0);
H A DDumpHeap.java52 List<HotSpotDiagnosticMXBean> list = ManagementFactory.getPlatformMXBeans(HotSpotDiagnosticMXBean.class);
58 list.get(0).dumpHeap(dump.getAbsolutePath(), true);
H A DGetDiagnosticOptions.java44 List<HotSpotDiagnosticMXBean> list =
46 HotSpotDiagnosticMXBean mbean = list.get(0);

Completed in 183 milliseconds

<<11121314151617181920>>