Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Wroten (0.16 sec)

  1. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        }
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "bar [group 1, item 2] must be Object#equals to foo [group 1, item 1]");
          return;
        }
        fail("should failed because symmetry is broken");
      }
    
      public void testTransitivityBrokenInEqualityGroup() {
        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(
                    named("foo").addPeers("bar", "baz"),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/annotations/Beta.java

     * compatibility guarantees made by its containing library. Note that the presence of this
     * annotation implies nothing about the quality or performance of the API in question, only the fact
     * that it is not "API-frozen."
     *
     * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra
     * work during upgrades. However it is generally inadvisable for <i>libraries</i> (which get
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Comparators.java

      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * com.google.guava:listenablefuture:1.0 artifact. (For more on that artifact, see
     * https://github.com/google/guava/releases/tag/v27.0) This means that the copy of ListenableFuture
     * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
     * could in principle cause problems for some users. Still, we expect that the benefits of the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Verify.java

     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
     *       assertions are for. Note that assertions are not enabled by default; they are essentially
     *       considered "compiled comments."
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      private static final ImmutableSet<CharSource> BROKEN_SOURCES =
          ImmutableSet.of(BROKEN_CLOSE_SOURCE, BROKEN_OPEN_SOURCE, BROKEN_READ_SOURCE);
      private static final ImmutableSet<CharSink> BROKEN_SINKS =
          ImmutableSet.of(BROKEN_CLOSE_SINK, BROKEN_OPEN_SINK, BROKEN_WRITE_SINK);
    
      public void testCopyExceptions() {
        if (Closer.create().suppressor instanceof LoggingSuppressor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashTestUtils.java

            diff |= (hash1 ^ hash2);
    
            count++;
            // check whether we've exceeded the probabilistically
            // likely number of trials to have proven no funneling
            if (count > maxCount) {
              Assert.fail(
                  "input bit("
                      + i
                      + ") was found not to affect all "
                      + hashBits
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

       * relation. That is, invoking {@link Function#apply} multiple times for a given value must return
       * equivalent results. For example, {@code
       * Equivalence.identity().onResultOf(Functions.toStringFunction())} is broken because it's not
       * guaranteed that {@link Object#toString}) always returns the same string instance.
       *
       * @since 10.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

       * relation. That is, invoking {@link Function#apply} multiple times for a given value must return
       * equivalent results. For example, {@code
       * Equivalence.identity().onResultOf(Functions.toStringFunction())} is broken because it's not
       * guaranteed that {@link Object#toString}) always returns the same string instance.
       *
       * @since 10.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top