Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 905 for berate (0.16 sec)

  1. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

    public class ArrayTableRowMapTest extends RowMapTests {
      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(Arrays.asList("foo", "bar", "dog"), Arrays.asList(1, 2, 3));
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

      @Override
      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Table<Character, String, Integer> makeTable() {
        return ArrayTable.create(
            Arrays.asList('a', 'b', 'c'), Arrays.asList("one", "two", "three", "four"));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableMultimap.copyOf(delegate).asMap();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

             * 1. Prior to JDK 7u51, the JDK TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
             * 2. Starting with JDK 7u51, the JDK TypeVariable implementations does not interoperate
             * with ours. Therefore, we have to be careful about whether we create our own TypeVariable:
             *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapTailMapTest.java

        super(false, true, true, true);
      }
    
      @Override
      TreeBasedTable<String, Integer, Character> makeTable() {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("a", 1, 'a');
        return table;
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        TreeBasedTable<String, Integer, Character> table = makeTable();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/SloppyTearDown.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java

        super(false, true, true, true);
      }
    
      @Override
      TreeBasedTable<String, Integer, Character> makeTable() {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("a", 1, 'a');
        table.put("z", 1, 'a');
        return table;
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

          getDone(immediateCancelledFuture());
          fail();
        } catch (CancellationException expected) {
        }
      }
    
      public void testPending() throws ExecutionException {
        try {
          getDone(SettableFuture.create());
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

      UndirectedNetworkConnections(Map<E, N> incidentEdgeMap) {
        super(incidentEdgeMap);
      }
    
      static <N, E> UndirectedNetworkConnections<N, E> of() {
        return new UndirectedNetworkConnections<>(HashBiMap.<E, N>create(EXPECTED_DEGREE));
      }
    
      static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
        return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges));
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
          HashMultiset<Integer> multiset = HashMultiset.<Integer>create();
          multisets.add(multiset);
          queries[i] = random.nextInt();
          multiset.add(queries[i]);
        }
      }
    
      @Benchmark
      int add(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.6K bytes
    - Viewed (0)
Back to top