Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for owner (0.21 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.nio.file.attribute.PosixFileAttributeView;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          }
        }
      }
    
      public void testResolveNestedClass() {
        assertEquals(String.class, new Owner.Nested<String>() {}.getTypeArgument());
      }
    
      @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
      public void testResolveInnerClass() {
        assertEquals(String.class, new Owner<Integer>().new Inner<String>() {}.getTypeArgument());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeVisitor.java

       */
      public final void visit(@Nullable Type... types) {
        for (Type type : types) {
          if (type == null || !visited.add(type)) {
            // null owner type, or already visited;
            continue;
          }
          boolean succeeded = false;
          try {
            if (type instanceof TypeVariable) {
              visitTypeVariable((TypeVariable<?>) type);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.nio.file.attribute.PosixFileAttributeView;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

      }
    
      /** Decides what owner type to use for constructing {@link ParameterizedType} from a raw class. */
      private enum ClassOwnership {
        OWNED_BY_ENCLOSING_CLASS {
          @Override
          @CheckForNull
          Class<?> getOwnerType(Class<?> rawType) {
            return rawType.getEnclosingClass();
          }
        },
        LOCAL_CLASS_HAS_NO_OWNER {
          @Override
          @CheckForNull
    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)
  8. LICENSE

          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
          the copyright owner that is granting the License.
    
          "Legal Entity" shall mean the union of the acting entity and all
          other entities that control, are controlled by, or are under common
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

     * #getParameters} etc.
     *
     * <p>In addition to convenience methods, {@link TypeToken#method} and {@link TypeToken#constructor}
     * will resolve the type parameters of the method or constructor in the context of the owner type,
     * which may be a subtype of the declaring class. For example:
     *
     * <pre>{@code
     * Method getMethod = List.class.getMethod("get", int.class);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

        return Types.newArrayType(resolvedComponentType);
      }
    
      private ParameterizedType resolveParameterizedType(ParameterizedType type) {
        Type owner = type.getOwnerType();
        Type resolvedOwner = (owner == null) ? null : resolveType(owner);
        Type resolvedRawType = resolveType(type.getRawType());
    
        Type[] args = type.getActualTypeArguments();
        Type[] resolvedArgs = resolveTypes(args);
    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)
Back to top