- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 187 for beaver (0.19 sec)
-
android/guava/src/com/google/common/base/Function.java
* <i>May</i> return {@code true} if {@code object} is a {@code Function} that behaves identically * to this function. * * <p><b>Warning: do not depend</b> on the behavior of this method. * * <p>Historically, {@code Function} instances in this library have implemented this method to * recognize certain cases where distinct {@code Function} instances would in fact behave
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/WrongType.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUE
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 934 bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
linkedHashMultiset = LinkedHashMultiset.create(size); treeMultiset = TreeMultiset.create(); Random random = new Random(); int sizeRemaining = size; // TODO(kevinb): generate better test contents for multisets for (int i = 0; sizeRemaining > 0; i++) { // The JVM will return interned values for small ints. Integer value = random.nextInt(1000) + 128;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedMultiset.java
* * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link * #elementSet()}. Override those methods for better performance. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault abstract class AbstractSortedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
// Verify that everything else is left unescaped. String safeChars = "\0\u0100\uD800\uDC00\uFFFF"; assertEquals(safeChars, escaper.escape(safeChars)); // Ensure that Unicode escapers behave correctly wrt badly formed input. String badUnicode = "\uDC00\uD800"; try { escaper.escape(badUnicode); fail("should fail for bad Unicode"); } catch (IllegalArgumentException e) { // Pass
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 5K bytes - Viewed (1) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
// GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches // the behaviour of the non-GWT implementation of newConcurrentHashSet(). // On the other hand HashSet might be better for code size if apps aren't // already using Collections.newSetFromMap and ConcurrentHashMap. return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 29 18:16:45 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
* * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link * #elementSet()}. Override those methods for better performance. * * @author Kevin Bourrillion * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 01 22:07:10 GMT 2021 - 6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
import java.util.Set; import junit.framework.TestCase; /** * @author George van den Driessche */ public class FeatureUtilTest extends TestCase { interface ExampleBaseInterface { void behave(); } interface ExampleDerivedInterface extends ExampleBaseInterface { void misbehave(); } enum ExampleBaseFeature implements Feature<ExampleBaseInterface> { BASE_FEATURE_1,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* greater than {@code b}; or zero if they are equal */ // TODO(kevinb): if Ints.compare etc. are ever removed, *maybe* remove this // one too, which would leave compare methods only on the Unsigned* classes. public static int compare(byte a, byte b) { return a - b; // safe due to restricted range } /** * Returns the least value present in {@code array}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:09:25 GMT 2021 - 7.5K bytes - Viewed (0)