Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,782 for instanceOf (0.08 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testComputeIfAbsent_removalListener() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                final CharMappingItem entity = new CharMappingItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(CharMappingService.class).getCharMappingItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

     *         .onResultOf(getBarFunction)
     *         .nullsLast();
     * }</pre>
     *
     * Note that each chaining method returns a new ordering instance which is backed by the previous
     * instance, but has the chance to act on values <i>before</i> handing off to that backing instance.
     * As a result, it usually helps to read chained ordering expressions <i>backwards</i>. For example,
     * when {@code compare} is called on the above ordering:
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> source = asList(1, 2, 3).iterator();
        Iterator<List<Integer>> partitions = Iterators.partition(source, 2);
        assertTrue(partitions.next() instanceof RandomAccess);
        assertTrue(partitions.next() instanceof RandomAccess);
      }
    
      public void testPaddedPartition_badSize() {
        Iterator<Integer> source = singletonIterator(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return sb.toString();
            }
    
            @Override
            public boolean equals(final Object other) {
                if (other == null || !(other instanceof MyToken)) {
                    return false;
                }
                final MyToken o = (MyToken) other;
                if (!word.equals(o.word)) {
                    return false;
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableMap.java

      /** Makes an entry usable internally by a new ImmutableMap without rereading its contents. */
      static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry, K key, V value) {
        boolean reusable =
            entry instanceof ImmutableMapEntry && ((ImmutableMapEntry<K, V>) entry).isReusable();
        return reusable ? (ImmutableMapEntry<K, V>) entry : new ImmutableMapEntry<K, V>(key, value);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                return hashCode;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    
                if (!(o instanceof CacheKey)) {
                    return false;
                }
    
                CacheKey other = (CacheKey) o;
    
                return pomHash == other.pomHash
                        && artifactEquals(artifact, other.artifact)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(RelatedQueryService.class).getRelatedQuery(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInteger.java

        return compare(value, other.value);
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof UnsignedInteger) {
          UnsignedInteger other = (UnsignedInteger) obj;
          return value == other.value;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedInteger.java

        return compare(value, other.value);
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof UnsignedInteger) {
          UnsignedInteger other = (UnsignedInteger) obj;
          return value == other.value;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top