代码搜索:Generics
找到约 1,477 项符合「Generics」的源代码
代码结果 1,477
www.eeworm.com/read/344239/11897074
java genericarraywithtypetoken.java
//: generics/GenericArrayWithTypeToken.java
import java.lang.reflect.*;
public class GenericArrayWithTypeToken {
private T[] array;
@SuppressWarnings("unchecked")
public GenericArrayWi
www.eeworm.com/read/373635/9445359
namespace
useDynLib(arules)
importFrom("stats", "predict") ## otherwise predict in stats does not work
importFrom("Matrix", "summary", "image") ## we need the generics
importFrom("Matrix", "t")
export(
www.eeworm.com/read/423047/10590658
pas customerclasses.pas
unit CustomerClasses;
interface
uses
Classes, Generics.Collections, DB;
{$M+}
type
TCustomerKey = class
private
FCustNo: Double;
FCompany: string;
procedure SetComp
www.eeworm.com/read/442654/7648309
dpr projfilteredlist.dpr
program ProjFilteredList;
{$APPTYPE CONSOLE}
uses
SysUtils,
Generics.Collections;
type
TFilterFunction = reference to function(Item : T) : boolean;
TFilteredList = class(TLi
www.eeworm.com/read/249894/12463134
cs genericindex.cs
namespace Perst
{
using System;
#if USE_GENERICS
using System.Collections.Generic;
#endif
using System.Collections;
public enum IterationOrder
{
AscentOrder,
www.eeworm.com/read/249894/12463163
cs storage.cs
namespace Perst
{
using System;
using System.Collections;
#if USE_GENERICS
using System.Collections.Generic;
#endif
public enum TransactionMode
{
///
www.eeworm.com/read/476331/1372751
cs documentmanager.cs
using System;
using System.Collections.Generic;
namespace Wrox.ProCSharp.Generics
{
public class DocumentManager : IDocumentManager
where TDocument: Document
www.eeworm.com/read/177773/5320070
cs form1.designer.cs
namespace Generics
{
partial class Form1
{
///
/// 必需的设计器变量。
///
private System.ComponentModel.IContainer components = null;
www.eeworm.com/read/373369/9461110
cpp dogsandrobots.cpp
//: generics/DogsAndRobots.cpp
class Dog {
public:
void speak() {}
void sit() {}
void reproduce() {}
};
class Robot {
public:
void speak() {}
void sit() {}
void oilChange()
www.eeworm.com/read/373369/9461181
java genericsandcovariance.java
//: generics/GenericsAndCovariance.java
import java.util.*;
public class GenericsAndCovariance {
public static void main(String[] args) {
// Wildcards allow covariance:
List