Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,176 for asdict (0.07 sec)

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

          return ImmutableSet.copyOf(elements).asList();
        }
      }
    
      public static class ImmutableSortedSetAsListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          Comparator<String> comparator = createExplicitComparator(elements);
          ImmutableSet<String> set = ImmutableSortedSet.copyOf(comparator, asList(elements));
          return set.asList();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayTableColumnTest.java

      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return ArrayTable.create(asList("one", "two", "three", "four"), asList('a', 'b', 'c'));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Table<Character, String, Integer> makeTable() {
        return ArrayTable.create(asList('a', 'b', 'c'), asList("one", "two", "three", "four"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LegacyComparable.java

      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = asList(X, Y, Z);
      static final Iterable<LegacyComparable> VALUES_BACKWARD = asList(Z, Y, X);
    
      private final String value;
    
      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tests/test_application.py

                                "schema": IsDict(
                                    {
                                        "anyOf": [{"type": "string"}, {"type": "null"}],
                                        "title": "Item Id",
                                    }
                                )
                                # TODO: remove when deprecating Pydantic v1
                                | IsDict({"title": "Item Id", "type": "string"}),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.replaceValues("foo", asList(2, 4)) instanceof RandomAccess);
        assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess);
      }
    
      /** Test throwing ConcurrentModificationException when a sublist's ancestor's delegate changes. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

    /**
     * @author koichik
     *
     */
    public class MultiIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final List<String> list1 = asList("Foo", "Bar");
            final List<String> list2 = asList("Baz");
    
            @SuppressWarnings("unchecked")
            final Iterator<String> it = new MultiIterator<String>(list1.iterator(), list2.iterator());
    
            assertThat(it.hasNext(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        List<Character> none = Arrays.<Character>asList();
        assertThat(Chars.toArray(none)).isEqualTo(EMPTY);
    
        List<Character> one = Arrays.asList((char) 1);
        assertThat(Chars.toArray(one)).isEqualTo(ARRAY1);
    
        char[] array = {(char) 0, (char) 1, 'A'};
    
        List<Character> three = Arrays.asList((char) 0, (char) 1, 'A');
        assertThat(Chars.toArray(three)).isEqualTo(array);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top