Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 628 for all (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          }
        } else {
          /*
           * We'll call the user callback or collect the values only when all inputs complete,
           * regardless of whether some failed. This lets us avoid calling expensive methods like
           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          Character[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
      public static final class CharsAsListTailSubListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          Character[] prefix = {(char) 86, (char) 99};
          Character[] all = concat(prefix, elements);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

          Double[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
      public static final class DoublesAsListTailSubListGenerator extends TestDoubleListGenerator {
        @Override
        protected List<Double> create(Double[] elements) {
          Double[] prefix = {(double) 86, (double) 99};
          Double[] all = concat(prefix, elements);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          Character[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
      public static final class CharsAsListTailSubListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          Character[] prefix = {(char) 86, (char) 99};
          Character[] all = concat(prefix, elements);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <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)
  6. guava-tests/test/com/google/common/collect/RangeTest.java

        Range<Integer> range = Range.all();
        assertTrue(range.contains(Integer.MIN_VALUE));
        assertTrue(range.contains(Integer.MAX_VALUE));
        assertUnboundedBelow(range);
        assertUnboundedAbove(range);
        assertFalse(range.isEmpty());
        assertEquals("(-\u221e..+\u221e)", range.toString());
        assertSame(range, reserializeAndAssert(range));
        assertSame(range, Range.all());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

     * {@link UnsupportedOperationException} when they are not implemented. Most implementations should
     * support either all add operations or none of them, all removal operations or none of them, and if
     * and only if all of these are supported, the {@code setCount} methods as well.
     *
     * <p>A multiset uses {@link Object#equals} to determine whether two instances should be considered
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns {@code true} if the collection {@code self} contains all of the elements in the
       * collection {@code c}.
       *
       * <p>This method iterates over the specified collection {@code c}, checking each element returned
       * by the iterator in turn to see if it is contained in the specified collection {@code self}. If
       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

          remaining -= bytesToCopy;
        }
        return result;
      }
    
      /**
       * Reads all bytes from an input stream into a byte array. Does not close the stream.
       *
       * <p><b>Java 9+ users:</b> use {@code in#readAllBytes()} instead.
       *
       * @param in the input stream to read from
       * @return a byte array containing all the bytes from the stream
       * @throws IOException if an I/O error occurs
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

            ImmutableList.of(
                QueryOp.create("BiMap.get", BiMap::get, Math::log),
                QueryOp.create("BiMap.inverse.get", (bm, o) -> bm.inverse().get(o), Math::log)));
      }
    
      /** All the ways to create an ImmutableBiMap. */
      enum ConstructionPathway {
        COPY_OF_MAP {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top