/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerOutputStream.java | 311 * Marshals the contents of a set on the output stream without 317 public void putSet(DerValue[] set) throws IOException { argument 321 for (i = 0; i < set.length; i++) 322 set[i].encode(bytes); 328 * Marshals the contents of a set on the output stream. Sets 330 * set elements be sorted into ascending lexicographical order 337 public void putOrderedSetOf(byte tag, DerEncoder[] set) throws IOException { argument 338 putOrderedSet(tag, set, lexOrder); 342 * Marshals the contents of a set on the output stream. Sets 344 * set element 351 putOrderedSet(byte tag, DerEncoder[] set) argument 373 putOrderedSet(byte tag, DerEncoder[] set, Comparator<byte[]> order) argument [all...] |
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
H A D | AclEntry.java | 47 * <li><p> The {@link #permissions permissions} component is a set of 51 * <li><p> The {@link #flags flags} component is a set of {@link AclEntryFlag 118 * The type and who components are required to have been set in order 124 * if the type or who component have not been set 160 // check set only contains elements of the given type 161 private static void checkSet(Set<?> set, Class<?> type) { argument 162 for (Object e: set) { 171 * permissions component of this builder is a copy of the given set. 177 * if the set contains elements that are not of type {@code 182 // EnumSet.copyOf does not allow empty set [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | AbstractSequentialList.java | 37 * <tt>set(int index, E element)</tt>, <tt>add(int index, E element)</tt> and 48 * iterator's <tt>set</tt> method. For a variable-size list the programmer 101 * with <tt>ListIterator.set</tt>. 105 * implement the <tt>set</tt> operation. 113 public E set(int index, E element) { method in class:AbstractSequentialList 117 e.set(element);
|
H A D | GregorianCalendar.java | 116 * where the standard is preferred. These values can explicitly be set by 141 * 1</code>) is the earliest set of at least 267 * // set up rules for Daylight Saving Time 302 * calendar.set(Calendar.HOUR, 3); 344 * historical usage differs. For example, if the Gregorian change is set 506 // Reference to the JulianCalendar instance (singleton), set as needed. See 558 * be set. 564 * calling complete(), this value is guaranteed to be set and 632 * Constructs a <code>GregorianCalendar</code> with the given date set 635 * @param year the value used to set th [all...] |
H A D | Calendar.java | 59 * for converting between a specific instant in time and a set of {@link 95 * <p>The calendar field values can be set by calling the <code>set</code> 96 * methods. Any field values set in a <code>Calendar</code> will not be 119 * value has been set. 152 * <code>Calendar</code> gives priorities to calendar fields that have been set 155 * most recently set single field, will be used. 174 * <p>If there are any calendar fields whose values haven't been set in the selected 204 * <code>set()</code>, <code>add()</code>, and <code>roll()</code>. 206 * <p><strong><code>set( 1151 public Builder set(int field, int value) { method in class:Calendar.Builder 1857 public void set(int field, int value) method in class:Calendar 1888 public final void set(int year, int month, int date) method in class:Calendar 1912 public final void set(int year, int month, int date, int hourOfDay, int minute) method in class:Calendar 1939 public final void set(int year, int month, int date, int hourOfDay, int minute, method in class:Calendar [all...] |
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | ParseUtil.java | 59 encodedInPath.set('='); 60 encodedInPath.set(';'); 61 encodedInPath.set('?'); 62 encodedInPath.set('/'); 66 encodedInPath.set('#'); 67 encodedInPath.set(' '); 68 encodedInPath.set('<'); 69 encodedInPath.set('>'); 70 encodedInPath.set('%'); 71 encodedInPath.set('"'); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentSkipListSubSetTest.java | 37 * Returns a new set of given size containing consecutive 58 * Returns a new set of first 5 ints. 76 * Returns a new set of first 5 negative ints. 92 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); 93 assertTrue(set.isEmpty()); 94 return set.tailSet(m1, true); 98 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); 99 assertTrue(set.isEmpty()); 100 return set; 104 * A new set ha [all...] |
H A D | TreeSubSetTest.java | 38 * Returns a new set of given size containing consecutive 58 * Returns a new set of first 5 ints. 89 TreeSet set = new TreeSet(); 90 assertTrue(set.isEmpty()); 91 return set.tailSet(m1, false); 95 TreeSet set = new TreeSet(); 96 assertTrue(set.isEmpty()); 97 return set; 101 * A new set has unbounded capacity 444 * iterator of empty set ha [all...] |
H A D | AtomicReferenceTest.java | 44 * get returns the last value set 49 ai.set(two); 51 ai.set(m3); 130 x.set(one); 144 ai.set(two);
|
H A D | ThreadLocalTest.java | 47 tl.set(two); 59 itl.set(two);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | HashSetTest.java | 113 assertTrue("Added element already contained by set", hs.size() == size); 115 assertTrue("Failed to increment set size after add", 117 assertTrue("Failed to add element to set", hs.contains(new Integer(-9))); 130 assertTrue("Failed to clear set", !hs.contains(i.next())); 162 assertTrue("Empty set returned false", new HashSet().isEmpty()); 163 assertTrue("Non-empty set returned true", !hs.isEmpty()); 193 assertTrue("Failed to decrement set size", hs.size() == size - 1); 208 assertEquals("Cleared set returned non-zero size", 0, hs.size()); 244 HashSet<String> set = new HashSet<>(); 246 set [all...] |
H A D | DateTest.java | 319 cal.set(1969, Calendar.JANUARY, 12, 1, 0); 324 cal.set(1200, 2, 2, 6, 45, 13); 329 cal.set(1999, Calendar.NOVEMBER, 22, 12, 52, 06); 444 cal.set(Calendar.DATE, 1); 445 cal.set(Calendar.MONTH, Calendar.JANUARY); 446 cal.set(Calendar.YEAR, 1970); 447 cal.set(Calendar.HOUR_OF_DAY, 0); 448 cal.set(Calendar.MINUTE, 0); 449 cal.set(Calendar.SECOND, 0);
|
H A D | IdentityHashMapTest.java | 207 assertTrue("Returned set of incorrect size", hm.size() == s.size()); 210 assertTrue("Returned incorrect entry set", hm.containsKey(m 251 assertTrue("Returned set of incorrect size()", s.size() == hm.size()); 253 assertTrue("Returned set does not contain all keys", s 625 Set set = map.entrySet(); 627 set.removeAll(set); 629 assertTrue("did not remove all elements in the entryset", set.isEmpty()); 631 Iterator it = set.iterator(); 644 Set set [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | NetscapeCertTypeExtension.java | 56 * get, set, delete methods of Certificate, x509 type. 134 * Check if bit is set. 146 private void set(int position, boolean val) { method in class:NetscapeCertTypeExtension 158 * The criticality is set to true. 160 * @param bitString the bits to be set for the extension. 172 * The criticality is set to true. 174 * @param bitString the bits to be set for the extension. 212 public void set(String name, Object obj) throws IOException { method in class:NetscapeCertTypeExtension 217 set(getPosition(name), val); 232 set(getPositio [all...] |
H A D | OCSPNoCheckExtension.java | 59 * get, set, delete methods of Certificate, x509 type. 97 public void set(String name, Object obj) throws IOException { method in class:OCSPNoCheckExtension
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLStreamHandlerFactoryTest.java | 49 factoryField.set(null, null); 88 factoryField.set(null, null); 102 factoryField.set(null, null); 110 // set the property and get another connection. The property should not be honored
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | AsynchronousFileChannel.java | 204 * FileAttribute file-attributes} to set atomically when creating the file. 218 * An optional list of file attributes to set atomically when 224 * If the set contains an invalid combination of options 229 * cannot be set atomically when creating the file 280 * If the set contains an invalid combination of options 299 Set<OpenOption> set = new HashSet<OpenOption>(options.length); 300 Collections.addAll(set, options); 301 return open(file, set, null, NO_ATTRIBUTES);
|
H A D | FileChannel.java | 245 * FileAttribute file-attributes} to set atomically when creating the file. 256 * An optional list of file attributes to set atomically when 262 * If the set contains an invalid combination of options 266 * specified, or the array contains an attribute that cannot be set 301 * where {@code opts} is a set of the options specified in the {@code 312 * If the set contains an invalid combination of options 333 Set<OpenOption> set = new HashSet<OpenOption>(options.length); 334 Collections.addAll(set, options); 335 return open(path, set, NO_ATTRIBUTES); 484 * position is greater than the given size then it is set t [all...] |
/libcore/ojluni/src/main/java/java/text/ |
H A D | CalendarBuilder.java | 68 CalendarBuilder set(int index, int value) { method in class:CalendarBuilder 109 set(YEAR, field[MAX_FIELD + WEEK_YEAR]); 120 cal.set(index, field[MAX_FIELD + index]);
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
H A D | TestThaiBuddhistChronoImpl.java | 103 cal.set(Calendar.YEAR, thaiDate.get(ChronoField.YEAR)); 104 cal.set(Calendar.MONTH, thaiDate.get(ChronoField.MONTH_OF_YEAR) - 1); 105 cal.set(Calendar.DAY_OF_MONTH, thaiDate.get(ChronoField.DAY_OF_MONTH));
|
H A D | TestIsoChronoImpl.java | 100 cal.set(Calendar.YEAR, isoDate.get(YEAR)); 101 cal.set(Calendar.MONTH, isoDate.get(MONTH_OF_YEAR) - 1); 102 cal.set(Calendar.DAY_OF_MONTH, isoDate.get(DAY_OF_MONTH)); 131 cal.set(Calendar.YEAR, isoDate.get(YEAR)); 132 cal.set(Calendar.MONTH, isoDate.get(MONTH_OF_YEAR) - 1); 133 cal.set(Calendar.DAY_OF_MONTH, isoDate.get(DAY_OF_MONTH));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldInheritableThreadLocalTest.java | 36 threadLocal.set(value);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | DateTest.java | 51 c.set(Calendar.YEAR, 21); 54 c.set(Calendar.YEAR, 321); 65 c.set(Calendar.YEAR, 21); 68 c.set(Calendar.YEAR, 321);
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicBoolean.java | 128 public final void set(boolean newValue) { method in class:AtomicBoolean
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
H A D | DateIntervalFormatTest.java | 38 c.set(Calendar.MONTH, Calendar.JANUARY); 39 c.set(Calendar.DAY_OF_MONTH, 19); 40 c.set(Calendar.HOUR_OF_DAY, 3); 41 c.set(Calendar.MINUTE, 30); 42 c.set(Calendar.SECOND, 15); 43 c.set(Calendar.MILLISECOND, 0); 46 c.set(Calendar.YEAR, 2009); 49 c.set(Calendar.MINUTE, 0); 50 c.set(Calendar.SECOND, 0); 176 c.set(204 [all...] |