Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for logic (0.03 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableTable.java

          @CheckForNull Comparator<? super C> columnComparator) {
        checkNotNull(cells);
        if (rowComparator != null || columnComparator != null) {
          /*
           * This sorting logic leads to a cellSet() ordering that may not be expected and that isn't
           * documented in the Javadoc. If a row Comparator is provided, cellSet() iterates across the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
      protected void expectContents(Collection<E> expected) {
        assertEqualIgnoringOrder(expected, actualContents());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /*
       * TODO(jlevy): Add factory methods taking an Enum class, instead of an
       * iterable, to specify the allowed row keys and/or column keys. Note that
       * custom serialization logic is needed to support different enum sizes during
       * serialization and deserialization.
       */
    
      /**
       * Creates an {@code ArrayTable} with the mappings in the provided table.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.Stack;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Most of the logic for {@link IteratorTester} and {@link ListIteratorTester}.
     *
     * @param <E> the type of element returned by the iterator
     * @param <I> the type of the iterator ({@link Iterator} or {@link ListIterator})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.Stack;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Most of the logic for {@link IteratorTester} and {@link ListIteratorTester}.
     *
     * @param <E> the type of element returned by the iterator
     * @param <I> the type of the iterator ({@link Iterator} or {@link ListIterator})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

      public ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) {
        return tailSetImpl(checkNotNull(fromElement), inclusive);
      }
    
      /*
       * These methods perform most headSet, subSet, and tailSet logic, besides
       * parameter validation.
       */
      abstract ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive);
    
      abstract ImmutableSortedSet<E> subSetImpl(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableBiMap.java

       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
       * bimap and its inverse in sync during serialization, the way AbstractBiMap does.
       */
      @J2ktIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Lists.java

      public static <E extends @Nullable Object> ArrayList<E> newArrayList(
          Iterable<? extends E> elements) {
        checkNotNull(elements); // for GWT
        // Let ArrayList's sizing logic work, if possible
        return (elements instanceof Collection)
            ? new ArrayList<>((Collection<? extends E>) elements)
            : newArrayList(elements.iterator());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      public ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) {
        return tailSetImpl(checkNotNull(fromElement), inclusive);
      }
    
      /*
       * These methods perform most headSet, subSet, and tailSet logic, besides
       * parameter validation.
       */
      abstract ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive);
    
      abstract ImmutableSortedSet<E> subSetImpl(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
        return data
    ```
    
    Read the new docs: [Form Models - Forbid Extra Form Fields](https://fastapi.tiangolo.com/tutorial/request-form-models/#forbid-extra-form-fields).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top