Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 2,062 for Instance (0.06 seconds)

  1. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

         * @return this Ansi instance
         */
        public Ansi cursorToColumn(final int x) {
            return appendEscapeSequence('G', Math.max(1, x));
        }
    
        /**
         * Moves the cursor up. If the parameter y is negative it moves the cursor down.
         *
         * @param y the number of lines to move up
         * @return this Ansi instance
         */
        public Ansi cursorUp(final int y) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A type-to-instance map backed by an {@link ImmutableMap}. See also {@link
     * MutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    public final class ImmutableTypeToInstanceMap<B> extends ForwardingMap<TypeToken<? extends B>, B>
        implements TypeToInstanceMap<B> {
    
      /** Returns an empty type to instance map. */
      public static <B> ImmutableTypeToInstanceMap<B> of() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator2.hasNext(), "Second instance should have no elements");
                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
        public int weigh(Object key, Object value) {
          return 1;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        @BeforeEach
        void setUp() {
            fileInfo = new FileEndOfFileInformation();
        }
    
        @Test
        @DisplayName("Test default constructor creates valid instance")
        void testDefaultConstructor() {
            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainFactory.java

    import org.apache.maven.toolchain.model.ToolchainModel;
    
    /**
     * Internal toolchain factory, to prepare toolchains instances.
     *
     * @since 2.0.9
     * @deprecated Use {@link org.apache.maven.api.services.ToolchainFactory} instead.
     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainFactory {
        /**
         * Create instance of toolchain.
         **/
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.Optional;
    
    /**
     * Instances of this class are responsible for determining whether it makes sense to "resume" a build using
     * the {@code --resume} flag.
     */
    public interface BuildResumptionAnalyzer {
        /**
         * Construct an instance of {@link BuildResumptionData} based on the outcome of the current Maven build.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Classes as dependencies { #classes-as-dependencies_1 }
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/Escapers.java

              // TODO: Fix tests not to call this directly and make it throw an error.
              return null;
            }
          };
    
      /**
       * Returns a builder for creating simple, fast escapers. A builder instance can be reused and each
       * escaper that is created will be a snapshot of the current builder state. Builders are not
       * thread safe.
       *
       * <p>The initial state of the builder is such that:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
Back to Top