Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,525 for return (0.21 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        T value = (T) ArbitraryInstances.get(rawType);
        if (value != null) {
          return value;
        }
        if (rawType.isInterface()) {
          return new SerializableDummyProxy(this).newProxy(type);
        }
        return null;
      }
    
      private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractBiMap.java

        inverse = forward;
      }
    
      @Override
      protected Map<K, V> delegate() {
        return delegate;
      }
    
      /** Returns its input, or throws an exception if this is not a valid key. */
      @CanIgnoreReturnValue
      @ParametricNullness
      K checkKey(@ParametricNullness K key) {
        return key;
      }
    
      /** Returns its input, or throws an exception if this is not a valid value. */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @return The default domain.
         */
        public static String getDefaultDomain() {
            return DEFAULT_DOMAIN;
        }
    
        /**
         * Returns the default user from the current environment.
         *
         * @return The default user.
         */
        public static String getDefaultUser() {
            return DEFAULT_USER;
        }
    
        /**
         * Returns the default password from the current environment.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteStreams.java

          total += read;
        }
        return total;
      }
    
      /**
       * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array from the
       * beginning.
       */
      public static ByteArrayDataInput newDataInput(byte[] bytes) {
        return newDataInput(new ByteArrayInputStream(bytes));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * @param value any {@code long} value
       * @return {@code (byte) 255} if {@code value >= 255}, {@code (byte) 0} if {@code value <= 0}, and
       *     {@code value} cast to {@code byte} otherwise
       */
      public static byte saturatedCast(long value) {
        if (value > toInt(MAX_VALUE)) {
          return MAX_VALUE; // -1
        }
        if (value < 0) {
          return (byte) 0;
        }
        return (byte) value;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
      /** Returns the statistics on the {@code x} values alone. */
      public Stats xStats() {
        return xStats;
      }
    
      /** Returns the statistics on the {@code y} values alone. */
      public Stats yStats() {
        return yStats;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ElementOrder.java

        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ElementOrder)) {
          return false;
        }
    
        ElementOrder<?> other = (ElementOrder<?>) obj;
        return (type == other.type) && Objects.equal(comparator, other.comparator);
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(type, comparator);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

            case 0:
              return of();
            case 1:
              return new SingletonImmutableTable<>(Iterables.getOnlyElement(cells));
            default:
              return RegularImmutableTable.forCells(cells, rowComparator, columnComparator);
          }
        }
      }
    
      ImmutableTable() {}
    
      @Override
      public ImmutableSet<Cell<R, C, V>> cellSet() {
        return (ImmutableSet<Cell<R, C, V>>) super.cellSet();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return multimap.entryIterator();
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
Back to top