Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,456 for created (0.04 sec)

  1. BloomFilterTest.java

    L360: new EqualsTester() L361: .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.01)) L362: .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.02)) L363: .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.01)) L364: .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.02)) L365: .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.01)) L366: .addEqualit...
    github.com/google/guava/guava-tests/test/com/go...
    Mon Oct 21 14:28:19 UTC 2024
      21.2K bytes
  2. ArrayListMultimapTest.java

    Multimap<String, Integer> original = HashMultimap.create(); L153: ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); L154: assertEquals(3, multimap.expectedValuesPerKey); L155: } L156: L157: public void testCreateFromArrayListMultimap() { L158: ArrayListMultimap<String, Integer> original = ArrayListMultimap.create(15, 20); L159: ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); L160: assertEquals(20, multimap.expectedValuesPerKey);...
    github.com/google/guava/guava-tests/test/com/go...
    Tue Oct 15 17:36:06 UTC 2024
      6.5K bytes
  3. TestStringSetGenerator.java

    java.util.List; L22:import java.util.Set; L23: L24:/** L25: * Create string sets for collection tests. L26: * L27: * @author Kevin Bourrillion L28: */ L29:@GwtCompatible L30:@ElementTypesAreNonnullByDefault L31:public abstract class TestStringSetGenerator implements TestSetGenerator<String> { L32: @Override L33: public SampleElements<String> samples() { L34: return new Strings(); L35: } L36: L37: @Override L38: public Set<String> create(Object... elements) { L39: String[] array = new String[elements.length];...
    github.com/google/guava/android/guava-testlib/s...
    Wed Feb 21 16:49:06 UTC 2024
      2.1K bytes
  4. TestIntegerSetGenerator.java

    java.util.List; L22:import java.util.Set; L23: L24:/** L25: * Create integer sets for collection tests. L26: * L27: * @author Gregory Kick L28: */ L29:@GwtCompatible L30:@ElementTypesAreNonnullByDefault L31:public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { L32: @Override L33: public SampleElements<Integer> samples() { L34: return new Ints(); L35: } L36: L37: @Override L38: public Set<Integer> create(Object... elements) { L39: Integer[] array = new Integer[elements.length];...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Feb 21 16:49:06 UTC 2024
      2.1K bytes
  5. TestStringSetGenerator.java

    java.util.List; L22:import java.util.Set; L23: L24:/** L25: * Create string sets for collection tests. L26: * L27: * @author Kevin Bourrillion L28: */ L29:@GwtCompatible L30:@ElementTypesAreNonnullByDefault L31:public abstract class TestStringSetGenerator implements TestSetGenerator<String> { L32: @Override L33: public SampleElements<String> samples() { L34: return new Strings(); L35: } L36: L37: @Override L38: public Set<String> create(Object... elements) { L39: String[] array = new String[elements.length];...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Feb 21 16:49:06 UTC 2024
      2.1K bytes
  6. SynchronizedNavigableMapTest.java

    testLastEntry() { L356: create().lastEntry(); L357: } L358: L359: public void testLastKey() { L360: NavigableMap<String, Integer> map = create(); L361: map.put("a", 1); L362: map.lastKey(); L363: } L364: L365: public void testLowerEntry() { L366: create().lowerEntry("a"); L367: } L368: L369: public void testLowerKey() { L370: create().lowerKey("a"); L371: } L372: L373: public void testNavigableKeySet() { L374: NavigableMap<String, Integer> map = create(); L375: NavigableSet<String>...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Jul 24 22:09:38 UTC 2024
      12.2K bytes
  7. RegularImmutableMap.java

    index L78: private final transient int mask; L79: L80: static <K, V> ImmutableMap<K, V> fromEntries(Entry<K, V>... entries) { L81: return fromEntryArray(entries.length, entries, /* throwIfDuplicateKeys= */ true); L82: } L83: L84: /** L85: * Creates an ImmutableMap from the first n entries in entryArray. This implementation may replace L86: * the entries in entryArray with its own entry objects (though they will have the same key/value L87: * contents), and may take ownership of entryArray....
    github.com/google/guava/guava/src/com/google/co...
    Tue May 28 18:11:09 UTC 2024
      16.2K bytes
  8. MultimapEqualsTester.java

    L46: .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) L47: .testEquals(); L48: } L49: L50: public void testEqualsFalse() { L51: List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); L52: targetEntries.add(mapEntry(k0(), v3())); L53: new EqualsTester() L54: .addEqualityGroup(multimap()) L55: .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray())) L56: .testEquals(); L57: } L58:...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      3.5K bytes
  9. MultisetsCollectionTest.java

    private static TestStringMultisetGenerator unionGenerator() { L156: return new TestStringMultisetGenerator() { L157: @Override L158: protected Multiset<String> create(String[] elements) { L159: Multiset<String> multiset1 = LinkedHashMultiset.create(); L160: Multiset<String> multiset2 = LinkedHashMultiset.create(); L161: for (int i = 0; i < elements.length; i++) { L162: String element = elements[i]; L163: if (multiset1.contains(element) || multiset2.contains(element))...
    github.com/google/guava/android/guava-tests/tes...
    Wed Oct 30 16:15:19 UTC 2024
      9.6K bytes
  10. UnsignedInts.java

    flip(b)); L72: } L73: L74: /** L75: * Returns the value of the given {@code int} as a {@code long}, when treated as unsigned. L76: * L77: * <p><b>Java 8+ users:</b> use {@link Integer#toUnsignedLong(int)} instead. L78: */ L79: public static long toLong(int value) { L80: return value & INT_MASK; L81: } L82: L83: /** L84: * Returns the {@code int} value that, when treated as unsigned, is equal to {@code value}, if L85: * possible. L86: * L87: * @param value a value between 0...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 21:17:54 UTC 2024
      13.7K bytes
Back to top