Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for str (0.19 sec)

  1. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      @Override
      public void writeShort(int v) throws IOException {
        out.write(0xFF & v);
        out.write(0xFF & (v >> 8));
      }
    
      @Override
      public void writeUTF(String str) throws IOException {
        ((DataOutputStream) out).writeUTF(str);
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/DebugConfigurationListener.java

                    }
                    buf.append(String.valueOf(Array.get(obj, i)));
                }
                buf.append(']');
                str = buf.toString();
            } else {
                str = String.valueOf(obj);
            }
            return str;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/TestWriter.java

      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        final AtomicInteger deliveries = new AtomicInteger();
        EventBus bus = new EventBus();
        bus.register(
            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/TestCharSink.java

          public void write(char[] cbuf, int off, int len) throws IOException {
            super.write(cbuf, off, len);
            flush();
          }
    
          @Override
          public void write(String str, int off, int len) throws IOException {
            super.write(str, off, len);
            flush();
          }
        };
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 2K bytes
    - Viewed (0)
  7. maven-core/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SID.java

            if ( this.domainName != null ) {
                String str;
    
                if ( this.type == SID_TYPE_DOMAIN ) {
                    str = this.domainName;
                }
                else if ( this.type == SID_TYPE_WKN_GRP || this.domainName.equals("BUILTIN") ) {
                    if ( this.type == SID_TYPE_UNKNOWN ) {
                        str = toString();
                    }
                    else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        protected static String urlEncode(final String str) {
            if (str == null) {
                return StringUtil.EMPTY;
            }
            return URLEncoder.encode(str, Constants.UTF_8_CHARSET);
        }
    
        @Deprecated
        protected static String urlDecode(final String str) {
            if (str == null) {
                return StringUtil.EMPTY;
            }
            return URLDecoder.decode(str, Constants.UTF_8_CHARSET);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         *
         * @see jcifs.SmbResourceLocator#getParent()
         */
        @Override
        public String getParent () {
            String str = this.url.getAuthority();
    
            if ( str != null && !str.isEmpty() ) {
                StringBuffer sb = new StringBuffer("smb://");
    
                sb.append(str);
    
                String urlpath = getURLPath();
                if ( urlpath.length() > 1 ) {
                    sb.append(urlpath);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
Back to top