Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,525 for return (0.15 sec)

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

        implements Serializable {
    
      /**
       * Returns an empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      public static <K, V> ImmutableMultimap<K, V> of() {
        return ImmutableListMultimap.of();
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

        implements Serializable {
    
      /**
       * Returns an empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      public static <K, V> ImmutableMultimap<K, V> of() {
        return ImmutableListMultimap.of();
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      E getEntry(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/IntMath.java

          case 0:
            return (k == 0) ? 1 : 0;
          case 1:
            return 1;
          case (-1):
            return ((k & 1) == 0) ? 1 : -1;
          case 2:
            if (k >= Integer.SIZE - 1) {
              return Integer.MAX_VALUE;
            }
            return 1 << k;
          case (-2):
            if (k >= Integer.SIZE) {
              return Integer.MAX_VALUE + (k & 1);
            }
            return ((k & 1) == 0) ? 1 << k : -1 << k;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

            E e = (E) element;
            return predicate.apply(e);
          }
          return false;
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return containsAllImpl(this, collection);
        }
    
        @Override
        public boolean isEmpty() {
          return !Iterables.any(unfiltered, predicate);
        }
    
        @Override
        public Iterator<E> iterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Funnels.java

        @Override
        public String toString() {
          return "Funnels.stringFunnel(" + charset.name() + ")";
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o instanceof StringCharsetFunnel) {
            StringCharsetFunnel funnel = (StringCharsetFunnel) o;
            return this.charset.equals(funnel.charset);
          }
          return false;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

        return new ConstantLoader<>(constant);
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static IncrementingLoader incrementingLoader() {
        return new IncrementingLoader();
      }
    
      /** Returns a {@link CacheLoader} that throws the given error for every request. */
      static <K, V> CacheLoader<K, V> errorLoader(final Error e) {
        checkNotNull(e);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

            if (ipString == null) {
              return null;
            }
          }
          if (percentIndex != -1) {
            ipString = ipString.substring(0, percentIndex);
          }
          return textToNumericFormatV6(ipString);
        } else if (hasDot) {
          if (percentIndex != -1) {
            return null; // Scope IDs are not supported for IPV4
          }
          return textToNumericFormatV4(ipString);
        }
        return null;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      /**
       * Returns the result of subtracting this and {@code val}. If the result would be negative,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger minus(UnsignedInteger val) {
        return fromIntBits(value - checkNotNull(val).value);
      }
    
      /**
       * Returns the result of multiplying this and {@code val}. If the result would have more than 32
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top