Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for message (0.21 sec)

  1. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

      protected UncheckedExecutionException(@CheckForNull String message) {
        super(message);
      }
    
      /**
       * Creates a new instance with the given detail message and cause. Prefer to provide a
       * non-nullable {@code cause}, as many users expect to find one.
       */
      public UncheckedExecutionException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private Set<Feature<?>> conflicts;
      private Object source;
    
      public ConflictingRequirementsException(
          String message, Set<Feature<?>> conflicts, Object source) {
        super(message);
        this.conflicts = conflicts;
        this.source = source;
      }
    
      public Set<Feature<?>> getConflicts() {
        return conflicts;
      }
    
      public Object getSource() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/InvalidatableSet.java

      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

        assertArrayEquals("toArray(largeEnough) order should match list", createOrderedArray(), actual);
      }
    
      private static void assertArrayEquals(String message, Object[] expected, Object[] actual) {
        assertEquals(message, Arrays.asList(expected), Arrays.asList(actual));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void test15ByteStringFromSipHashPaper() {
        byte[] message =
            new byte[] {
              0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e
            };
        long k0 = 0x0706050403020100L;
        long k1 = 0x0f0e0d0c0b0a0908L;
    
        assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(
            String message, String a1, String a2, String a3) {
          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(String message, Throwable antecedent) {
          super(message);
          this.antecedent = antecedent;
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        this.classFilter = and(this.classFilter, not(condition));
      }
    
      private static AssertionFailedError sanityError(
          Class<?> cls, List<String> explicitTestNames, String description, Throwable e) {
        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        for (int i = 0; i < position; i++) {
          iterator.next();
        }
        return iterator.next();
      }
    
      static void fail(Throwable cause, Object message) {
        AssertionFailedError assertionFailedError = new AssertionFailedError(String.valueOf(message));
        assertionFailedError.initCause(cause);
        throw assertionFailedError;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      private void expectReturnsTrue(Target target) {
        String message = Platform.format("retainAll(%s) should return true", target);
        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top