Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4141 - 4150 of 5,169 for String (0.03 sec)

  1. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

         */
        public static Boolean toBoolean(final Object o) {
            return switch (o) {
            case null -> null;
            case Boolean b -> b;
            case Number n -> n.intValue() != 0;
            case String s -> switch (s.toLowerCase()) {
            case "true" -> Boolean.TRUE;
            case "false", "0" -> Boolean.FALSE;
            default -> Boolean.TRUE;
            };
            default -> Boolean.TRUE;
            };
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/LineIteratorTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEach() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            for (final String line : LineIterator.iterable(reader)) {
                System.out.println(line);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler {
        @Override
        public void assembleModelInheritance(Model child, Model parent, String childPathAdjustment) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void assembleModelInheritance(Model child, Model parent) {
            throw new UnsupportedOperationException();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java

     */
    public interface WorkspaceRepository extends Repository {
    
        /**
         * {@return the type of the repository, i.e. "workspace"}
         */
        @Nonnull
        @Override
        default String getType() {
            return "workspace";
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("shishi.xn--fiqs8s", "shishi.xn--fiqs8s")
        checkPublicSuffix("xn--fiqs8s", null)
      }
    
      private fun checkPublicSuffix(
        domain: String,
        registrablePart: String?,
      ) {
        val canonicalDomain = domain.toCanonicalHost() ?: return
        val result = publicSuffixDatabase.getEffectiveTldPlusOne(canonicalDomain)
        if (registrablePart == null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            byte[] name = context.getName();
            assertNotNull(name);
            assertEquals("DLse", new String(name));
        }
    
        @Test
        public void testSettersAndGetters() {
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

         * @param name the name of the file
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      public Object[] toArray() {
        return delegate.toArray();
      }
    
      @Override
      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return delegate.toArray(other);
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      // TODO(cpovirk): equals(), as well, in case it's any faster than Sets.equalsImpl?
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/TreeConnectResponse.java

         */
        int getTid();
    
        /**
         * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).
         *
         * @return service
         */
        String getService();
    
        /**
         * Indicates whether the connected share is part of a Distributed File System (DFS) namespace.
         *
         * @return whether the share is in DFS
         */
        boolean isShareDfs();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcError.java

                        DCERPC_FAULT_CONTEXT_MISMATCH, DCERPC_FAULT_OP_RNG_ERROR, DCERPC_FAULT_UNK_IF, DCERPC_FAULT_PROTO_ERROR };
    
        /**
         * Array of human-readable messages for DCE/RPC fault codes
         */
        String[] DCERPC_FAULT_MESSAGES = { "DCERPC_FAULT_OTHER", "DCERPC_FAULT_ACCESS_DENIED", "DCERPC_FAULT_CANT_PERFORM", "DCERPC_FAULT_NDR",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top