Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for Krause (0.17 sec)

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

          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
        };
    
        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertEquals((Character) 'b', table.erase("bar", 1));
        assertNull(table.get("bar", 1));
        assertEquals(9, table.size());
        assertNull(table.erase("bar", 1));
        assertNull(table.erase("foo", 2));
        assertNull(table.erase("dog", 1));
        assertNull(table.erase("bar", 5));
        assertNull(table.erase(null, 1));
        assertNull(table.erase("bar", null));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertEquals((Character) 'b', table.erase("bar", 1));
        assertNull(table.get("bar", 1));
        assertEquals(9, table.size());
        assertNull(table.erase("bar", 1));
        assertNull(table.erase("foo", 2));
        assertNull(table.erase("dog", 1));
        assertNull(table.erase("bar", 5));
        assertNull(table.erase(null, 1));
        assertNull(table.erase("bar", null));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

                IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12));
        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
        e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12));
        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
      }
    
      @Test
      public void addEdge_parallelEdge_notAllowed() {
        assume().that(graphIsMutable()).isTrue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
        e =
            assertThrows(
                IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N2, N2, E11));
        assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE);
        addEdge(N1, N2, E12);
        e =
            assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableBiMap.java

         * not allowed, and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
         * Adds the given {@code entry} to the bimap. Duplicate keys or values are not allowed, and will
         * cause {@link #build} to fail.
         *
         * @since 19.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableTable.java

          return this;
        }
    
        /**
         * Associates the ({@code rowKey}, {@code columnKey}) pair with {@code value} in the built
         * table. Duplicate key pairs are not allowed and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        public Builder<R, C, V> put(R rowKey, C columnKey, V value) {
          cells.add(cellOf(rowKey, columnKey, value));
          return this;
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                throw ex.getCause();
              } catch (UnsupportedOperationException unsupported) {
                // this is a legit exception
              }
            }
          } catch (Throwable cause) {
            throw new InvocationTargetException(cause, method + " with args: " + Arrays.toString(args));
          }
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                throw ex.getCause();
              } catch (UnsupportedOperationException unsupported) {
                // this is a legit exception
              }
            }
          } catch (Throwable cause) {
            throw new InvocationTargetException(cause, method + " with args: " + Arrays.toString(args));
          }
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top