/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | HijrahEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 78 * <b>Do not use {@code ordinal()} to obtain the numeric representation of { 104 public static HijrahEra of(int hijrahEra) { method in class:HijrahEra [all...] |
H A D | IsoEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 76 * <th class="colFirst" align="left">year-of 129 public static IsoEra of(int isoEra) { method in class:IsoEra [all...] |
H A D | MinguoEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 70 * The current era, for years from 1 onwards, is known as the 'Republic of Chin 131 public static MinguoEra of(int minguoEra) { method in class:MinguoEra [all...] |
H A D | ThaiBuddhistEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 72 * in the year-of 131 public static ThaiBuddhistEra of(int thaiBuddhistEra) { method in class:ThaiBuddhistEra [all...] |
H A D | JapaneseEra.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 111 public static final JapaneseEra MEIJI = new JapaneseEra(-1, LocalDate.of(186 197 public static JapaneseEra of(int japaneseEra) { method in class:JapaneseEra [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | CopticEra.java | 5 * under the terms of the GNU General Public License version 2 only, as 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * You should have received a copy of the GNU General Public License version 33 * * Redistributions of source code must retain the above copyright notice, 34 * this list of conditions and the following disclaimer. 37 * this list of conditions and the following disclaimer in the documentation 40 * * Neither the name of JSR-310 nor the names of its contributors 65 * The Coptic calendar system uses the 'Era of the Martyrs'. 66 * The start of th 98 public static CopticEra of(int era) { method in class:CopticEra [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | Collector.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 43 * <p>Examples of mutable reduction operations include: 48 * provides implementations of many common mutable reductions. 53 * <li>creation of a new result container ({@link #supplier()})</li> 59 * <p>Collectors also have a set of characteristics, such as 63 * <p>A sequential implementation of a reduction using a collector would 67 * accumulate the contents of each partition into a subresult for that partition, 78 * result of an 260 public static<T, R> Collector<T, R, R> of(Supplier<R> supplier, method in interface:Collector 291 public static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier, method in interface:Collector [all...] |
/libcore/support/src/test/java/tests/util/ |
H A D | Pair.java | 6 * You may obtain a copy of the License at 20 * Pair of typed values. 22 * <p>Pairs are obtained using {@link #of(Object, Object) of}. 24 * @param <F> type of the first value. 25 * @param <S> type of the second value. 37 * Gets the pair consisting of the two provided values. 42 public static <F, S> Pair<F, S> of(F first, S second) { method in class:Pair
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | OptionalDouble.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 37 * <p>Additional methods that depend on the presence or absence of a contained 41 * of code if the value is present). 99 public static OptionalDouble of(double value) { method in class:OptionalDouble 153 * the result of that invocation. 157 * @return the value if present otherwise the result of {@code other.getAsDouble()} 173 * @param <X> Type of the exception to be thrown 219 * Returns the hash code value of th [all...] |
H A D | OptionalInt.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 37 * <p>Additional methods that depend on the presence or absence of a contained 41 * of code if the value is present). 100 public static OptionalInt of(int value) { method in class:OptionalInt 154 * the result of that invocation. 158 * @return the value if present otherwise the result of {@code other.getAsInt()} 174 * @param <X> Type of the exception to be thrown 220 * Returns the hash code value of th [all...] |
H A D | OptionalLong.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 37 * <p>Additional methods that depend on the presence or absence of a contained 41 * of code if the value is present). 99 public static OptionalLong of(long value) { method in class:OptionalLong 153 * the result of that invocation. 157 * @return the value if present otherwise the result of {@code other.getAsLong()} 173 * @param <X> Type of the exception to be thrown 219 * Returns the hash code value of th [all...] |
H A D | Optional.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 38 * <p>Additional methods that depend on the presence or absence of a contained 42 * of code if the value is present). 76 * @param <T> Type of the non-existent value 98 * @param <T> the class of the value 103 public static <T> Optional<T> of(T value) { method in class:Optional 111 * @param <T> the class of the value 117 return value == null ? empty() : of(valu [all...] |
H A D | EnumSet.java | 7 * under the terms of the GNU General Public License version 2 only, as 13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 18 * You should have received a copy of the GNU General Public License version 30 * A specialized {@link Set} implementation for use with enum types. All of 34 * extremely compact and efficient. The space and time performance of this 44 * and it may or may not show the effects of any modifications to the set that 49 * presence of a null element or to remove one will, however, function 54 * least one of the threads modifies the set, it should be synchronized 70 * <p>This class is a member of the 83 * The class of al 213 public static <E extends Enum<E>> EnumSet<E> of(E e) { method in class:EnumSet 234 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) { method in class:EnumSet 257 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) { method in class:EnumSet 282 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) { method in class:EnumSet 309 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4, method in class:EnumSet 336 public static <E extends Enum<E>> EnumSet<E> of(E first, E... rest) { method in class:EnumSet [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | MockSimplePeriod.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 27 * However, the following notice accompanied the original version of this 37 * * Redistributions of source code must retain the above copyright notice, 38 * this list of conditions and the following disclaimer. 41 * this list of conditions and the following disclaimer in the documentation 44 * * Neither the name of JSR-310 nor the names of its contributors 74 * Mock period of tim 107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { method in class:MockSimplePeriod [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/ |
H A D | MockSimplePeriod.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 27 * However, the following notice accompanied the original version of this 37 * * Redistributions of source code must retain the above copyright notice, 38 * this list of conditions and the following disclaimer. 41 * this list of conditions and the following disclaimer in the documentation 44 * * Neither the name of JSR-310 nor the names of its contributors 74 * Mock period of tim 107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { method in class:MockSimplePeriod [all...] |
/libcore/ojluni/src/main/java/java/time/ |
H A D | DayOfWeek.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 82 * A day-of 163 public static DayOfWeek of(int dayOfWeek) { method in class:DayOfWeek [all...] |
H A D | Month.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 83 * A month-of 185 public static Month of(int month) { method in class:Month [all...] |
H A D | ZoneId.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 94 * There are two distinct types of I 305 public static ZoneId of(String zoneId, Map<String, String> aliasMap) { method in class:ZoneId 353 public static ZoneId of(String zoneId) { method in class:ZoneId 397 static ZoneId of(String zoneId, boolean checkAvailable) { method in class:ZoneId [all...] |
H A D | MonthDay.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 94 * of 211 public static MonthDay of(Month month, int dayOfMonth) { method in class:MonthDay 237 public static MonthDay of(int month, int dayOfMonth) { method in class:MonthDay [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
H A D | DecimalStyle.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 76 * A significant part of dealin 154 public static DecimalStyle of(Locale locale) { method in class:DecimalStyle [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | ValueRange.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 71 * The range of vali 125 public static ValueRange of(long min, long max) { method in class:ValueRange 146 public static ValueRange of(long min, long maxSmallest, long maxLargest) { method in class:ValueRange 165 public static ValueRange of(long minSmallest, long minLargest, long maxSmallest, long maxLargest) { method in class:ValueRange [all...] |
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneOffsetTransition.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 82 * A transition between two offsets is normally the result of 134 public static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { method in class:ZoneOffsetTransition [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicMarkableReference.java | 5 * under the terms of the GNU General Public License version 2 only, as 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * You should have received a copy of the GNU General Public License version 28 * However, the following notice accompanied the original version of this 31 * Written by Doug Lea with assistance from members of JCP JSR-166 48 * @param <V> The type of object referred to by this reference 59 static <T> Pair<T> of(T reference, boolean mark) { method in class:AtomicMarkableReference.Pair 74 pair = Pair.of(initialRef, initialMark); 78 * Returns the current value of the reference. 80 * @return the current value of th [all...] |
H A D | AtomicStampedReference.java | 5 * under the terms of the GNU General Public License version 2 only, as 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * You should have received a copy of the GNU General Public License version 28 * However, the following notice accompanied the original version of this 31 * Written by Doug Lea with assistance from members of JCP JSR-166 48 * @param <V> The type of object referred to by this reference 59 static <T> Pair<T> of(T reference, int stamp) { method in class:AtomicStampedReference.Pair 74 pair = Pair.of(initialRef, initialStamp); 78 * Returns the current value of the reference. 80 * @return the current value of th [all...] |
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
H A D | HeapCategorization.java | 6 * You may obtain a copy of the License at 36 * Representation of the break-down of a heap dump into categories. 42 * Enumeration of the categories used. 47 * Interned strings that are mostly ASCII alphabetic characters, and have a bit of 59 * Interned strings that are don't meet the criterea of {@link #INTERNED_STRING_TEXT_ISH} or 113 * The subset of {@link #PURE_LIBCORE} which is static, rather than instance, state. 118 * Objects which don't fall into any of the above categories. (N.B. This ensures that every 119 * object is in at least one category, but objects may be in more than one of the above.) 139 * Returns the categorization of th 142 static HeapCategorization of(AhatSnapshot snapshot, AhatHeap... heaps) { method in class:HeapCategorization [all...] |