Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for subtree (0.15 sec)

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

        this.range = GeneralRange.all(comparator);
        this.header = new AvlNode<>();
        successor(header, header);
        this.rootReference = new Reference<>();
      }
    
      /** A function which can be summed across a subtree. */
      private enum Aggregate {
        SIZE {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return node.elemCount;
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

       * being a real directory to being a symlink to another directory. It then calls
       * deleteDirectoryContents thousands of times on a directory whose subtree contains the file
       * that's switching between directory and symlink to try to ensure that under no circumstance does
       * deleteDirectoryContents follow the symlink to the other directory and delete that directory's
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
        return copyOf(naturalOrder, elements);
    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)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            List<RecursiveTypeBoundBugExample<? extends RecursiveTypeBoundBugExample<T>>> arg) {
          return notSubtype(arg); // isSubtype() currently incorrectly considers it a subtype.
        }
      }
    
      private static class WildcardSubtypingTests extends SubtypeTester {
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Iterable<?> noBounds(List<?> list) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

          void visitClass(Class<?> t) {
            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);
    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)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

              // subtyping between declared type bound and actual type bound. So it's possible that we
              // may generate something like <capture#1-of ? extends Foo&SubFoo>.
              // Checking subtype between declared and actual type bounds
              // adds recursive isSubtypeOf() call and feels complicated.
              // There is no contract one way or another as long as isSubtypeOf() works as expected.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * String#equalsIgnoreCase}). However in almost all cases that ASCII strings are used, the author
       * probably wanted the behavior provided by this method rather than the subtle and sometimes
       * surprising behavior of {@code toUpperCase()} and {@code toLowerCase()}.
       *
       * @since 16.0
       */
      public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * includes exceptional exits, so all control paths involving signalling must be protected by a
       * finally block.
       *
       * Further optimizations of this algorithm become increasingly subtle. A wait that terminates
       * without the guard being satisfied (due to timeout, but not interrupt) can then immediately exit
       * the monitor without signalling. If it timed out without being signalled, it does not need to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/MoreObjects.java

         * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness
         * is relatively expensive. Use a subtype so this also doesn't need any extra storage.
         */
        private static final class UnconditionalValueHolder extends ValueHolder {}
      }
    
      private MoreObjects() {}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Verify.java

     *     "Unexpected bill status: %s", bill.status());
     * }</pre>
     *
     * <h3>Comparison to alternatives</h3>
     *
     * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear
     * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
     * reasonable and it will be fine.
     *
     * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
Back to top