Searched defs:list (Results 126 - 150 of 323) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DTokenTracker.java32 * 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...]
/openjdk7/jdk/src/share/classes/sun/security/smartcardio/
H A DPCSCTerminals.java75 public synchronized List<CardTerminal> list(State state) throws CardException { method in class:PCSCTerminals
81 List<CardTerminal> list = new ArrayList<CardTerminal>(readerNames.length);
96 list.add(terminal);
100 list.add(terminal);
105 list.add(terminal);
111 list.add(terminal);
117 list.add(terminal);
124 return Collections.unmodifiableList(list);
126 throw new CardException("list() failed", e);
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DJStatLogger.java70 * print name=value pairs for the given list of monitors.
85 * print name=value pairs for the given list of monitors.
87 public void printList(List<Monitor> list, boolean verbose, boolean showUnsupported, argument
92 for (Monitor m: list ) {
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DLocaleUtils.java221 static boolean isEmpty(List<?> list) { argument
222 return list == null || list.isEmpty();
/openjdk7/jdk/test/java/util/ArrayList/
H A DIteratorMicroBenchmark.java155 private static <T> List<T> asSubList(List<T> list) { argument
156 return list.subList(0, list.size());
159 private static <T> Iterable<T> backwards(final List<T> list) { argument
163 final ListIterator<T> it = list.listIterator(list.size());
/openjdk7/jdk/test/java/util/Collections/
H A DReverseOrder2.java62 static void test(List<String> list) { argument
64 list.add(String.valueOf(i));
65 Collections.shuffle(list);
66 Collections.sort(list, Collections.reverseOrder(cmp));
67 equal(list, golden);
84 static void test2(List<Integer> list) { argument
86 list.add(i);
87 Collections.shuffle(list);
88 Collections.sort(list, Collections.reverseOrder(null));
89 equal(list, golden
[all...]
/openjdk7/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/
H A DGetAllDescriptorsTest.java236 /* Removes descriptor from the list and returns it. Returns {@code null}
238 private static Descriptor remove(ArrayList<Descriptor> list, argument
240 if (list.remove(item)) return item;
248 final ArrayList<Descriptor> list =
250 list.addAll(Arrays.asList(descriptors));
251 System.out.println("Got " + list.size() + " descriptors for "+string);
256 if (!mbd.equals(remove(list,mbd))) {
267 if (!ad.equals(remove(list,ad))) {
280 if (!od.equals(remove(list,od))) {
293 if (!nd.equals(remove(list,n
[all...]
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest6524757.java160 List<Object> list = new ArrayList<Object>(KEYS.length);
166 list.add(ok.getText());
167 list.add(cancel.getText());
168 list.add(reset.getText());
169 list.add(Integer.valueOf(reset.getMnemonic()));
173 list.add(panel.getDisplayName());
174 list.add(Integer.valueOf(panel.getMnemonic()));
179 addSize(list, upper, 1, 1, 31, 9);
180 list.add(label.getText());
181 addSize(list, lowe
214 addSize(List<Object> list, Component component, int x, int y, int w, int h) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxUserDefinedFileAttributeView.java66 List<String> list = new ArrayList<>();
78 list.add(s);
84 return list;
96 public List<String> list() throws IOException { method in class:LinuxUserDefinedFileAttributeView
108 List<String> list = asList(buffer.address(), n);
109 return Collections.unmodifiableList(list);
120 null, "Unable to get list of extended attributes: " +
286 // call flistxattr to get list of extended attributes.
303 // unable to get list of attributes
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassPath.java18 * notice, this list of conditions and the following disclaimer.
21 * notice, this list of conditions and the following disclaimer in
139 private static final void getPathComponents(String path, ArrayList list) { argument
148 list.add(name);
172 ArrayList list = new ArrayList();
174 getPathComponents(class_path, list);
175 getPathComponents(boot_path, list);
191 list.add(ext_path + File.separatorChar + extensions[i]);
196 for(Iterator e = list.iterator(); e.hasNext(); ) {
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLSimpleType.java17 * notice, this list of conditions and the following disclaimer.
20 * notice, this list of conditions and the following disclaimer in
123 /** list */
124 public boolean list; field in class:XMLSimpleType
148 * @param list
155 boolean list, short defaultType,
169 this.list = list;
190 list = simpleType.list;
154 setValues(short type, String name, String[] enumeration, boolean list, short defaultType, String defaultValue, String nonNormalizedDefaultValue, DatatypeValidator datatypeValidator) argument
[all...]
/openjdk7/jaxp/src/com/sun/xml/internal/stream/dtd/nonvalidating/
H A DXMLSimpleType.java90 /** list */
91 public boolean list; field in class:XMLSimpleType
113 * @param list
120 boolean list, short defaultType,
133 this.list = list;
153 list = simpleType.list;
167 this.list = false;
119 setValues(short type, String name, String[] enumeration, boolean list, short defaultType, String defaultValue, String nonNormalizedDefaultValue) argument
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DStub.java206 * Build a list of all of the methods, keeping out duplicates.
288 private void buildIDList (InterfaceEntry entry, Vector list) argument
293 if (!list.contains (id))
294 list.addElement (id);
297 buildIDList ((InterfaceEntry)e.nextElement (), list);
306 Vector list = new Vector ();
307 buildIDList (i, list);
308 Enumeration e = list.elements ();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DClassTypeImpl.java63 void addInterfaces(List list) { argument
66 HashSet hashList = new HashSet(list);
68 list.clear();
69 list.addAll(hashList);
74 interfaze.addSuperinterfaces(list);
79 superclass.addInterfaces(list);
136 ArrayList list = new ArrayList(methods());
139 list.addAll(clazz.methods());
149 list.addAll(interfaze.methods());
151 return list;
[all...]
H A DConcreteMethodImpl.java53 * in the lineLocations list. Use these only for bounds
139 // Add to the location list
215 // Add to the location list
236 List sourceNameFilter(List list, argument
241 return list;
245 Iterator it = list.iterator();
280 List list = (List)info.lineMapper.get(
283 if (list == null) {
284 list = new ArrayList(0);
287 sourceNameFilter(list, stratu
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/
H A DCTypeTreeNodeAdapter.java43 private void collectFields(Type type, ArrayList list, boolean statics, boolean recurse) { argument
46 collectFields(supertype, list, statics, recurse);
52 list.add(new CTypeFieldIdentifier(type, f));
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSJavaFactoryImpl.java85 public JSList newJSList(List list) { argument
86 if (list == null) return null;
87 return new JSList(list, this);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListCellRenderer.java41 * Renders an item in a list.
54 * that are unnecessary for the default list cell renderer.
89 * in a list.
114 JList<?> list,
120 setComponentOrientation(list.getComponentOrientation());
125 JList.DropLocation dropLocation = list.getDropLocation();
137 setBackground(bg == null ? list.getSelectionBackground() : bg);
138 setForeground(fg == null ? list.getSelectionForeground() : fg);
141 setBackground(list.getBackground());
142 setForeground(list
113 getListCellRendererComponent( JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthListUI.java52 * @param list component to create UI object for
55 public static ComponentUI createUI(JComponent list) { argument
97 list.addPropertyChangeListener(this);
116 list.removePropertyChangeListener(this);
124 if (list.getCellRenderer() == null ||
125 (list.getCellRenderer() instanceof UIResource)) {
126 list.setCellRenderer(new SynthListCellRenderer());
128 updateStyle(list);
132 SynthContext context = getContext(list, ENABLED);
139 Color sbg = list
211 getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/
H A DInitialContext.java65 * one of the standard JNDI properties that specify a list of JNDI
68 * concatenated into a single colon-separated list. For other
452 public NamingEnumeration<NameClassPair> list(String name) method in class:InitialContext
455 return (getURLOrDefaultInitCtx(name).list(name));
458 public NamingEnumeration<NameClassPair> list(Name name) method in class:InitialContext
461 return (getURLOrDefaultInitCtx(name).list(name));
/openjdk7/jdk/src/share/classes/javax/naming/spi/
H A DContinuationContext.java112 public NamingEnumeration list(Name name) throws NamingException { method in class:ContinuationContext
114 return ctx.list(name);
116 public NamingEnumeration list(String name) throws NamingException { method in class:ContinuationContext
118 return ctx.list(name);
/openjdk7/hotspot/src/share/vm/memory/
H A DheapInspection.hpp38 // A KlassInfoBucket is the head of a link list
76 KlassInfoEntry* list() { return _list; } function in class:KlassInfoBucket
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DStackTraceTool.java54 private JList list; field in class:StackTraceTool
67 list = new JList(stackModel);
68 list.setCellRenderer(new StackFrameRenderer());
70 JScrollPane listView = new JScrollPane(list);
76 list.addListSelectionListener(listener);
103 list.setSelectedIndex(frameIndex);
104 list.ensureIndexIsVisible(frameIndex);
113 int index = list.getSelectedIndex();
127 public Component getListCellRendererComponent(JList list, argument
138 super.getListCellRendererComponent(list, valu
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DHierarchicalGraphLayout.java76 public void setControlPoints(List<Point> list) { argument
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/
H A DConnection.java120 public void setControlPoints(List<Point> list) { argument
121 controlPoints = list;

Completed in 128 milliseconds

1234567891011>>