Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,682 for ToString (0.12 sec)

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

          String string = seq.toString();
          if (string.length() <= maxLength) {
            return string;
          }
          // if the length of the toString() result was > maxLength for some reason, truncate that
          seq = string;
        }
    
        return new StringBuilder(maxLength)
            .append(seq, 0, truncationLength)
            .append(truncationIndicator)
            .toString();
      }
    
      /**
    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. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new Date(((Calendar) src).getTimeInMillis());
            }
            final String str = src.toString();
            if (isEmpty(str)) {
                return null;
            }
            if (isNotEmpty(pattern)) {
                final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                        while ( ( n = is.read(buf) ) != -1 ) {
                            sb.append(new String(buf, 0, n, "ISO8859_1"));
                        }
                        this.style = sb.toString();
                    }
                }
                catch ( IOException ioe ) {
                    throw new ServletException(ioe.getMessage());
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            }
            return false;
        }
    
    
        @Override
        public int hashCode () {
            return Objects.hashCode(this.netName);
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbShareInfo[" + "netName=" + this.netName + ",type=0x" + Hexdump.toHexString(this.type, 8) + ",remark=" + this.remark + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            this.fileName = Strings.fromUNIBytes(buffer, bufferIndex, this.fileNameLength);
            bufferIndex += this.fileNameLength;
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            String ret = "FileNotifyInformation[nextEntry=" + this.nextEntryOffset + ",action=0x" + Hexdump.toHexString(this.action, 4) + ",file="
                    + this.fileName + "]";
            return ret;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

                buffer.project(project.getArtifactId());
            }
    
            if (cause != null) {
                buffer.a(": ").failure(cause.getMessage());
            }
    
            return buffer.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String docInfoName = adocFileName.substring(0, adocFileName.lastIndexOf('.')) + "-docinfo.html";
                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/InputStreamThread.java

        }
    
        public String getOutput() {
            final StringBuilder buf = new StringBuilder(100);
            for (final String value : list) {
                buf.append(value).append("\n");
            }
            return buf.toString();
        }
    
        public boolean contains(final String value) {
            for (final String line : list) {
                if (line.trim().equals(value)) {
                    return true;
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

            .addEqualityGroup(INSTANCE)
            .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1)))
            .testEquals();
      }
    
      public void testToString() {
        assertEquals("{}", INSTANCE.toString());
      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertNull(INSTANCE.get('a', 1));
      }
    
      public void testIsEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/VerifyTest.java

        // Don't bother testing: Verify is like Preconditions. See the discussion on that class.
      }
    
      private static final Object IGNORE_ME =
          new Object() {
            @Override
            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void checkMessage(Exception e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top