Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 207 for Otherwise (0.27 sec)

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

      }
    
      /**
       * Constructs a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input
       * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine
       * the key type.
       *
       * @param map the map whose mappings are to be placed in this map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hasher.java

     *
     * <p><b>Warning:</b> Using a specific character encoding when hashing a {@link CharSequence} with
     * {@link #putString(CharSequence, Charset)} is generally only useful for cross-language
     * compatibility (otherwise prefer {@link #putUnencodedChars}). However, the character encodings
     * must be identical across languages. Also beware that {@link Charset} definitions may occasionally
     * change between Java releases.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedMultiset.java

     * instead of {@link Object#equals} to determine equivalence of instances.
     *
     * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the
     * {@link Comparable} class specification. Otherwise, the resulting multiset will violate the {@link
     * Collection} contract, which is specified in terms of {@link Object#equals}.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumBiMap}, the new bimap has the same types as the provided map. Otherwise, the
       * specified map must contain at least one mapping, in order to determine the key and value types.
       *
       * @param map the map whose mappings are to be placed in this map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Joiner.java

       * this {@code Joiner} otherwise.
       *
       * @since 20.0
       */
      public MapJoiner withKeyValueSeparator(char keyValueSeparator) {
        return withKeyValueSeparator(String.valueOf(keyValueSeparator));
      }
    
      /**
       * Returns a {@code MapJoiner} using the given key-value separator, and the same configuration as
       * this {@code Joiner} otherwise.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ElementOrderTest.java

        addNodes(graph);
    
        assertThat(graph.nodeOrder()).isEqualTo(insertion());
        assertThat(graph.nodes()).containsExactly(3, 1, 4).inOrder();
      }
    
      // The default ordering is INSERTION unless otherwise specified.
      @Test
      public void nodeOrder_default() {
        MutableGraph<Integer> graph = GraphBuilder.directed().build();
    
        addNodes(graph);
    
        assertThat(graph.nodeOrder()).isEqualTo(insertion());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

       * Returns the string if it is not null, or an empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@CheckForNull String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

            result.set(t.getComponentType());
          }
        }.visit(type);
        return result.get();
      }
    
      /**
       * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null
       * otherwise.
       */
      @CheckForNull
      private static Type subtypeOfComponentType(Type[] bounds) {
        for (Type bound : bounds) {
          Type componentType = getComponentType(bound);
          if (componentType != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimap.java

     * provide much stronger guarantees.
     *
     * <h3>Comparison to a map of collections</h3>
     *
     * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise
     * have appeared. The differences include:
     *
     * <ul>
     *   <li>There is no need to populate an empty collection before adding an entry with {@link #put
     *       put}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

        if (bits == 32) {
          return Murmur3_32HashFunction.GOOD_FAST_HASH_32;
        }
        if (bits <= 128) {
          return Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        }
    
        // Otherwise, join together some 128-bit murmur3s
        int hashFunctionsNeeded = (bits + 127) / 128;
        HashFunction[] hashFunctions = new HashFunction[hashFunctionsNeeded];
        hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top