Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 843 for bist (0.16 sec)

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

        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());
        testers.add(SortedMapNavigationTester.class);
        return testers;
      }
    
      @Override
      public TestSuite createTestSuite() {
        if (!getFeatures().contains(KNOWN_ORDER)) {
          List<Feature<?>> features = Helpers.copyToList(getFeatures());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertTrue("No events should be delivered synchronously.", events.isEmpty());
    
        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        checkNotNull(equalityGroup);
        List<Object> list = new ArrayList<>(equalityGroup.length);
        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());
        testers.add(NavigableMapNavigationTester.class);
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            return snapshot().toArray(array);
          }
    
          private List<Multiset.Entry<E>> snapshot() {
            List<Multiset.Entry<E>> list = Lists.newArrayListWithExpectedSize(size());
            // not Iterables.addAll(list, this), because that'll forward back here
            Iterators.addAll(list, iterator());
            return list;
          }
    
          @Override
          public boolean remove(Object object) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Resources.java

       */
      public static List<String> readLines(URL url, Charset charset) throws IOException {
        // don't use asCharSource(url, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return readLines(
            url,
            charset,
            new LineProcessor<List<String>>() {
              final List<String> result = Lists.newArrayList();
    
              @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
Back to top