Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Bonner (0.14 sec)

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

         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            }
            String prefix = (moduleName == null) ? (option + ' ') : (option + ' ' + moduleName + '=');
            StringJoiner joiner = new StringJoiner(File.pathSeparator, prefix, "");
            joiner.setEmptyValue("");
            for (Path p : paths) {
                joiner.add(p.toString());
            }
            return joiner.toString();
        }
    
        @Override
        public String toString() {
            return "PathType[" + id() + "]";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(OptionalDouble.class, OptionalDouble.empty())
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Locale.class, Locale.US)
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

        LinkedHashSet<Integer> set = Sets.newLinkedHashSet(LONGER_LIST);
        verifyLinkedHashSetContents(set, LONGER_LIST);
      }
    
      public void testNewLinkedHashSetFromIterable() {
        LinkedHashSet<Integer> set =
            Sets.newLinkedHashSet(
                new Iterable<Integer>() {
                  @Override
                  public Iterator<Integer> iterator() {
                    return LONGER_LIST.iterator();
                  }
                });
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/io/Closer.java

      }
    
      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
       * @return the given {@code closeable}
       */
      // close. this word no longer has any meaning to me.
      @CanIgnoreReturnValue
      @ParametricNullness
      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableCollection.java

     *       ImmutableList#subList} may retain a reference to the entire data set, preventing it from
     *       being garbage collected. If some of the data is no longer reachable through other means,
     *       this constitutes a memory leak. Pass the view collection to the appropriate {@code copyOf}
     *       method to obtain a correctly-sized copy.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       ImmutableList#subList} may retain a reference to the entire data set, preventing it from
     *       being garbage collected. If some of the data is no longer reachable through other means,
     *       this constitutes a memory leak. Pass the view collection to the appropriate {@code copyOf}
     *       method to obtain a correctly-sized copy.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       *
       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 6}.
       *
       * @since 3.0 (source-compatible since 2.0)
       */
      @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Tables.java

       * in a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still
       * runs quickly, since the row key is provided. However, {@code column(columnKey).size()} takes
       * longer, since an iteration across all row keys occurs.
       *
       * <p>Note that this implementation is not synchronized. If multiple threads access this table
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top