Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,562 for Interface (0.04 sec)

  1. android/guava/src/com/google/common/cache/LongAddable.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Abstract interface for objects that can concurrently add longs.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    interface LongAddable {
      void increment();
    
      void add(long x);
    
      long sum();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 885 bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Supplier.java

     * this could be a factory, generator, builder, closure, or something else entirely. No guarantees
     * are implied by this interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
     * <p>As this interface extends {@code java.util.function.Supplier}, an instance of this type can be
     * used as a {@code java.util.function.Supplier} directly. To use a {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  @Override
                  public Sub apply(Sub sub) {
                    return new ForwardingSub(sub);
                  }
                });
      }
    
      interface Base {
        CharSequence getId();
      }
    
      interface Sub extends Base {
        @Override
        String getId();
      }
    
      private static class ForwardingSub implements Sub {
        private final Sub delegate;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface ProjectScope extends ExtensibleEnum {
    
        /**
         * Main scope.
         */
        ProjectScope MAIN = projectScope("main");
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.interval;
    
    /**
     * The {@code IntervalController} interface defines methods for controlling
     * the delay intervals in a web crawler. It includes constants representing
     * different types of processing states and a method to introduce a delay
     * based on the type of processing.
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

    import jcifs.internal.fscc.FileSystemInformation;
    
    /**
     * Test suite for AllocInfo interface
     */
    class AllocInfoTest {
    
        @Mock
        private AllocInfo mockAllocInfo;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test implementation class for AllocInfo interface
         */
        static class TestAllocInfo implements AllocInfo {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("SmbSession Interface Contract Tests")
    class SmbSessionTest {
    
        @Nested
        @DisplayName("AutoCloseable Contract Tests")
        class AutoCloseableContractTest {
    
            @Test
            @DisplayName("Should implement AutoCloseable interface")
            void shouldImplementAutoCloseable() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. tests/scan_test.go

    	}
    
    	type ID uint64
    	var id ID
    	DB.Raw("select id from users where id = ?", user2.ID).Scan(&id)
    	if uint(id) != user2.ID {
    		t.Errorf("Failed to scan to customized data type")
    	}
    
    	var resInt interface{}
    	resInt = &User{}
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Find(&resInt).Error; err != nil {
    		t.Fatalf("Failed to query with pointer of value, got error %v", err)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. callbacks/delete.go

    	"gorm.io/gorm/utils"
    )
    
    func BeforeDelete(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && db.Statement.Schema.BeforeDelete {
    		callMethod(db, func(value interface{}, tx *gorm.DB) bool {
    			if i, ok := value.(BeforeDeleteInterface); ok {
    				db.AddError(i.BeforeDelete(tx))
    				return true
    			}
    
    			return false
    		})
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Function.java

     *
     * <p>As this interface extends {@code java.util.function.Function}, an instance of this type can be
     * used as a {@code java.util.function.Function} directly. To use a {@code
     * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
     * needed, use {@code function::apply}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top