Searched defs:list (Results 76 - 100 of 323) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/
H A DT6238612.java48 // given a list, exercise the List.toArray method for a variety of arrays
49 void test(List<String> list) { argument
50 int n = list.size();
52 test(list, new String[0]);
55 test(list, new String[n - 1]);
57 test(list, new String[n]);
58 test(list, new String[n + 1]);
59 test(list, new String[n + 5]);
62 // test the List.toArray method for a particular list and array
63 void test(List<String> list, Strin argument
[all...]
/openjdk7/langtools/test/tools/javac/generics/
H A DExtendedRaw2.java40 int binarySearch(List<T> list, T key) { argument
44 int binarySearch(List<T> list, T key, Comparator<T> c) { argument
/openjdk7/langtools/test/tools/javac/processing/options/testCommandLineClasses/
H A DTest.java82 <T> List<T> reverse(List<T> list) { argument
83 List<T> newList = new ArrayList<T>(list);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DFlowList.java49 public FlowList(FlowList list) { argument
50 _elements = list._elements;
78 * Back patch a flow list. All instruction handles must be branch handles.
92 * Redirect the handles from oldList to newList. "This" flow list
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/cosnaming/
H A DBindingIteratorImpl.java108 return list( how_many, blh );
114 * scope, It will be called from NamingContext.list() operation or
120 public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh) method in class:BindingIteratorImpl
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DImplementationType.java213 private static void copyRemoteMethods(InterfaceType type, Vector list) { argument
224 if (!list.contains(theMethod)) {
225 list.addElement(theMethod);
234 copyRemoteMethods(allInterfaces[i],list);
240 // the list, call setImplExceptions()...
242 private boolean checkMethods(ClassDefinition theClass, Vector list, argument
247 Method[] methods = new Method[list.size()];
248 list.copyInto(methods);
267 private boolean updateExceptions (MemberDefinition implMethod, Method[] list, argument
269 int length = list
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSList.java35 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
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DEventListenerList.java32 * A class that holds a list of EventListeners. A single instance
34 * using the list. It is the responsiblity of the class using the
37 * methods to appropriate Event Listeners on the list.
102 /* The list of ListenerType - Listener pairs */
106 * Passes back the event listener list as an array
148 * Returns the total number of listeners for this listener list.
156 * for this listener list.
163 private int getListenerCount(Object[] list, Class t) { argument
165 for (int i = 0; i < list.length; i+=2) {
166 if (t == (Class)list[
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/
H A DNaming.java195 public static String[] list(String name) method in class:Naming
208 String[] names = registry.list();
/openjdk7/jdk/src/share/classes/javax/management/
H A DAttributeList.java35 * <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...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/encryption/
H A DEncryptedKey.java71 * list may contain multiple references to <code>EncryptedKey</code> and
84 * @param list a list of pointers to data elements encrypted using this key.
86 void setReferenceList(ReferenceList list); argument
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DZone.java51 private List<ZoneRec> list; field in class:Zone
62 list = new ArrayList<ZoneRec>();
136 * Adds the specified zone record to the zone record list.
139 list.add(rec);
143 * @param index the index at which the zone record in the list is returned.
147 return list.get(index);
151 * @return the size of the zone record list
154 return list.size();
163 for (int i = 0; i < list.size(); i++) {
164 ZoneRec rec = list
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DunhandledOops.cpp50 void UnhandledOops::dump_oops(UnhandledOops *list) { argument
51 for (int k = 0; k < list->_oop_list->length(); k++) {
52 UnhandledOopEntry entry = list->_oop_list->at(k);
98 // oop list. All oops given are assumed to be on the list. If not,
121 // If an entry is on the unhandled oop list but isn't on the stack
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DIllegalAnnotationsException.java38 * A list of {@link IllegalAnnotationException} wrapped in one exception.
69 * Returns a read-only list of {@link IllegalAnnotationException}s
73 * a non-null list.
80 private final List<IllegalAnnotationException> list = new ArrayList<IllegalAnnotationException>(); field in class:IllegalAnnotationsException.Builder
82 list.add(e);
89 if(list.isEmpty())
91 throw new IllegalAnnotationsException(list);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DContentType.java48 private ParameterList list; // parameter list field in class:ContentType
82 list = new ParameterList(rem);
121 if (list == null)
124 return list.get(name);
134 return list;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/
H A DInaccessibleWSDLException.java34 * A list of {@link InaccessibleWSDLException} wrapped in one exception.
64 * Returns a read-only list of {@link InaccessibleWSDLException}s
68 * a non-null list.
75 private final List<Throwable> list = new ArrayList<Throwable>(); field in class:InaccessibleWSDLException.Builder
77 list.add(e);
84 if(list.isEmpty())
86 throw new InaccessibleWSDLException(list);
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DSolarisWatchService.c98 port_event_t* list = (port_event_t*)jlong_to_ptr(arrayAddress); local
100 if (port_getn((int)port, list, (uint_t)max, &n, NULL) == -1) {
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsUserDefinedFileAttributeView.java68 List<String> list = new ArrayList<>();
78 list.add(segs[1]);
82 list.add(segs[1]);
91 return Collections.unmodifiableList(list);
117 final List<String> list = new ArrayList<>();
166 list.add(segs[1]);
196 return Collections.unmodifiableList(list);
200 public List<String> list() throws IOException { method in class:WindowsUserDefinedFileAttributeView
/openjdk7/jdk/test/java/awt/List/SetFontTest/
H A DSetFontTest.java28 @author Dmitry Cherepanov area=awt-list
38 List list = new List(8, false); field in class:SetFontTest
44 list.add("111");
45 list.add("222");
46 list.add("333");
47 list.add("444");
48 this.add(list);
56 list.setFont( new Font( "SansSerif", Font.PLAIN, 30 ) );
57 list.repaint();
64 list
[all...]
/openjdk7/jdk/test/java/awt/event/KeyEvent/CorrectTime/
H A DCorrectTime.java46 static List list = new List(); field in class:CorrectTime
55 list.add("item1");
56 list.add("item2");
57 list.add("item3");
62 add(list);
67 list.addKeyListener(this);
83 testComponent(list);
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest6187118.java27 * @summary Tests encoding of immutable list that creates itself
63 ImmutableList list = (ImmutableList) oldInstance;
64 if (!list.hasEntries()) {
67 Object object = list.getLast();
68 ImmutableList shortenedList = list.removeLast();
80 private final List<T> list = new ArrayList<T>(); field in class:Test6187118.ImmutableList
87 this.list.add(object);
92 return Collections.unmodifiableList(this.list).iterator();
96 ImmutableList<T> list = new ImmutableList<T>(this.list);
[all...]
/openjdk7/jdk/test/java/util/ArrayList/
H A DRangeCheckMicroBenchmark.java148 private static void deoptimize(ArrayList<Integer> list) { argument
149 for (Integer x : list)
162 final ArrayList<Integer> list = new ArrayList<Integer>();
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...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DUtil.java42 static String[] toStringArray(List<String> list) { argument
43 return list.toArray(EMPTY_STRING_ARRAY);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisUserDefinedFileAttributeView.java68 public List<String> list() throws IOException { method in class:SolarisUserDefinedFileAttributeView
85 // read list of extended attributes
86 List<String> list = new ArrayList<>();
92 list.add(s);
97 return Collections.unmodifiableList(list);
100 null, "Unable to get list of extended attributes: " +
/openjdk7/langtools/test/tools/javadoc/6958836/
H A DTest.java39 javadoc("errs", list(), 10, 0);
40 javadoc("errs", list("-Xmaxerrs", "0"), 10, 0);
41 javadoc("errs", list("-Xmaxerrs", "2"), 2, 0);
42 javadoc("errs", list("-Xmaxerrs", "4"), 4, 0);
43 javadoc("errs", list("-Xmaxerrs", "20"), 10, 0);
45 javadoc("warns", list(), 0, 10);
46 javadoc("warns", list("-Xmaxwarns", "0"), 0, 10);
47 javadoc("warns", list("-Xmaxwarns", "2"), 0, 2);
48 javadoc("warns", list("-Xmaxwarns", "4"), 0, 4);
49 javadoc("warns", list("
109 private List<String> list(String... args) { method in class:Test
[all...]

Completed in 85 milliseconds

1234567891011>>