Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,648 for another (0.07 seconds)

  1. android/guava/src/com/google/common/collect/AbstractIterator.java

     * ordinarily difficult to write iterators for. But using this class, one must implement only the
     * {@link #computeNext} method, and invoke the {@link #endOfData} method when appropriate.
     *
     * <p>Another example is an iterator that skips over null elements in a backing iterator. This could
     * be implemented as:
     *
     * {@snippet :
     * public static Iterator<String> skipNulls(final Iterator<String> in) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingSortedSet.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A sorted set which forwards all its method calls to another sorted set. Subclasses should
     * override one or more methods to modify the behavior of the backing sorted set as desired per the
     * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        multimap.put(null, 3);
        multimap.put(null, 1);
        multimap.put(null, 7);
        multimap.put("tree", 0);
        multimap.put("tree", null);
        return multimap;
      }
    
      /** Test that a TreeMultimap created from another uses the natural ordering. */
      public void testMultimapCreateFromTreeMultimap() {
        TreeMultimap<String, Integer> tree =
            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (lock) {
          if (!executed) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final CharMappingItem other = (CharMappingItem) obj;
            if (!Arrays.equals(inputs, other.inputs)) {
                return false;
            }
            return Objects.equals(output, other.output);
        }
    
        /**
         * Returns a string representation of this CharMappingItem including all fields.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RangeMap.java

       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@Nullable Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A sorted multiset which forwards all its method calls to another sorted multiset. Subclasses
     * should override one or more methods to modify the behavior of the backing multiset as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance");
            assertSame(creds, unwrapped, "unwrap returns the same object instance");
    
            // unwrap to unrelated type should return null (use another Credentials implementation)
            assertNull(creds.unwrap(NtlmPasswordAuthenticator.class), "unwrap to unrelated type returns null");
    
            // domain and flags are surfaced as given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

                    || MODEL_VERSION_4_1_0.equals(modelVersion)
                    || MODEL_VERSION_4_2_0.equals(modelVersion);
        }
    
        /**
         * Checks if an upgrade from one version to another is possible.
         *
         * @param fromVersion the source version
         * @param toVersion the target version
         * @return true if the upgrade is possible
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java

            }
        }
    
        /**
         * Emulates an aggregation that collects from a single bucket "by accident"
         * and gets a "small" bucket ords. This can happen to a {@code terms} inside
         * of another {@code terms} when the "inner" terms only even has a single
         * bucket.
         */
        @Benchmark
        public void singleBucketIntoMultiSmall(Blackhole bh) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Feb 19 20:59:23 GMT 2021
    - 8.4K bytes
    - Click Count (0)
Back to Top