Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for str (0.12 sec)

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

       * Converts the specified {@code String str} from this format to the specified {@code format}. A
       * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then
       * the behavior of this method is undefined but we make a reasonable effort at converting anyway.
       */
      public final String to(CaseFormat format, String str) {
        checkNotNull(format);
        checkNotNull(str);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> str.isEmpty() ? null : Lists.charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testFlatteningToImmutableSetMultimap() {
        Collector<String, ?, ImmutableSetMultimap<Character, Character>> collector =
            ImmutableSetMultimap.flatteningToImmutableSetMultimap(
                str -> str.charAt(0), str -> Chars.asList(str.substring(1).toCharArray()).stream());
        BiPredicate<Multimap<?, ?>, Multimap<?, ?>> equivalence =
            Equivalence.equals()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      static class WithStreamParameter {
        private final List<?> list;
    
        // This should be ignored.
        public WithStreamParameter(Stream<?> s, String str) {
          this.list = s.collect(Collectors.toList());
          checkNotNull(str);
        }
      }
    
      static class UsesReferentialEquality {
        private final ReferentialEquality s;
    
        public UsesReferentialEquality(ReferentialEquality s) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

            String classifier =
                    str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : null;
            String str = request.getExtension();
            String extension =
                    str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : null;
            return new DefaultArtifact(
                    session,
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java

                        ? request.getClassifier()
                        : type != null ? type.getClassifier() : "";
                String str = request.getExtension();
                String extension =
                        str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : "";
                return new DefaultArtifactCoordinate(
                        session,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                try {
                    String str = request.getUserProperties().getProperty(BUILDER_PARALLELISM);
                    if (str == null) {
                        str = request.getSystemProperties().getProperty(BUILDER_PARALLELISM);
                    }
                    if (str != null) {
                        parallelism = Integer.parseInt(str);
                    }
                } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                }
                System.arraycopy(Strings.getUNIBytes(str), 0, dst, dstIndex, str.length() * 2);
                dstIndex += str.length() * 2;
                dst[ dstIndex++ ] = (byte) '\0';
                dst[ dstIndex++ ] = (byte) '\0';
            }
            else {
                byte[] b = Strings.getOEMBytes(str, this.getConfig());
                System.arraycopy(b, 0, dst, dstIndex, b.length);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(Arrays.asList(elements));
          StringBuilder str = new StringBuilder();
          str.append(chars);
          return Lists.charactersOf(str);
        }
      }
    
      private abstract static class TestUnhashableListGenerator
          extends TestUnhashableCollectionGenerator<List<UnhashableObject>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            subCommand = SmbComTransaction.TRANS2_FIND_FIRST2;
        }
    
        String readString( byte[] src, int srcIndex, int len ) {
            String str = null;
            try {
                if( useUnicode ) {
                    // should Unicode alignment be corrected for here?
                    str = new String( src, srcIndex, len, UNI_ENCODING );
                } else {
        
                    /* On NT without Unicode the fileNameLength
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
Back to top