- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,456 for created (0.07 sec)
-
TestStringListMultimapGenerator.java
@Override L65: public final ListMultimap<String, String> create(Object... entries) { L66: @SuppressWarnings("unchecked") L67: Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; L68: int i = 0; L69: for (Object o : entries) { L70: @SuppressWarnings("unchecked") L71: Entry<String, String> e = (Entry<String, String>) o; L72: array[i++] = e; L73: } L74: return create(array); L75: } L76: L77: protected abstract ListMultimap<String,...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 3K bytes -
TestStringSetMultimapGenerator.java
L63: @Override L64: public final SetMultimap<String, String> create(Object... entries) { L65: @SuppressWarnings("unchecked") L66: Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; L67: int i = 0; L68: for (Object o : entries) { L69: @SuppressWarnings("unchecked") L70: Entry<String, String> e = (Entry<String, String>) o; L71: array[i++] = e; L72: } L73: return create(array); L74: } L75: L76: protected abstract SetMultimap<String,...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 3K bytes -
question.md
L1:--- L2:name: Questions L3:about: See discuss.codelibs.org L4:title: 'DO NOT CREATE ME' L5:labels: '' L6:assignees: '' L7: L8:--- L9:DO NOT CREATE an issue. Please see https://discuss.codelibs.org/c/FessEN/...github.com/codelibs/fess/.github/ISSUE_TEMPLATE...Fri May 15 12:05:24 UTC 2020 183 bytes -
AbstractGraphBuilder.java
ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered(); L32: L33: Optional<Integer> expectedNodeCount = Optional.absent(); L34: L35: /** L36: * Creates a new instance with the specified edge directionality. L37: * L38: * @param directed if true, creates an instance for graphs whose edges are each directed; if L39: * false, creates an instance for graphs whose edges are each undirected. L40: */ L41: AbstractGraphBuilder(boolean directed) { L42: this.directed = directed; L43:...github.com/google/guava/guava/src/com/google/co...Mon Apr 26 17:43:39 UTC 2021 1.4K bytes -
CompactHashMapTest.java
L42: suite.addTest( L43: MapTestSuiteBuilder.using( L44: new TestStringMapGenerator() { L45: @Override L46: protected Map<String, String> create(Entry<String, String>[] entries) { L47: Map<String, String> map = CompactHashMap.create(); L48: for (Entry<String, String> entry : entries) { L49: map.put(entry.getKey(), entry.getValue()); L50: } L51: return...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 20:24:49 UTC 2024 5.3K bytes -
TestStringQueueGenerator.java
java.util.List; L22:import java.util.Queue; L23: L24:/** L25: * Create queue of strings for tests. L26: * L27: * @author Jared Levy L28: */ L29:@GwtCompatible L30:@ElementTypesAreNonnullByDefault L31:public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> { L32: @Override L33: public SampleElements<String> samples() { L34: return new Strings(); L35: } L36: L37: @Override L38: public Queue<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 1.6K bytes -
RemovalNotificationTest.java
public void testEquals() { L30: new EqualsTester() L31: .addEqualityGroup( L32: RemovalNotification.create("one", 1, RemovalCause.EXPLICIT), L33: RemovalNotification.create("one", 1, RemovalCause.REPLACED)) L34: .addEqualityGroup(RemovalNotification.create("1", 1, RemovalCause.EXPLICIT)) L35: .addEqualityGroup(RemovalNotification.create("one", 2, RemovalCause.EXPLICIT)) L36: .testEquals(); L37: } L38:}...github.com/google/guava/android/guava-tests/tes...Mon Dec 04 17:37:03 UTC 2017 1.2K bytes -
ForwardingMultisetTest.java
MultisetTestSuiteBuilder.using( L166: new TestStringMultisetGenerator() { L167: L168: @Override L169: protected Multiset<String> create(String[] elements) { L170: return new StandardImplForwardingMultiset<>( L171: LinkedHashMultiset.create(asList(elements))); L172: } L173: }) L174: .named("ForwardingMultiset[LinkedHashMultiset] with standard " + "implementations") L175:...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 11.8K bytes -
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/guava-tests/test/com/go...Wed Oct 30 16:15:19 UTC 2024 3.4K bytes -
ImmutableSetMultimapTest.java
assertEquals(7, multimap.size()); L243: } L244: L245: public void testBuilderPutAllMultimap() { L246: Multimap<String, Integer> toPut = LinkedListMultimap.create(); L247: toPut.put("foo", 1); L248: toPut.put("bar", 4); L249: toPut.put("foo", 2); L250: toPut.put("foo", 3); L251: Multimap<String, Integer> moreToPut = LinkedListMultimap.create(); L252: moreToPut.put("foo", 6); L253: moreToPut.put("bar", 5); L254: moreToPut.put("foo", 7); L255: ImmutableSetMultimap.Builder<String,...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 26.9K bytes