- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,381 for indexer (0.14 sec)
-
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
assertEquals(10, map.size()); for (int i = 0; i < 10; i++) { assertEquals(Integer.toString(i), map.get(i)); } } public void testEntrySetValueAfterRemoved() { CompactHashMap<Integer, String> map = CompactHashMap.create(); map.put(1, "1"); Entry<Integer, String> entry = getOnlyElement(map.entrySet()); map.remove(1); entry.setValue("one"); assertThat(map).containsEntry(1, "one");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.indexOf(ARRAY1, ARRAY1)).isEqualTo(0); assertThat(Chars.indexOf(ARRAY234, ARRAY234)).isEqualTo(0); assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 2, (char) 3})).isEqualTo(0); assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3, (char) 4})).isEqualTo(1); assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3})).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
@ValidateTypeFailure public Integer failureCountThreshold; @Size(max = 10) public String popularWord; @Required @Size(max = 20) public String csvFileEncoding; @Min(-1) @Max(100000) @ValidateTypeFailure public Integer purgeSearchLogDay; @Min(-1) @Max(100000) @ValidateTypeFailure public Integer purgeJobLogDay; @Min(-1)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { return checkedCreate(nullCheckedTreeSet(elements)); } } public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator { @Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
*/ public void testMinMaxWithSupertypeComparator() { Comparator<Number> numberComparator = comparing(Number::intValue); Integer comparand1 = 1; Integer comparand2 = 2; Integer min = min(comparand1, comparand2, numberComparator); Integer max = max(comparand1, comparand2, numberComparator); assertThat(min).isEqualTo(1); assertThat(max).isEqualTo(2); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java
@GwtCompatible public class RegularImmutableSortedMapMapInterfaceTest extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makeEmptyMap() { return ImmutableSortedMap.of(); } @Override protected SortedMap<String, Integer> makePopulatedMap() { return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 17 01:34:55 UTC 2022 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
*/ public void testCreate() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1); multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); assertEquals(2, multimap.expectedValuesPerKey); } public void testCreateFromMultimap() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
*/ public void testCreate() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1); multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); assertEquals(2, multimap.expectedValuesPerKey); } public void testCreateFromMultimap() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_afterGC() throws InterruptedException { Integer canonical = new Integer(5); Integer not = new Integer(5); Interner<Integer> pool = Interners.newWeakInterner(); assertSame(canonical, pool.intern(canonical)); WeakReference<Integer> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
* @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = new Integer(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.1K bytes - Viewed (0)