Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 1,682 for ToString (0.07 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
        assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString());
      }
    
      /**
       * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on
       * the bridge method in addition to the original method, which causes both the original and bridge
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      } catch (_: IOException) {
        false
      }
    
    internal fun Socket.peerName(): String {
      val address = remoteSocketAddress
      return if (address is InetSocketAddress) address.hostName else address.toString()
    }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                            public Object getValue(String expression) {
                                if ("basedir".equals(expression)) {
                                    return projectDir.toAbsolutePath().toString();
                                } else if (expression.startsWith("basedir.")) {
                                    Path basedir = projectDir.toAbsolutePath();
                                    return new ObjectBasedValueSource(basedir)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                this.predicate = artifactPredicate(source);
                this.global = global;
                this.source = source;
                this.target = target;
            }
    
            @Override
            public String toString() {
                return source + (global ? " >> " : " > ") + target;
            }
        }
    
        private static class Relocations {
            private final List<Relocation> relocations;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber")));
                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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

                + Objects.hashCode("foo", 3, 'c');
        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
        List<?> exp = copyToList(expected);
        List<?> act = copyToList(actual);
        String actString = act.toString();
    
        // Of course we could take pains to give the complete description of the
        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

          this.value = value;
        }
    
        @Override
        public int compareTo(IntegerDiv10 o) {
          return value / 10 - o.value / 10;
        }
    
        @Override
        public String toString() {
          return Integer.toString(value);
        }
      }
    
      public void testCopyOfDuplicateInconsistentWithEquals() {
        IntegerDiv10 three = new IntegerDiv10(3);
        IntegerDiv10 eleven = new IntegerDiv10(11);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Bytes.java

          }
          return result;
        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 5);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        byte[] toByteArray() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Invokable.java

        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return member.hashCode();
      }
    
      @Override
      public String toString() {
        return member.toString();
      }
    
      /**
       * Returns {@code true} if this is an overridable method. Constructors, private, static or final
       * methods, or methods declared by final classes are not overridable.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top