Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for simplelist (0.17 sec)

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(newArrayList("c", "d", "e"), newArrayList(skip(set, 2)));
        assertEquals("[c, d, e]", skip(set, 2).toString());
      }
    
      public void testSkip_simpleList() {
        Collection<String> list = newArrayList("a", "b", "c", "d", "e");
        assertEquals(newArrayList("c", "d", "e"), newArrayList(skip(list, 2)));
        assertEquals("[c, d, e]", skip(list, 2).toString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(newArrayList("c", "d", "e"), newArrayList(skip(set, 2)));
        assertEquals("[c, d, e]", skip(set, 2).toString());
      }
    
      public void testSkip_simpleList() {
        Collection<String> list = newArrayList("a", "b", "c", "d", "e");
        assertEquals(newArrayList("c", "d", "e"), newArrayList(skip(list, 2)));
        assertEquals("[c, d, e]", skip(list, 2).toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * cannot override this binding. This is because the lookup is always short-circuited in this
     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
     * The simplest solution is to use a custom @Named here so it isn't bound under the plain key.
     * This is only necessary for default components using @Typed that want to support overriding.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    ```Python hl_lines="2  6-38  41-43"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    ## Create a `websocket`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/first-steps.md

    # First Steps
    
    The simplest FastAPI file could look like this:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

        }
        return offset;
      }
    
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        // We serialize by default to ImmutableList, the simplest thing that works.
        return new ImmutableList.SerializedForm(toArray());
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

        }
        return offset;
      }
    
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        // We serialize by default to ImmutableList, the simplest thing that works.
        return new ImmutableList.SerializedForm(toArray());
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ### In a Remote Server
    
    When you set up a remote server (a cloud server, a virtual machine, etc.) the simplest thing you can do is to use `fastapi run`, Uvicorn (or similar) manually, the same way you do when developing locally.
    
    And it will work and will be useful **during development**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    If you can use the **latest versions of Python**, use the examples for the latest version, those will have the **best and simplest syntax**, for example, "**Python 3.10+**".
    
    #### List
    
    For example, let's define a variable to be a `list` of `str`.
    
    === "Python 3.9+"
    
        Declare the variable, with the same colon (`:`) syntax.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

      //
      // A consequence of these requirements is that the delegate futures cannot be stored in
      // final fields.
      //
      // For simplicity the rest of this description will discuss Futures.catching since it is the
      // simplest instance, though very similar descriptions apply to many other classes in this file.
      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top