Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 138 for name (0.15 sec)

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

      public void testLenientFormat_badArgumentToString() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches(
                // J2kt nested class name does not use "$"
                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      public final void init(G subjectGenerator, String suiteName) {
        init(subjectGenerator, suiteName, null, null);
      }
    
      public G getSubjectGenerator() {
        return subjectGenerator;
      }
    
      /** Returns the name of the test method invoked by this test instance. */
      @J2ktIncompatible
      @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
      public final String getTestMethodName() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAdd_unsupportedPresent() {
        try {
          getList().add(e0());
          fail("add(present) should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

          return this;
        }
    
        @Override
        public CharMatcher negate() {
          return new NegatedFastMatcher(this);
        }
      }
    
      /** {@link FastMatcher} which overrides {@code toString()} with a custom name. */
      abstract static class NamedFastMatcher extends FastMatcher {
    
        private final String description;
    
        NamedFastMatcher(String description) {
          this.description = checkNotNull(description);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ArbitraryInstances {
    
      private static final Ordering<Field> BY_FIELD_NAME =
          new Ordering<Field>() {
            @Override
            public int compare(Field left, Field right) {
              return left.getName().compareTo(right.getName());
            }
          };
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ArbitraryInstances {
    
      private static final Ordering<Field> BY_FIELD_NAME =
          new Ordering<Field>() {
            @Override
            public int compare(Field left, Field right) {
              return left.getName().compareTo(right.getName());
            }
          };
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/SplitterTest.java

        String leading = ",a,b,c";
        Iterable<String> letters = Splitter.onPattern(",").split(leading);
        assertThat(letters).containsExactly("", "a", "b", "c").inOrder();
      }
    
      // TODO(kevinb): the name of this method suggests it might not actually be testing what it
      // intends to be testing?
      @GwtIncompatible // Splitter.onPattern
      public void testPatternSplitWithMultipleLetters() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by
       * the same {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always
       * uses the natural ordering of the elements.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j));
      }
    
      private static final ImmutableList<String> NUMBER_NAMES =
          ImmutableList.of("one", "two", "three", "four", "five", "six", "seven");
    
      private static final ImmutableList<String> SORTED_NUMBER_NAMES =
          Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
      /** ImmutableList.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableList<E> jsOf(E... elements) {
        return copyOf(elements);
      }
    
      public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
        checkNotNull(elements); // for GWT
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top