Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 586 for getLamp (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        assertFalse(
            "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries)));
      }
    
      public void testEquals_list() {
        assertFalse(
            "A List should never equal a Map.", getMap().equals(copyToList(getMap().entrySet())));
      }
    
      private static <K, V> Map<K, V> newHashMap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/FacetResponse.java

            aggregations.forEach(aggregation -> {
                if (aggregation.getName().startsWith(Constants.FACET_FIELD_PREFIX)) {
                    final Terms termFacet = (Terms) aggregation;
                    fieldList.add(new Field(termFacet));
                } else if (aggregation.getName().startsWith(Constants.FACET_QUERY_PREFIX)) {
                    final Filter queryFacet = (Filter) aggregation;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
        expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        getMap().forcePut(null, v1());
    
        expectContents(mapEntry((K) null, v1()));
    
        assertFalse(getMap().containsValue(v0()));
    
        assertTrue(getMap().containsValue(v1()));
        assertTrue(getMap().inverse().containsKey(v1()));
        assertNull(getMap().inverse().get(v1()));
        assertEquals(v1(), getMap().get(null));
        assertEquals(1, getMap().size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getName())) {
                throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL));
            }
            return asStream(pi.getName()).contentTypeOctetStream().stream(out -> {
                try {
                    downloadObject(getObjectName(pi.getPath(), pi.getName()), out);
                } catch (final StorageException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class ConcurrentMapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top