代码搜索:Collection

找到约 10,000 项符合「Collection」的源代码

代码结果 10,000
www.eeworm.com/read/332978/7142136

java printingcontainers.java

//: holding/PrintingContainers.java // Containers print themselves automatically. import java.util.*; import static net.mindview.util.Print.*; public class PrintingContainers { static Collect
www.eeworm.com/read/332978/7142244

java fill2.java

//: generics/Fill2.java // Using adapters to simulate latent typing. // {main: Fill2Test} import generics.coffee.*; import java.util.*; import net.mindview.util.*; import static net.mindview.uti
www.eeworm.com/read/332978/7142285

java generators.java

//: generics/Generators.java // A utility to use with Generators. import generics.coffee.*; import java.util.*; import net.mindview.util.*; public class Generators { public static Collec
www.eeworm.com/read/155432/7148282

5 java_jdk1.5

  “JDK1.5”(开发代号猛虎)的一个重要主题就是通过新增一些特性来简化开发,这些特性包括泛型,for-each 循环,自动装包/拆包,枚举,可变参数, 静态导入 。使用这些特性有助于我们编写更加清晰,精悍,安全的代码。   下面我们简单介绍一下这些新特性。   1.泛型(Generic)   C++通过模板技术可以指定集合的元素类型,而Java在1.5之前一直没有相对应的功 ...
www.eeworm.com/read/463449/7180767

java test.java

/* * Test.java * * Created on 2007-9-26, 23:12:59 * * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication1; import java.util.
www.eeworm.com/read/463449/7180768

java desk.java

/* * Main.java * * Created on 2007年9月12日, 下午7:16 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package javaapplication1; im
www.eeworm.com/read/462821/7195562

cpp lookup.cpp

#if !defined( __ASSOC_H ) #include #endif // __ASSOC_H #if !defined( __DICT_H ) #include #endif // __DICT_H #if !defined( __STRNG_H ) #include #endif // __STRN
www.eeworm.com/read/461713/7221777

cpp lookup.cpp

#if !defined( __ASSOC_H ) #include #endif // __ASSOC_H #if !defined( __DICT_H ) #include #endif // __DICT_H #if !defined( __STRNG_H ) #include #endif // __STRN
www.eeworm.com/read/460905/7237976

java itemhome.java

import java.util.Collection; import java.rmi.RemoteException; import javax.ejb.*; public interface ItemHome extends EJBHome { public Item create(int itemCode,String title, String rat
www.eeworm.com/read/459802/7264582

java l_visitor.java

/* Visitor访问者模式定义 作用于某个对象群中各个对象的操作. 它可以使你在不改变这些对象本身的情况下,定义作用于这些对象的新操作. 在Java中,Visitor模式实际上是分离了<mark>collection</mark>结构中的元素和对这些元素进行操作的行为. 为何使用Visitor? Java的<mark>Collection</mark>(包括Vector和Hashtable)是我们最经常使用的技术,可是Col ...