Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,396 for create (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3()))));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllIntoEmpty() {
        Multimap<K, V> target = getSubjectGenerator().create();
        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        Multiset<String> c = HashMultiset.create();
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCopyOf_multiset_oneElement() {
        Multiset<String> c = HashMultiset.create(asList("a"));
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<Integer> create(Integer[] elements) {
          SortedSet<Integer> set = nullCheckedTreeSet(elements);
          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    created = true;
                }
                return created;
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to create index. index: {}", index, e);
                }
                throw new SuggesterException("Failed to create index.", e);
            }
        }
    
        public void createNextIndex() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        new EqualsTester()
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.01))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        suite.addTest(
            SortedMultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
                      @Override
                      protected Multiset<String> create(String[] elements) {
                        return TreeMultiset.create(asList(elements));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      }
    
      public Test testsForCheckedNavigableSet() {
        return SortedSetTestSuiteBuilder.using(
                new TestStringSortedSetGenerator() {
                  @Override
                  public NavigableSet<String> create(String[] elements) {
                    NavigableSet<String> innerSet = new TreeSet<>();
                    Collections.addAll(innerSet, elements);
                    return Collections.checkedNavigableSet(innerSet, String.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

        }
    
        @Override
        public List<Byte> create(Object... elements) {
          Byte[] array = new Byte[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Byte) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        }
    
        @Override
        public List<Long> create(Object... elements) {
          Long[] array = new Long[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Long) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top