Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Ries (0.14 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

          return "A message";
        }
      }
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void verifySimpleMessage(Exception e) {
        assertThat(e).hasMessageThat().isEqualTo("A message");
      }
    
      private static void verifyComplexMessage(Exception e) {
        assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies.");
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          factory.setAccessible(true);
        }
        // Sorts methods/constructors with the least number of parameters first since it's likely easier
        // to fill dummy parameter values for them. Ties are broken by name then by the string form of
        // the parameter list.
        return BY_NUMBER_OF_PARAMETERS
            .compound(BY_METHOD_NAME)
            .compound(BY_PARAMETERS)
            .immutableSortedCopy(factories);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       * safe range. If {@code safeMax < safeMin} then no code points are considered safe.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/VerifyTest.java

            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void checkMessage(Exception e) {
        assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies.");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Comparators.java

        return true;
      }
    
      /**
       * 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)))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

        return (Multiset<T>) iterable;
      }
    
      /**
       * Returns a copy of {@code multiset} as an {@link ImmutableMultiset} whose iteration order puts
       * the highest count first, with ties broken by the iteration order of the original multiset.
       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/Escapers.java

        }
    
        /**
         * Adds a replacement string for the given input character. The specified character will be
         * replaced by the given string whenever it occurs in the input, irrespective of whether it lies
         * inside or outside the 'safe' range.
         *
         * @param c the character to be replaced
         * @param replacement the string to replace the given character
         * @return the builder instance
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
Back to top