Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for We (0.24 sec)

  1. guava-gwt/pom.xml

                of those modules are ones that it uses but forgets to list in its own <inherits>, we'd
                like to get an error. Currently we do, but if we add the extra <inherits> lines, we
                won't.
    
                I have one idea for a better approach, but it's painful, and I haven't tested it: We
                could postprocess Collect.gwt.xml to add <skip> lines for all the files that should be
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

          this.durationNanos = durationNanos;
        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * @since 12.0
       */
      public static class Builder<E> extends ImmutableMultiset.Builder<E> {
        /*
         * We keep an array of elements and counts.  Periodically -- when we need more room in the
         * array, or when we're building, or the like -- we sort, deduplicate, and combine the counts.
         * Negative counts indicate a setCount operation with ~counts[i].
         */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
      private final transient EnumSet<E> delegate;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return new ImmutableSortedMap<K, V>(delegate, comparator);
      }
    
      /*
       * We don't permit nulls, but we wrap every comparator with nullsFirst().
       * Why? We want for queries like containsKey(null) to return false, but the
       * GWT SortedMap implementation that we delegate to throws
       * NullPointerException if the comparator does. Since our construction
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

           *
           * TODO: b/292578973: Use @AndroidIncompatible if we change our system to keep the methods in
           * place but to have the test runner skip them. However, note that if we choose to *both*
           * strip the methods *and* have the test runner not run them (for some unusual cases in which
           * we don't run the stripping test for technical reasons), then we'd be back to the problem
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

             * Don't store a new Iterator until we know the user can't remove() the last returned
             * element anymore. Otherwise, when we remove from the old iterator, we may be invalidating
             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graphs.java

          return true;
        }
        return hasCycle(network.asGraph());
      }
    
      /**
       * Performs a traversal of the nodes reachable from {@code node}. If we ever reach a node we've
       * already visited (following only outgoing edges and without reusing edges), we know there's a
       * cycle in the graph.
       */
      private static <N> boolean subgraphHasCycle(
          Graph<N> graph,
          Map<Object, NodeVisitState> visitedNodes,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
         * We don't serialize this class in GWT, so we don't care about whether GWT will serialize this
         * field.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
Back to top