- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Treat (0.15 sec)
-
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
* can be used with collections that may contain null. This collection is a collection of * non-null Entry objects (Entry objects that might contain null values but are not * themselves null), so we can treat it as a plain `Object[]`. */ @SuppressWarnings("nullness") Object[] result = standardToArray(); return result; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* RuntimeException} (though {@code get} implementations are discouraged from throwing such * exceptions). * </ul> * * <p>The overall principle is to continue to treat every checked exception as a checked * exception, every unchecked exception as an unchecked exception, and every error as an error. In
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
* ObjectArrays.toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because * it can be used with collections that may contain null. This collection is a collection of * non-null elements, so we can treat it as a plain `Object[]`. */ @SuppressWarnings("nullness") Object[] result = ObjectArrays.toArrayImpl(this); return result; } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would * require its own suppression, since it is also unsound. toArray(T[]) is just a mess from a
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 18.7K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would * require its own suppression, since it is also unsound. toArray(T[]) is just a mess from a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* * <p><b>Note:</b>If you only need to know whether two maps have the same mappings, call {@code * left.equals(right)} instead of this method. * * @param left the map to treat as the "left" map for purposes of comparison * @param right the map to treat as the "right" map for purposes of comparison * @return the difference between the two maps */ public static <K extends @Nullable Object, V extends @Nullable Object>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with * {@code K}. If a key has not yet been associated with a value, its implicit value is zero. * * <p>Most methods in this class treat absent values and zero values identically, as individually * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link * #asMap}, and {@link #toString}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.1K bytes - Viewed (0)