Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 4,260 for object (0.07 sec)

  1. guava/src/com/google/common/collect/AbstractBiMap.java

        @Override
        public boolean remove(@CheckForNull Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
          inverse.delegate.remove(entry.getValue());
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

            }
    
            @Override
            public Object[] toArray() {
              /*
               * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it
               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

     * An XML writer request.
     *
     * @since 4.0.0
     * @param <T> the object type to read
     */
    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        @Nullable
        Function<Object, String> getInputLocationFormatter();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

            }
    
            @Override
            public Object[] toArray() {
              /*
               * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it
               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactSpec e = b2.addDependency("e", "1.0");
            ArtifactSpec g = d1.addDependency("g", "1.0");
    
            ArtifactResolutionResult res = collect(createSet(new Object[] {a.artifact}));
            Object[] artifacts = new Object[] {a.artifact, c.artifact, d1.artifact, b2.artifact, e.artifact, g.artifact};
            assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      }
    
      private static <E extends @Nullable Object> void assertCollectionsAreEquivalent(
          Collection<E> expected, Collection<E> actual) {
        assertIteratorsInOrder(expected.iterator(), actual.iterator());
      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(0, SECONDS)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(0, SECONDS)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DiscreteDomain.java

    public abstract class DiscreteDomain<C extends Comparable> {
    
      /**
       * Returns the discrete domain for values of type {@code Integer}.
       *
       * <p>This method always returns the same object. That object is serializable; deserializing it
       * results in the same object too.
       *
       * @since 14.0 (since 10.0 as {@code DiscreteDomains.integers()})
       */
      public static DiscreteDomain<Integer> integers() {
        return IntegerDomain.INSTANCE;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsentity/BsFavoriteLog.java

        //                                                                              ======
        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (createdAt != null) {
                addFieldToSource(sourceMap, "createdAt", createdAt);
            }
            if (docId != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top