Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,434 for created (0.04 sec)

  1. AbstractTableTest.java

    assertThrows(NullPointerException.class, () -> table.put("bar", 1, nullableCellValue(null))); L100: } L101: } L102: L103: public void testPutAllTable() { L104: table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); L105: Table<String, Integer, @NonNull C> other = HashBasedTable.create(); L106: other.put("foo", 1, cellValue('d')); L107: other.put("bar", 2, cellValue('e')); L108: other.put("cat", 2, cellValue('f')); L109: table.putAll(other); L110: assertEquals((Character)...
    github.com/google/guava/guava-tests/test/com/go...
    Tue Oct 15 17:36:06 UTC 2024
      5.8K bytes
  2. FilteredMultimapTest.java

    apply(Entry<String, Integer> entry) { L40: return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue()); L41: } L42: }; L43: L44: protected Multimap<String, Integer> create() { L45: Multimap<String, Integer> unfiltered = HashMultimap.create(); L46: unfiltered.put("foo", 55556); L47: unfiltered.put("badkey", 1); L48: return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE); L49: } L50: L51: private static final Predicate<String> KEY_PREDICATE...
    github.com/google/guava/android/guava-tests/tes...
    Wed Oct 30 16:15:19 UTC 2024
      3.4K bytes
  3. ImmutableListMultimapTest.java

    assertEquals(7, multimap.size()); L198: } L199: L200: public void testBuilderPutAllMultimap() { L201: Multimap<String, Integer> toPut = LinkedListMultimap.create(); L202: toPut.put("foo", 1); L203: toPut.put("bar", 4); L204: toPut.put("foo", 2); L205: toPut.put("foo", 3); L206: Multimap<String, Integer> moreToPut = LinkedListMultimap.create(); L207: moreToPut.put("foo", 6); L208: moreToPut.put("bar", 5); L209: moreToPut.put("foo", 7); L210: ImmutableListMultimap.Builder<String,...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Oct 30 16:15:19 UTC 2024
      25.4K bytes
  4. DerivedCollectionGenerators.java

    this.mapGenerator = mapGenerator; L53: } L54: L55: @Override L56: public SampleElements<Entry<K, V>> samples() { L57: return mapGenerator.samples(); L58: } L59: L60: @Override L61: public Set<Entry<K, V>> create(Object... elements) { L62: return mapGenerator.create(elements).entrySet(); L63: } L64: L65: @Override L66: public Entry<K, V>[] createArray(int length) { L67: return mapGenerator.createArray(length); L68: } L69: L70: @Override L71: public Iterable<Entry<K,...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      18.2K 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/android/guava-testlib/s...
    Wed Feb 21 16:49:06 UTC 2024
      2.1K bytes
  6. 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
  7. 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
  8. MultimapsCollectionTest.java

    abstract static class TestEntriesListGenerator extends TestEntriesGenerator L216: implements TestListGenerator<Entry<String, Integer>> { L217: @Override L218: public List<Entry<String, Integer>> create(Object... elements) { L219: return (List<Entry<String, Integer>>) super.create(elements); L220: } L221: } L222: L223: public static Test suite() { L224: TestSuite suite = new TestSuite(); L225: L226: suite.addTest(transformSuite()); L227: suite.addTest(filterSuite()); L228:...
    github.com/google/guava/android/guava-tests/tes...
    Wed Oct 30 16:15:19 UTC 2024
      28.7K bytes
  9. BsWebConfigCQ.java

    createdBy, ConditionOptionCall<TermQueryBuilder> opLambda) { L786: TermQueryBuilder builder = regTermQ("createdBy", createdBy); L787: if (opLambda != null) { L788: opLambda.callback(builder); L789: } L790: } L791: L792: public void setCreatedBy_NotEqual(String createdBy) { L793: setCreatedBy_NotTerm(createdBy, null); L794: } L795: L796: public void setCreatedBy_NotTerm(String createdBy) { L797: setCreatedBy_NotTerm(createdBy, null); L798:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      172.1K 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