Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for modifiers (0.18 sec)

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

          int superCount = superMultiset.count(entry.getElement());
          if (superCount < entry.getCount()) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Modifies {@code multisetToModify} so that its count for an element {@code e} is at most {@code
       * multisetToRetain.count(e)}.
       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
    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. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * comparable.
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws ClassCastException if the elements are not mutually comparable
       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

            : Lists.newArrayList(iterable.iterator());
      }
    
      /**
       * Adds all elements in {@code iterable} to {@code collection}.
       *
       * @return {@code true} if {@code collection} was modified as a result of this operation.
       */
      @CanIgnoreReturnValue
      public static <T extends @Nullable Object> boolean addAll(
          Collection<T> addTo, Iterable<? extends T> elementsToAdd) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. README.md

    ## IMPORTANT WARNINGS
    
    1.  APIs marked with the `@Beta` annotation at the class or method level are
        subject to change. They can be modified in any way, or even removed, at any
        time. If your code is a library itself (i.e., it is used on the CLASSPATH of
        users outside your own control), you should not use beta APIs unless you
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

            }
          }
    
          @Override
          protected String pendingToString() {
            return "task=[" + delegate + "]";
          }
        }
      }
    
      /*
       * This following method is a modified version of one found in
       * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/AbstractExecutorServiceTest.java?revision=1.30
       * which contained the following notice:
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

      /**
       * Returns a <b>mutable</b> list containing {@code elements} sorted by this ordering; use this
       * only when the resulting list may need further modification, or may contain {@code null}. The
       * input is not modified. The returned list is serializable and has random access.
       *
       * <p>Unlike {@link Sets#newTreeSet(Iterable)}, this method does not discard elements that are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

        return multimap.asMap();
      }
    
      /**
       * Returns a multimap view of the specified map. The multimap is backed by the map, so changes to
       * the map are reflected in the multimap, and vice versa. If the map is modified while an
       * iteration over one of the multimap's collection views is in progress (except through the
       * iterator's own {@code remove} operation, or through the {@code setValue} operation on a map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        Field[] fields = type.getDeclaredFields();
        Arrays.sort(fields, BY_FIELD_NAME);
        for (Field field : fields) {
          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        Field[] fields = type.getDeclaredFields();
        Arrays.sort(fields, BY_FIELD_NAME);
        for (Field field : fields) {
          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
    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)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

       * element (the given list itself).
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
      public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top