- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 746 for always (0.2 sec)
-
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertEquals(bytes.length, new TestByteSource(bytes, SKIP_THROWS).size()); // test that we can get the size even if available() always returns zero assertEquals(bytes.length, new TestByteSource(bytes, AVAILABLE_ALWAYS_ZERO).size()); } public void testCopyTo_outputStream() throws IOException { ByteArrayOutputStream out = new ByteArrayOutputStream();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
this.delegate = checkNotNull(delegate); } @Override @ParametricNullness @SuppressWarnings("unchecked") // Cast from Supplier<Void> to Supplier<T> is always valid public T get() { // Because Supplier is read-heavy, we use the "double-checked locking" pattern. if (delegate != SUCCESSFULLY_COMPUTED) { synchronized (this) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* semantics as the built-in Java language synchronization primitives. * * <p>A call to any of the <i>enter</i> methods with <b>void</b> return type should always be * followed immediately by a <i>try/finally</i> block to ensure that the current thread leaves the * monitor cleanly: * * <pre>{@code * monitor.enter(); * try { * // do things while occupying the monitor
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
* ImmutableSetMultimap.<Character, Character>builder() * .putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a')) * .putAll('a', Arrays.asList('p', 'p', 'l', 'e')) * .putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't')) * .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's')) * .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y')) * .build(); *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a * SHORT is always discriminable from zero time, and always allows enough time for the small * amounts of computation (creating a thread, calling a few methods, etc) needed to reach a * timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestOption.java
* * @author Colin Decker */ public enum TestOption { OPEN_THROWS, SKIP_THROWS, READ_THROWS, WRITE_THROWS, CLOSE_THROWS, AVAILABLE_ALWAYS_ZERO
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 08 16:34:30 GMT 2013 - 870 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
/** * Guaranteed to throw an exception and leave the collection unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean add(@ParametricNullness E e) { throw new UnsupportedOperationException(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void putAll(Map<? extends K, ? extends V> map) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* c}}. * * @param arrays zero or more {@code float} arrays * @return a single array containing all the values from the source arrays, in order */ public static float[] concat(float[]... arrays) { int length = 0; for (float[] array : arrays) { length += array.length; } float[] result = new float[length]; int pos = 0;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* ValueGraphBuilder}. * * <p>The returned builder can be used for populating an {@link ImmutableValueGraph}. * * <p>Note that the returned builder will always have {@link #incidentEdgeOrder} set to {@link * ElementOrder#stable()}, regardless of the value that was set in this builder. * * @since 28.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jun 03 01:21:31 GMT 2022 - 8K bytes - Viewed (0)