Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for inherit (0.2 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

    import static com.google.common.base.StandardSystemProperty.USER_NAME;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static java.nio.file.attribute.AclEntryFlag.DIRECTORY_INHERIT;
    import static java.nio.file.attribute.AclEntryFlag.FILE_INHERIT;
    import static java.nio.file.attribute.AclEntryType.ALLOW;
    import static java.nio.file.attribute.PosixFilePermissions.asFileAttribute;
    import static java.util.Objects.requireNonNull;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import java.util.Comparator;
    import javax.lang.model.element.Modifier;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/internal/Finalizer.java

      // By preference, we will use the Thread constructor that has an `inheritThreadLocals` parameter.
      // But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread
      // is created, by accessing a private field.
      @CheckForNull
      private static final Constructor<Thread> bigThreadConstructor = getBigThreadConstructor();
    
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import java.util.Comparator;
    import javax.lang.model.element.Modifier;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        private final ImmutableIntArray parent;
    
        private AsList(ImmutableIntArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, {,list,spl}iterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        private final ImmutableDoubleArray parent;
    
        private AsList(ImmutableDoubleArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Double get(int index) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              ImmutableList.of(2, 4),
              ImmutableList.of(1, 2, 3, 5, 6, 8, 9));
    
      /*
       * We have a whole series of abstract test classes that "stack", so e.g. the tests for filtered
       * NavigableSets inherit the tests for filtered Iterables, Collections, Sets, and SortedSets. The
       * actual implementation tests are further down.
       */
    
      public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/internal/Finalizer.java

      // By preference, we will use the Thread constructor that has an `inheritThreadLocals` parameter.
      // But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread
      // is created, by accessing a private field.
      @CheckForNull
      private static final Constructor<Thread> bigThreadConstructor = getBigThreadConstructor();
    
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        private final ImmutableLongArray parent;
    
        private AsList(ImmutableLongArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Long get(int index) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * If your task does anything heavier consider, just using a listener with an executor.
       *
       * @since 20.0
       */
      @ForOverride
      protected void afterDone() {}
    
      // TODO(b/114236866): Inherit doc from InternalFutureFailureAccess. Also, -link to its URL.
      /**
       * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top