Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 175 for Content (0.29 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], contents);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    /**
     * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map})
     * that contain elements.
     *
     * @param <C> the type of the container
     * @param <E> the type of the container's contents
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MoreFilesTest.java

                      Thread.yield();
                    }
                  }
                });
      }
    
      /** Enum defining the two MoreFiles methods that delete directory contents. */
      private enum DirectoryDeleteMethod {
        DELETE_DIRECTORY_CONTENTS {
          @Override
          public void delete(Path path, RecursiveDeleteOption... options) throws IOException {
            MoreFiles.deleteDirectoryContents(path, options);
          }
    
    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)
  5. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

       */
      public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        return Platform.newArray(reference, length);
      }
    
      /**
       * Returns a new array that contains the concatenated contents of two arrays.
       *
       * @param first the first array of elements to concatenate
       * @param second the second array of elements to concatenate
       * @param type the component type of the returned array
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. .github/workflows/scorecard.yml

          security-events: write
          # Needed to publish results and get a badge (see publish_results below).
          id-token: write
          # Uncomment the permissions below if installing in a private repository.
          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
            with:
              persist-credentials: false
    
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Objects.java

       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashMultimap.java

       * constructed multimap.
       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys().hashSetValues().build(multimap)}.
       *
       * @param multimap the multimap whose contents are copied to this multimap
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashMultimap<K, V> create(
          Multimap<? extends K, ? extends V> multimap) {
        return new HashMultimap<>(multimap);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top