/libcore/ojluni/src/main/java/java/security/ |
H A D | Permissions.java | 43 public Enumeration<Permission> elements() { return null; } method in class:Permissions
|
H A D | PermissionCollection.java | 40 public abstract Enumeration<Permission> elements(); method in class:PermissionCollection
|
H A D | UnresolvedPermissionCollection.java | 120 public Enumeration<Permission> elements() { method in class:UnresolvedPermissionCollection
|
H A D | Policy.java | 113 @Override public Enumeration<Permission> elements() { method in class:Policy.UnsupportedEmptyCollection
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Dictionary.java | 82 * @see java.util.Dictionary#elements() 89 * contract for the <tt>elements</tt> method is that an 90 * <tt>Enumeration</tt> is returned that will generate all the elements 97 abstract public Enumeration<V> elements(); method in class:Dictionary
|
H A D | EnumSet.java | 31 * the elements in an enum set must come from a single enum type that is 41 * elements in their <i>natural order</i> (the order in which the enum 47 * <p>Null elements are not permitted. Attempts to insert a null element 83 * The class of all the elements of this set. 102 * @param <E> The class of the elements in the set 120 * Creates an enum set containing all of the elements in the specified 123 * @param <E> The class of the elements in the set 126 * @return An enum set containing all the elements in the specified type. 136 * Adds all of the elements from the appropriate enum type to this enum 143 * set, initially containing the same elements (i 434 private final Enum<?>[] elements; field in class:EnumSet.SerializationProxy [all...] |
H A D | JumboEnumSet.java | 30 * (i.e., those with more than 64 elements). 44 private long elements[]; field in class:JumboEnumSet 51 elements = new long[(universe.length + 63) >>> 6]; 59 elements[fromIndex] = (-1L >>> (from.ordinal() - to.ordinal() - 1)) 62 elements[fromIndex] = (-1L << from.ordinal()); 64 elements[i] = -1; 65 elements[toIndex] = -1L >>> (63 - to.ordinal()); 71 for (int i = 0; i < elements.length; i++) 72 elements[i] = -1; 73 elements[element [all...] |
H A D | RegularEnumSet.java | 42 private long elements = 0L; field in class:RegularEnumSet 49 elements = (-1L >>> (from.ordinal() - to.ordinal() - 1)) << from.ordinal(); 54 elements = -1L >>> -universe.length; 59 elements = ~elements; 60 elements &= -1L >>> -universe.length; // Mask unused bits 65 * Returns an iterator over the elements contained in this set. The 66 * iterator traverses the elements in their <i>natural order</i> (which is 69 * ConcurrentModificationException}; the elements are traversed as they 72 * @return an iterator over the elements containe [all...] |
H A D | ArrayDeque.java | 49 * Null elements are prohibited. This class is likely to be faster than 85 * @param <E> the type of elements held in this deque 91 * The array in which the elements of the deque are stored. 98 * deque elements are always null. 100 transient Object[] elements; // non-private to simplify nested class access field in class:ArrayDeque 124 * Allocates empty array to hold the given number of elements. 126 * @param numElements the number of elements to hold 130 // Find the best power of two to hold elements. 141 if (initialCapacity < 0) // Too many elements, must back off 142 initialCapacity >>>= 1; // Good luck allocating 2^30 elements [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | CryptoPermissions.java | 53 public Enumeration elements() { return null; } method in class:CryptoPermissions
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | Util.java | 94 * Returns a Set containing the given elements. 97 static <E> Set<E> newSet(E... elements) { argument 99 for (E e: elements) { 106 * Returns a Set containing all the elements of the given Set plus 107 * the given elements. 110 static <E> Set<E> newSet(Set<E> other, E... elements) { argument 112 for (E e: elements) {
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | AlgorithmDecomposer.java | 33 * The class decomposes standard algorithms into sub-elements. 46 Set<String> elements = new HashSet<>(); 64 elements.add(token); 67 return elements; 71 * Decompose the standard algorithm name into sub-elements. 84 Set<String> elements = decomposeImpl(algorithm); 94 if (elements.contains("SHA1") && !elements.contains("SHA-1")) { 95 elements.add("SHA-1"); 97 if (elements 136 hasLoop(Set<String> elements, String find, String replace) argument [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Exec.java | 63 * Returns a command-line ready path formed by joining the path elements 66 public static String createPath(String... elements) { argument 68 for (String element : elements) {
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | CopyOnWriteArraySetTest.java | 44 static CopyOnWriteArraySet populatedSet(Integer[] elements) { argument 47 for (int i = 0; i < elements.length; i++) 48 a.add(elements[i]); 50 assertEquals(elements.length, a.size()); 63 * Collection-constructed set holds all of its elements 116 * clear removes all elements from the set 126 * contains returns true for added elements 135 * Sets with equal elements are equal 185 * containsAll returns true for collections with subset of elements 218 * iterator() returns an iterator containing the elements o [all...] |
H A D | CopyOnWriteArrayListTest.java | 47 static CopyOnWriteArrayList<Integer> populatedArray(Integer[] elements) { argument 50 for (int i = 0; i < elements.length; i++) 51 a.add(elements[i]); 53 assertEquals(elements.length, a.size()); 66 * new list contains all elements of initializing array 78 * new list contains all elements of initializing collection 132 * clear removes all elements from the list 152 * contains is true for added elements 177 * lists with same elements are equal and have same hashCode 203 * containsAll returns true for collections with subset of elements [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationFactory.java | 89 * @param elements name-value pairs representing elements of the annotation 93 AnnotationMember[] elements) { 94 AnnotationFactory factory = new AnnotationFactory(annotationType, elements); 100 private AnnotationMember[] elements; field in class:AnnotationFactory 114 elements = defs; 117 elements = new AnnotationMember[defs.length]; 118 next: for (int i = elements.length - 1; i >= 0; i--) { 121 elements[i] = val.setDefinition(defs[i]); 125 elements[ 92 createAnnotation(Class<? extends Annotation> annotationType, AnnotationMember[] elements) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractQueueTest.java | 39 private Object[] elements = new Object[CAPACITY]; field in class:AbstractQueueTest.MockAbstractQueue 55 return (E) elements[currentIndex]; 63 elements[i] = elements[i + 1]; 83 elements[size++] = o; 91 E e = (E) elements[0]; 93 elements[i] = elements[i + 1]; 103 return (E) elements[0];
|
H A D | ArrayListTest.java | 84 "arrayList created from collection has incorrect elements", 204 assertTrue("Manipulated elements < index", 207 assertTrue("Failed to ad elements properly", 210 assertTrue("Failed to ad elements properly", 289 // Inserted elements should be equal to integers array 294 // be equals to related elements in strings array 374 assertTrue("Failed to add elements properly", l.get(i).equals( 497 assertTrue("Cloned list contains incorrect elements", 506 assertTrue("nulls test - Cloned list contains incorrect elements", 600 assertTrue("Returned true for existing list with elements", !alis 1215 shrinksOnSize(T... elements) argument [all...] |
/libcore/json/src/test/java/org/json/ |
H A D | ParsingTest.java | 220 private JSONArray array(Object... elements) { argument 221 return new JSONArray(Arrays.asList(elements));
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | MethodOverridesTest.java | 174 private <T> void assertContains(Collection<T> elements, T value) { argument 175 assertTrue("Expected " + value + " in " + elements, elements.contains(value));
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLConfigurationAsserts.java | 241 * Asserts that the {@code container} contains all the {@code elements}. 243 private static void assertContainsAll(String message, String[] container, String[] elements) { argument 244 Set<String> elementsNotInContainer = new HashSet<String>(Arrays.asList(elements));
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexFile.java | 69 * @param elements 70 * the temporary dex path list elements from DexPathList.makeElements 72 DexFile(File file, ClassLoader loader, DexPathList.Element[] elements) argument 74 this(file.getPath(), loader, elements); 96 * @param elements 97 * the temporary dex path list elements from DexPathList.makeElements 99 DexFile(String fileName, ClassLoader loader, DexPathList.Element[] elements) throws IOException { argument 100 mCookie = openDexFile(fileName, null, 0, loader, elements); 124 * @param elements 125 * The temporary dex path list elements fro 127 DexFile(String sourceName, String outputName, int flags, ClassLoader loader, DexPathList.Element[] elements) argument 191 loadDex(String sourcePathName, String outputPathName, int flags, ClassLoader loader, DexPathList.Element[] elements) argument 350 openDexFile(String sourceName, String outputName, int flags, ClassLoader loader, DexPathList.Element[] elements) argument 393 openDexFileNative(String sourceName, String outputName, int flags, ClassLoader loader, DexPathList.Element[] elements) argument [all...] |
H A D | DexPathList.java | 58 * List of dex/resource (class path) elements. 64 /** List of native library path elements. */ 119 * @param dexPath list of dex/resource path elements, separated by 121 * @param librarySearchPath list of native library directory path elements, 246 * Splits the given dex path string into elements using the path 247 * separator, pruning out any elements that do not refer to existing 255 * Splits the given path strings into file elements using the path 256 * separator, combining the results and filtering out elements 260 * are empty or {@code null}, or all elements get pruned out, then 287 Element[] elements 370 loadDexFile(File file, File optimizedDirectory, ClassLoader loader, Element[] elements) argument [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Connection.java | 1268 * <b>Note: </b>The JDBC driver is responsible for mapping the elements 1276 * @param typeName the SQL name of the type the elements of the array map to. The typeName is a 1279 * @param elements the elements that populate the returned object 1280 * @return an Array object whose elements map to the specified SQL type 1286 Array createArrayOf(String typeName, Object[] elements) throws argument
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
H A D | Subject.java | 1008 * @serialField elements LinkedList The elements in this set. 1012 new ObjectStreamField("elements", LinkedList.class), 1017 LinkedList<E> elements; field in class:Subject.SecureSet 1022 * this is a Principal set and all the elements are 1025 * set and all the elements are of type {@code Object}. 1027 * set and all the elements are of type {@code Object}. 1034 this.elements = new LinkedList<E>(); 1040 this.elements = new LinkedList<E>(set); 1044 return elements [all...] |