Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 1,651 for toString (0.04 sec)

  1. guava/src/com/google/common/collect/ForwardingMapEntry.java

      protected int standardHashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /**
       * A sensible definition of {@link #toString} in terms of {@link #getKey} and {@link #getValue}.
       * If you override either of these methods, you may wish to override {@link #equals} to forward to
       * this implementation.
       *
       * @since 7.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            transformHeader.setFlags(0x0001);
    
            // When
            String stringRep = transformHeader.toString();
    
            // Then
            assertNotNull(stringRep);
            assertTrue(stringRep.contains("Smb2TransformHeader"));
            // toString() implementation may vary, just check it's not null and not empty
            assertFalse(stringRep.isEmpty());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsRoleBhv.java

        protected <RESULT extends Role> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertEquals(qualifier, artifactVersion.getQualifier(), parsed + "check qualifier");
            assertEquals(version, artifactVersion.toString(), "check " + version + " string value");
        }
    
        @Test
        void testVersionParsing() {
            checkVersionParsing("1", 1, 0, 0, 0, null);
            checkVersionParsing("1.2", 1, 2, 0, 0, null);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public String toString() {
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.toString();
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          return new DescendingImmutableSortedSet<>(this);
        }
    
        @Override
        boolean isPartialView() {
          return ranges.isPartialView();
        }
    
        @Override
        public String toString() {
          return ranges.toString();
        }
    
        @Override
        @J2ktIncompatible // serialization
        Object writeReplace() {
          return new AsSetSerializedForm<C>(ranges, domain);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
      private static class UrlByteSourceFactory extends FileByteSourceFactory {
    
        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @throws CIFSException if unable to retrieve the session key
         */
        public abstract byte[] getSessionKey() throws CIFSException;
    
        @Override
        public String toString() {
            return this.binding.toString();
        }
    
        /**
         * Sends a DCERPC fragment to the remote endpoint
         * @param buf the buffer containing the fragment data
         * @param off the offset into the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

                    transport.getRequestSecurityMode(firstReq));
        }
    
        @Test
        @DisplayName("toString contains key fields without throwing")
        void toStringContainsInfo() {
            String s = transport.toString();
            assertNotNull(s);
            assertTrue(s.contains("state="));
            assertTrue(s.contains(":445"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            }
            Path normal = Paths.get(javahome.getValue()).normalize();
            if (Files.exists(normal)) {
                jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString());
            } else {
                throw new MisconfiguredToolchainException(
                        "Non-existing JDK home configuration at " + normal.toAbsolutePath());
            }
    
            return jtc;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top