代码搜索:Generics
找到约 1,477 项符合「Generics」的源代码
代码结果 1,477
www.eeworm.com/read/325023/13232439
java holder1.java
//: generics/Holder1.java
class Automobile {}
public class Holder1 {
private Automobile a;
public Holder1(Automobile a) { this.a = a; }
Automobile get() { return a; }
} ///:~
www.eeworm.com/read/344239/11897070
java uselist.java
//: generics/UseList.java
// {CompileTimeError} (Won't compile)
import java.util.*;
public class UseList {
void f(List v) {}
void f(List v) {}
} ///:~
www.eeworm.com/read/344239/11897165
java holder1.java
//: generics/Holder1.java
class Automobile {}
public class Holder1 {
private Automobile a;
public Holder1(Automobile a) { this.a = a; }
Automobile get() { return a; }
} ///:~
www.eeworm.com/read/249894/12463052
cs index.cs
namespace Perst
{
using System;
#if USE_GENERICS
using System.Collections.Generic;
#else
using System.Collections;
#endif
/// Interface of object index.
/
www.eeworm.com/read/249894/12463080
cs fieldindex.cs
namespace Perst
{
using System;
#if USE_GENERICS
using System.Collections.Generic;
#else
using System.Collections;
#endif
using System.Reflection;
/// Interfa
www.eeworm.com/read/249894/12463083
cs spatialindex.cs
namespace Perst
{
using System;
#if USE_GENERICS
using System.Collections.Generic;
#endif
using System.Collections;
/// Interface of object spatial index.
///
www.eeworm.com/read/249894/12463089
cs persistentcollection.cs
using System;
#if USE_GENERICS
using System.Collections.Generic;
#endif
using System.Collections;
using Perst.Impl;
namespace Perst
{
///
/// Base class for all persistent
www.eeworm.com/read/249894/12463129
cs link.cs
namespace Perst
{
using System;
#if USE_GENERICS
using System.Collections.Generic;
#else
using System.Collections;
#endif
///
/// Common interface for all lin
www.eeworm.com/read/249894/12463131
cs patriciatrie.cs
using System;
#if USE_GENERICS
using System.Collections.Generic;
#else
using System.Collections;
#endif
namespace Perst
{
///
/// PATRICIA trie (Practical Algorithm To Re
www.eeworm.com/read/249894/12463339
cs scalableset.cs
using System;
#if USE_GENERICS
using System.Collections.Generic;
#else
using System.Collections;
#endif
namespace Perst.Impl
{
#if USE_GENERICS
class ScalableSet : PersistentCollecti