Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,682 for ToString (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          return delegate.getId();
        }
    
        @Override
        public String toString() {
          return delegate.toString();
        }
      }
    
      private interface Equals {
        @Override
        boolean equals(@Nullable Object obj);
    
        @Override
        int hashCode();
    
        @Override
        String toString();
      }
    
      private static class NoDelegateToEquals implements Equals {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString());
        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString());
      }
    
      public void testKnownInputs_mixedAlgorithms() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(jvmType1.toString(), ourType1.toString());
        assertEquals(jvmType2.toString(), ourType2.toString());
      }
    
      public void testNewArrayTypeOfArray() {
        Type jvmType = new TypeCapture<int[][]>() {}.capture();
        Type ourType = Types.newArrayType(int[].class);
        assertEquals(jvmType.toString(), ourType.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(jvmType1.toString(), ourType1.toString());
        assertEquals(jvmType2.toString(), ourType2.toString());
      }
    
      public void testNewArrayTypeOfArray() {
        Type jvmType = new TypeCapture<int[][]>() {}.capture();
        Type ourType = Types.newArrayType(int[].class);
        assertEquals(jvmType.toString(), ourType.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setProcessType(DfTypeUtil.toString(source.get("processType")));
                result.setRegex(DfTypeUtil.toString(source.get("regex")));
                result.setReplacement(DfTypeUtil.toString(source.get("replacement")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setDescription(DfTypeUtil.toString(source.get("description")));
                result.setHandlerName(DfTypeUtil.toString(source.get("handlerName")));
                result.setHandlerParameter(DfTypeUtil.toString(source.get("handlerParameter")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsLabelTypeBhv.java

                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setExcludedPaths(DfTypeUtil.toString(source.get("excludedPaths")));
                result.setIncludedPaths(DfTypeUtil.toString(source.get("includedPaths")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hash2 = HashCode.fromString(hash1.toString());
        assertEquals(hash1, hash2);
      }
    
      public void testRoundTrip() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          String string = HashCode.fromBytes(expected.bytes).toString();
          assertEquals(expected.toString, string);
          assertEquals(
              expected.toString,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      }
    
      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
        private final int value;
        private WeakReference<String> toString;
    
        Key(int value) {
          this.value = value;
        }
    
        @Override
        public synchronized String toString() {
          String s;
          if (toString != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
        SettableFuture<Object> future = SettableFuture.create();
        future.set(
            new Object() {
              @Override
              public String toString() {
                throw new OutOfMemoryError();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top