Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 337 for valueOf (0.09 sec)

  1. guava/src/com/google/common/base/Ascii.java

       *
       * @since 8.0
       */
      public static final byte DEL = 127;
    
      /**
       * The minimum value of an ASCII character.
       *
       * @since 9.0 (was type {@code int} before 12.0)
       */
      public static final char MIN = 0;
    
      /**
       * The maximum value of an ASCII character.
       *
       * @since 9.0 (was type {@code int} before 12.0)
       */
      public static final char MAX = 127;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEscaping(xmlEscaper, "'", ch);
          } else if (shouldEscapeQuotes && ch == '"') {
            assertEscaping(xmlEscaper, """, 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

        private List<Problem> convert(List<BuilderProblem> problems) {
            ProblemCollector collector = ProblemCollectorFactory.newInstance(null);
            problems.forEach(p -> collector.add(
                    Problem.Severity.valueOf(p.getSeverity().name()),
                    p.getMessage(),
                    p.getLineNumber(),
                    p.getColumnNumber(),
                    p.getException()));
            return collector.getProblems();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 480)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 490)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 500)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 510)).length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    private
    fun JApiMethod.isEnumImplicitMethodValueOf(): Boolean {
        return name == "valueOf" && parameters.size == 1 && parameters.first().type == "java.lang.String"
    }
    
    
    private
    fun JApiMethod.isEnumImplicitMethodValues(): Boolean {
        return name == "values" && parameters.size == 0
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, () -> asListHtml(dictId));
            }
        }
    
        protected void verifyForm(final CreateForm form) {
            if (form.token != null && form.token.split(" ").length > 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    }
                }
                this.value = ALIASES.getProperty(value, value);
            }
    
            @Override
            public int getType() {
                return STRING_ITEM;
            }
    
            @Override
            public boolean isNull() {
                return value == null || value.isEmpty();
            }
    
            /**
             * Returns a comparable value for a qualifier.
             * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      public void testValues() {
        ImmutableBiMap<String, Integer> bimap =
            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4));
        Set<Integer> values = bimap.values();
        assertEquals(newHashSet(1, 2, 3, 4), values);
        assertThat(values).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testDoubleInverse() {
        ImmutableBiMap<String, Integer> bimap =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top