Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for names (0.13 sec)

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

        String toTest = MoreObjects.toStringHelper("FooBar").toString();
        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        String toTest = MoreObjects.toStringHelper("FooBar").toString();
        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      private static NamedObject named(String name) {
        return new NamedObject(name);
      }
    
      private static class NamedObject {
        private final Set<String> peerNames = Sets.newHashSet();
    
        private final String name;
    
        NamedObject(String name) {
          this.name = Preconditions.checkNotNull(name);
        }
    
        NamedObject addPeers(String... names) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

      InternetDomainName(String name) {
        // Normalize:
        // * ASCII characters to lowercase
        // * All dot-like characters to '.'
        // * Strip trailing '.'
    
        name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.'));
    
        if (name.endsWith(".")) {
          name = name.substring(0, name.length() - 1);
        }
    
        checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/Multimap.java

     * ListMultimap} and {@link SetMultimap}. These take their names from the fact that the collections
     * they return from {@code get} behave like (and, of course, implement) {@link List} and {@link
     * Set}, respectively.
     *
     * <p>For example, the "presidents" code snippet above used a {@code ListMultimap}; if it had used a
     * {@code SetMultimap} instead, two presidents would have vanished, and last names might or might
     * not appear in chronological order.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      private static final ImmutableList<String> NULL_TEST_METHOD_NAMES =
          ImmutableList.of(
              "testNulls", "testNull",
              "testNullPointers", "testNullPointer",
              "testNullPointerExceptions", "testNullPointerException");
    
      /* The names of the expected method that tests serializable. */
      private static final ImmutableList<String> SERIALIZABLE_TEST_METHOD_NAMES =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
      }
    
      /**
       * Creates a thread using {@link #platformThreadFactory}, and sets its name to {@code name} unless
       * changing the name is forbidden by the security manager.
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      static Thread newThread(String name, Runnable runnable) {
        checkNotNull(name);
        checkNotNull(runnable);
        // TODO(b/139726489): Confirm that null is impossible here.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. LICENSE

          the terms of any separate license agreement you may have executed
          with Licensor regarding such Contributions.
    
       6. Trademarks. This License does not grant permission to use the trade
          names, trademarks, service marks, or product names of the Licensor,
          except as required for reasonable and customary use in describing the
          origin of the Work and reproducing the content of the NOTICE file.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      private static NamedObject named(String name) {
        return new NamedObject(name);
      }
    
      private static class NamedObject {
        private final Set<String> peerNames = Sets.newHashSet();
    
        private final String name;
    
        NamedObject(String name) {
          this.name = Preconditions.checkNotNull(name);
        }
    
        NamedObject addPeers(String... names) {
    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)
Back to top