Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 358 for value_a (0.09 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Platform.java

        return matcher.precomputedInternal();
      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEscaping(xmlEscaper, "&apos;", ch);
          } else if (shouldEscapeQuotes && ch == '"') {
            assertEscaping(xmlEscaper, "&quot;", ch);
          } else {
            String input = String.valueOf(ch);
            String escaped = xmlEscaper.escape(input);
            assertEquals(
                "char 0x" + Integer.toString(ch, 16) + " should not be escaped", input, escaped);
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
        private String getCsvEncoding() {
            return fessConfig.getCsvFileEncoding();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Doubles.java

       * @return a hash code for the value
       */
      @InlineMe(replacement = "Double.hashCode(value)")
      public static int hashCode(double value) {
        return Double.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code double} values. The sign of the value returned is the same as
       * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        assertEquals(Integer.valueOf(1), iterator.next());
        assertEquals(Integer.valueOf(2), iterator.next());
        iterator.remove();
        assertEquals(asList("1", "3"), list);
      }
    
      public void testPoorlyBehavedTransform() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                }
            }
        }
    
        private static String[] splitLine(final String value) {
            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
            final String[] values = value.split("[\r\n]");
            final List<String> list = new ArrayList<>(values.length);
            for (final String line : values) {
                if (StringUtil.isNotBlank(line)) {
                    list.add(line.trim());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        }
    
        /**
         * Creates a map item with label and value for use in dropdown lists and form options.
         *
         * @param label the display label for the item
         * @param value the value associated with the item
         * @return a map containing the label and value
         */
        protected Map<String, String> createItem(final String label, final String value) {
            final Map<String, String> map = new HashMap<>(2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

      private static class SomeFunction implements Function<Number, String>, Serializable {
        @Override
        public String apply(Number n) {
          return String.valueOf(n);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, () -> asListHtml(dictId));
            }
        }
    
        /**
         * Validate the protected word string.
         * @param action The action.
         * @param values The values.
         * @param propertyName The property name.
         * @param hook The error hook.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top