- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for ison (0.13 sec)
-
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} /* * Tests for Predicates.equalTo(x). */ public void testIsEqualTo_apply() { Predicate<@Nullable Integer> isOne = Predicates.equalTo(1); assertTrue(isOne.apply(1)); assertFalse(isOne.apply(2)); assertFalse(isOne.apply(null)); } public void testIsEqualTo_equality() { new EqualsTester() .addEqualityGroup(Predicates.equalTo(1), Predicates.equalTo(1))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
// These contain bytes not in the decodabet. assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f"); assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !"); // This sentence just isn't base64() encoded. assertFailsToDecode(base64(), "let's not talk of love or chains!"); // A 4n+1 length string is never legal base64(). assertFailsToDecode(base64(), "12345", "Invalid input length 5");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Aug 25 16:34:08 GMT 2022 - 24.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* called on the filtered collection, only elements that satisfy the filter will be removed from * the underlying collection. * * <p>The returned collection isn't threadsafe or serializable, even if {@code unfiltered} is. * * <p>Many of the filtered collection's methods, such as {@code size()}, iterate across every
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* the context of {@code class MyStringList implements List<String>}). In such case, prefer to use * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be * used when the type mapping isn't implied by the static type hierarchy, but provided through other * means such as an annotation or external configuration file. * * @author Ben Yu * @since 15.0 */ @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals( "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); } // NOTE: This test will always pass if register() is thread-safe but may also // pass if it isn't, though this is unlikely. public void testRegisterThreadSafety() throws Exception { List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList(); List<Future<?>> futures = Lists.newArrayList();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals( "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); } // NOTE: This test will always pass if register() is thread-safe but may also // pass if it isn't, though this is unlikely. public void testRegisterThreadSafety() throws Exception { List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList(); List<Future<?>> futures = Lists.newArrayList();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
} } /** * Returns a hash function implementing FarmHash's Fingerprint64, an open-source algorithm. * * <p>This is designed for generating persistent fingerprints of strings. It isn't * cryptographically secure, but it produces a high-quality hash with fewer collisions than some * alternatives we've used in the past. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
*/ assertWithMessage( "byAscendingSize %s, startIndex %s, inputIsSet %s", byAscendingSize, startIndex, inputIsSet) .that(immutableCopy) .isIn(distinctCandidatesByAscendingSize); } } } } private static final class MutatedOnQuerySet<E> extends ForwardingSet<E> { final Iterator<ImmutableSet<E>> infiniteCandidates;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
*/ assertWithMessage( "byAscendingSize %s, startIndex %s, inputIsSet %s", byAscendingSize, startIndex, inputIsSet) .that(immutableCopy) .isIn(distinctCandidatesByAscendingSize); } } } } private static final class MutatedOnQuerySet<E> extends ForwardingSet<E> { final Iterator<ImmutableSet<E>> infiniteCandidates;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* PermittedMetaException}. */ protected final class MultiExceptionListIterator implements ListIterator<E> { // TODO: track seen elements when order isn't guaranteed // TODO: verify contents afterward // TODO: something shiny and new instead of Stack // TODO: test whether null is supported (create a Feature) /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0)