Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 4,811 for tstring (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        String[] sourceArray = new String[] {"a", "b", "c"};
        Iterable<String> iterable = asList(sourceArray);
        String[] newArray = Iterables.toArray(iterable, String.class);
        assertTrue(Arrays.equals(sourceArray, newArray));
      }
    
      public void testAny() {
        List<String> list = new ArrayList<>();
        Predicate<String> predicate = equalTo("pants");
    
        assertFalse(any(list, predicate));
        list.add("cool");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
          BloomFilter<String> bf = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
          for (int j = 0; j < 10; j++) {
            String value = new Object().toString();
            boolean mightContain = bf.mightContain(value);
            boolean put = bf.put(value);
            assertTrue(mightContain != put);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordBhv.java

        @Override
        public String asTableDbName() {
            return asEsIndexType();
        }
    
        @Override
        protected String asEsIndex() {
            return "fess_config.elevate_word";
        }
    
        @Override
        public String asEsIndexType() {
            return "elevate_word";
        }
    
        @Override
        public String asEsSearchType() {
            return "elevate_word";
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("toString should return formatted string with pipe name")
        void testToString() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    
            // Act
            String result = transWaitNamedPipe.toString();
    
            // Assert
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

         *            the object to convert
         * @param pattern
         *            the pattern string
         * @return the converted {@link Long}
         */
        public static Long toLong(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Long l -> l;
            case Number n -> n.longValue();
            case String s -> toLong(s);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            final GeoInfo geoInfo = new GeoInfo(request);
            String result =
                    "{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}";
            assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", ""));
        }
    
        public void test_34_150_10_x() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CaseFormat.java

        }
    
        @Override
        public String toString() {
          return sourceFormat + ".converterTo(" + targetFormat + ")";
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L;
      }
    
      abstract String normalizeWord(String word);
    
      String normalizeFirstWord(String word) {
        return normalizeWord(word);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            return Collections.unmodifiableList(messages);
        }
    
        public void addMessage(String message) {
            messages.add(message);
        }
    
        @Override
        public String toString() {
            return render("");
        }
    
        public String render(String indentation) {
            if (messages.isEmpty()) {
                return indentation + "There were no validation errors.";
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top