Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,095 for overridden (0.18 sec)

  1. guava/src/com/google/common/cache/CacheLoader.java

       * only the entries for {@code keys} will be returned from {@code getAll}.
       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
       * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls
       * to {@link LoadingCache#get} if this method is not overridden.
       *
       * @param keys the unique, non-null keys whose values should be loaded
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheLoader.java

       * only the entries for {@code keys} will be returned from {@code getAll}.
       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
       * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls
       * to {@link LoadingCache#get} if this method is not overridden.
       *
       * @param keys the unique, non-null keys whose values should be loaded
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMaxChar = (char) Math.min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Byte get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Java8Compatibility.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Java8Compatibility.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

      protected ForwardingLoadingCache() {}
    
      @Override
      protected abstract LoadingCache<K, V> delegate();
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V get(K key) throws ExecutionException {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V getUnchecked(K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

        for (char c : safeCharArray) {
          octets[c] = true;
        }
        return octets;
      }
    
      /*
       * Overridden for performance. For unescaped strings this improved the performance of the uri
       * escaper from ~760ns to ~400ns as measured by {@link CharEscapersBenchmark}.
       */
      @Override
      protected int nextEscapeIndex(CharSequence csq, int index, int end) {
        checkNotNull(csq);
        for (; index < end; index++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingObject.java

       * generally override this method with an abstract method that has a more specific return type,
       * such as {@link ForwardingSet#delegate}. Concrete subclasses override this method to supply the
       * instance being decorated.
       */
      protected abstract Object delegate();
    
      /** Returns the string representation generated by the delegate's {@code toString} method. */
      @Override
      public String toString() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top