Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 395 for Greaves (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          Long[] array = new Long[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Long) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
        protected abstract List<Long> create(Long[] elements);
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          Double[] array = new Double[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Double) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
        protected abstract List<Double> create(Double[] elements);
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

        private final List<Cell<R, C, V>> cells = Lists.newArrayList();
        @CheckForNull private Comparator<? super R> rowComparator;
        @CheckForNull private Comparator<? super C> columnComparator;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableTable#builder}.
         */
        public Builder() {}
    
        /** Specifies the ordering of the generated table's rows. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesTest.java

        map.put(expectedBytes);
    
        // Verify
        byte[] actualBytes = Files.toByteArray(file);
        assertTrue(Arrays.equals(expectedBytes, actualBytes));
      }
    
      public void testMap_readWrite_creates() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        boolean deleted = file.delete();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testMergeSorted_pyramid() {
        List<Iterable<Integer>> iterables = Lists.newLinkedList();
        List<Integer> allIntegers = Lists.newArrayList();
    
        // Creates iterators like: {{}, {0}, {0, 1}, {0, 1, 2}, ...}
        for (int i = 0; i < 10; i++) {
          List<Integer> list = Lists.newLinkedList();
          for (int j = 0; j < i; j++) {
            list.add(j);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir));
          assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile));
        }
      }
    
      /**
       * Creates a new file system for testing that supports the given features in addition to
       * supporting symbolic links. The file system is created initially having the following file
       * structure:
       *
       * <pre>
       *   /
    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)
  7. android/guava/src/com/google/common/io/CharSource.java

     * that provide readers that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #length()} and {@link #read()}, will either
     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        // (b) Waiting for the single guard to become satisfied.
        // (c) Occupying the monitor and awaiting the tearDownLatch.
        //
        // Except for (c), every thread should occupy the monitor very briefly, and every thread leaves
        // the monitor with the guard satisfied. Therefore as soon as tearDownLatch is triggered, we
        // should be able to enter the monitor, and then we set the guard to satisfied for the benefit
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      public static class Builder<K, V> {
        final Map<K, Collection<V>> builderMap;
        @CheckForNull Comparator<? super K> keyComparator;
        @CheckForNull Comparator<? super V> valueComparator;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMultimap#builder}.
         */
        public Builder() {
          this.builderMap = Platform.preservesInsertionOrderOnPutsMap();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @since 2.0
       */
      public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> {
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableBiMap#builder}.
         */
        public Builder() {
          super();
        }
    
        Builder(int size) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top