- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 1,434 for created (0.05 sec)
-
EnumHashBiMapTest.java
it's an EnumHashBiMap. */ L156: Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class); L157: bimap = EnumHashBiMap.create(emptyBimap); L158: assertTrue(bimap.isEmpty()); L159: L160: /* Map can be empty if it's an EnumBiMap. */ L161: Map<Currency, Country> emptyBimap2 = EnumBiMap.create(Currency.class, Country.class); L162: EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2); L163: assertTrue(bimap2.isEmpty()); L164: } L165: L166: public...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 8.2K bytes -
TestStringSortedMapGenerator.java
String>> insertionOrder) { L58: return orderEntriesByKey(insertionOrder); L59: } L60: L61: @Override L62: protected abstract SortedMap<String, String> create(Entry<String, String>[] entries); L63: L64: @Override L65: public SortedMap<String, String> create(Object... entries) { L66: return (SortedMap<String, String>) super.create(entries); L67: } L68:}...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 2K bytes -
TestStringSortedMapGenerator.java
String>> insertionOrder) { L58: return orderEntriesByKey(insertionOrder); L59: } L60: L61: @Override L62: protected abstract SortedMap<String, String> create(Entry<String, String>[] entries); L63: L64: @Override L65: public SortedMap<String, String> create(Object... entries) { L66: return (SortedMap<String, String>) super.create(entries); L67: } L68:}...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 2K bytes -
FileOperatorTest.kt
operator.read(4, buffer, 19) L106: operator.write(80, buffer, buffer.size) L107: assertThat(snapshot()).isEqualTo( L108: ( L109: "" + L110: "god creates dinosaurs. " + L111: "god destroys dinosaurs. " + L112: "god creates man. " + L113: "man destroys god. " + L114: "man creates dinosaurs. " L115: ).encodeUtf8(), L116: ) L117: } L118: L119: @Test L120: fun multipleOperatorsShareOneFile() { L121: val operatorA = L122: FileOperator(...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 5.8K bytes -
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 -
ImmutableMultisetTest.java
testCopyOf_multiset_empty() { L266: Multiset<String> c = HashMultiset.create(); L267: Multiset<String> multiset = ImmutableMultiset.copyOf(c); L268: assertTrue(multiset.isEmpty()); L269: } L270: L271: public void testCopyOf_multiset_oneElement() { L272: Multiset<String> c = HashMultiset.create(asList("a")); L273: Multiset<String> multiset = ImmutableMultiset.copyOf(c); L274: assertEquals(HashMultiset.create(asList("a")), multiset); L275: } L276: L277: public void testCopyOf_multiset_general()...github.com/google/guava/guava-tests/test/com/go...Wed Oct 30 16:15:19 UTC 2024 24.9K bytes -
MinMaxPriorityQueueTest.java
est.class); L73: suite.addTest( L74: QueueTestSuiteBuilder.using( L75: new TestStringQueueGenerator() { L76: @Override L77: protected Queue<String> create(String[] elements) { L78: return MinMaxPriorityQueue.create(asList(elements)); L79: } L80: }) L81: .named("MinMaxPriorityQueue") L82: .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE) L83: ...github.com/google/guava/guava-tests/test/com/go...Wed Oct 30 16:15:19 UTC 2024 35.9K bytes -
SetGenerators.java
AbstractContiguousSetGenerator { L377: @Override L378: protected SortedSet<Integer> create(Integer[] elements) { L379: SortedSet<Integer> set = nullCheckedTreeSet(elements); L380: if (set.isEmpty()) { L381: /* L382: * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be L383: * greater than tooHigh. L384: */ L385: return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1); L386: } L387:...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 15.6K bytes -
classificationDeploymentMap.dfprop
map:{}) L3:# L4:# The relation between column and classification. L5:# L6:# This property uses classification names of classificationDefinitionMap. L7:# The table name '$$ALL$$' means all tables are target. L8:# The table names and column names are treated as case insensitive. L9:# L10:# You don't need specify here about table classifications. L11:# Because table classifications are auto-deployed by relation information. L12:# L13:# Specification: L14:# map: { L15:# [table-name or $$ALL$$] = map:{...github.com/codelibs/fess/dbflute_fess/dfprop/cl...Sat Jul 04 22:46:31 UTC 2015 795 bytes -
AtomicLongMapTest.java
ongMap.class); L48: tester.testAllPublicStaticMethods(AtomicLongMap.class); L49: AtomicLongMap<Object> map = AtomicLongMap.create(); L50: tester.testAllPublicInstanceMethods(map); L51: } L52: L53: public void testCreate_map() { L54: Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L); L55: AtomicLongMap<String> map = AtomicLongMap.create(in); L56: assertFalse(map.isEmpty()); L57: assertEquals(3, map.size()); L58: assertTrue(map.containsKey("1")); L59: a...github.com/google/guava/android/guava-tests/tes...Tue Feb 13 14:28:25 UTC 2024 17.4K bytes