Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for generic (0.32 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
        TypeToken<?> barType = TypeToken.of(delegateField.getGenericType());
        assertThat(barType.getSubtype(SubBar.class)).isEqualTo(new SubBar<Void>().fieldTypeAsSubBar());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
        TypeToken<?> barType = TypeToken.of(delegateField.getGenericType());
        assertThat(barType.getSubtype(SubBar.class)).isEqualTo(new SubBar<Void>().fieldTypeAsSubBar());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * the two sets. If you have reason to believe one of your sets will generally be smaller than the
       * other, pass it first. Unfortunately, since this method sets the generic type of the returned
       * set based on the type of the first set passed, this could in rare cases force you to make a
       * cast, for example:
       *
       * <pre>{@code
       * Set<Object> aFewBadObjects = ...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        /**
         * Returns {@code this} up-casted to the specific {@link Segment} implementation type {@code S}.
         *
         * <p>This method exists so that the {@link Segment} code can be generic in terms of {@code S},
         * the type of the concrete implementation.
         */
        abstract S self();
    
        /** Drains the reference queues used by this segment, if any. */
        @GuardedBy("this")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // otherwise 422 (Unprocessable Entity) will be returned.
      // +optional
      optional bool blockOwnerDeletion = 7;
    }
    
    // PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients
    // to get access to a particular ObjectMeta schema without knowing the details of the version.
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    			expr = &ast.CallExpr{
    				Fun:  &ast.Ident{NamePos: (*r.Expr).Pos(), Name: "_Cgo_ptr"},
    				Args: []ast.Expr{getNewIdent(name.Mangle)},
    			}
    		case "type":
    			// Okay - might be new(T), T(x), Generic[T], etc.
    			if r.Name.Type == nil {
    				error_(r.Pos(), "expression C.%s: undefined C type '%s'", fixGo(r.Name.Go), r.Name.C)
    			}
    		case "var":
    			expr = &ast.StarExpr{Star: (*r.Expr).Pos(), X: expr}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    mc mb myminio/images
    mc event add myminio/images arn:minio:sqs::1:amqp --suffix .jpg
    mc event list myminio/images
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(partitions.hasNext());
        assertEquals(ImmutableList.of(1), partitions.next());
        assertFalse(partitions.hasNext());
      }
    
      @GwtIncompatible // fairly slow (~50s)
      public void testPartition_general() {
        new IteratorTester<List<Integer>>(
            5,
            IteratorFeature.UNMODIFIABLE,
            ImmutableList.of(asList(1, 2, 3), asList(4, 5, 6), asList(7)),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
Back to top