- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for Case (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build(); SetMultimap<String, Integer> c = MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build(); } public void testGenerics_gwtCompatible() { ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().<String, Integer>build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Objects; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
switch (presentBehavior) { case FIRST_PRESENT: if (list.contains(key)) { assertEquals(list.indexOf(key), answer); return; } break; case LAST_PRESENT: if (list.contains(key)) { assertEquals(list.lastIndexOf(key), answer); return; } break; case ANY_PRESENT: if (list.contains(key)) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
@ElementTypesAreNonnullByDefault final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> { static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) { switch (set.size()) { case 0: return ImmutableSet.of(); case 1: return ImmutableSet.of(Iterables.getOnlyElement(set)); default: return new ImmutableEnumSet<>(set); } } /*
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
private int rep; @Override public @Nullable Integer computeNext() { switch (rep++) { case 0: return 0; case 1: return 1; case 2: return endOfData(); default: throw new AssertionError("Should not have been invoked again"); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SortedListsTest.java
switch (presentBehavior) { case FIRST_PRESENT: if (list.contains(key)) { assertEquals(list.indexOf(key), answer); return; } break; case LAST_PRESENT: if (list.contains(key)) { assertEquals(list.lastIndexOf(key), answer); return; } break; case ANY_PRESENT: if (list.contains(key)) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
public void testOneEqual() { assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0); } public void testOneEqualUsingComparator() { assertThat(ComparisonChain.start().compare("a", "A", String.CASE_INSENSITIVE_ORDER).result()) .isEqualTo(0); } public void testManyEqual() { assertThat( ComparisonChain.start() .compare(1, 1) .compare(1L, 1L)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Objects; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java
top.offerAll(list); assertThat(top.topK()).containsExactly(1, 2).inOrder(); } } public void testDifferentComparator() { TopKSelector<String> top = TopKSelector.least(3, String.CASE_INSENSITIVE_ORDER); top.offerAll(ImmutableList.of("a", "B", "c", "D", "e", "F")); assertThat(top.topK()).containsExactly("a", "B", "c").inOrder(); } public void testWorstCase() { int n = 2000000;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* once the data reaches a configurable size. * * <p>When this stream creates a temporary file, it restricts the file's permissions to the current * user or, in the case of Android, the current app. If that is not possible (as is the case under * the very old Android Ice Cream Sandwich release), then this stream throws an exception instead of * creating a file that would be more accessible. (This behavior is new in Guava 32.0.0. Previous
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0)