Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for names (0.16 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/src/com/google/common/net/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Utility methods and classes for networking (such as IP addresses and domain names).
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * @author Craig Berry
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      /**
       * For the given Enum value {@code rank}, returns the value's {@code "EnumClass.name"}, which is
       * used in exception and warning output.
       */
      private static String getLockName(Enum<?> rank) {
        return rank.getDeclaringClass().getSimpleName() + "." + rank.name();
      }
    
      /**
       * A {@code CycleDetectingLockFactory.WithExplicitOrdering} provides the additional enforcement of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

        private final D genericDeclaration;
        private final String name;
        private final ImmutableList<Type> bounds;
    
        TypeVariableImpl(D genericDeclaration, String name, Type[] bounds) {
          disallowPrimitiveType(bounds, "bound for type variable");
          this.genericDeclaration = checkNotNull(genericDeclaration);
          this.name = checkNotNull(name);
          this.bounds = ImmutableList.copyOf(bounds);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/base/MoreObjects.java

        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.add()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper add(String name, boolean value) {
          return addUnconditionalHolder(name, String.valueOf(value));
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/collect/FauxveridesTest.java

              ? name
              : name + " extends " + getTypesString(bounds);
        }
      }
    
      private static String getTypesString(List<? extends Type> types) {
        List<String> names = transform(types, SIMPLE_NAME_GETTER);
        return Joiner.on(", ").join(names);
      }
    
      private static final Function<Type, String> SIMPLE_NAME_GETTER =
          new Function<Type, String>() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
Back to top