代码搜索:Collection
找到约 10,000 项符合「Collection」的源代码
代码结果 10,000
www.eeworm.com/read/169058/9883423
java containermethoddifferences.java
//: net/mindview/util/ContainerMethodDifferences.java
package net.mindview.util;
import java.lang.reflect.*;
import java.util.*;
public class ContainerMethodDifferences {
static Set m
www.eeworm.com/read/169058/9883711
java foreachcollections.java
//: holding/ForEachCollections.java
// All collections work with foreach.
import java.util.*;
public class ForEachCollections {
public static void main(String[] args) {
Collection
www.eeworm.com/read/169058/9883726
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/169058/9883911
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/169058/9883998
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/168279/9925201
cls sysurugs.cls
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
www.eeworm.com/read/363449/9951097
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/362232/10011591
txt java map.txt
映射是一种特别的集。它是一种对(pair)集,每个对表示一个元素到另一元素的单向映射。一些映射示例有:
u IP 地址到域名(DNS)的映射
u 关键字到数据库记录的映射
u 字典(词到含义的映射)
u 2 进制到 10 进制转换的映射
就像集一样,映射背后的思想比 Java 编程语言早的多,甚至比计算机科学还早 ...
www.eeworm.com/read/362232/10011595
txt 集合类.txt
Java中的容器,接口都是由一些接口,抽象类及它们的实现类所组成。而它们全部封装在java.util
包中。
1:<mark>Collection</mark>接口。
大多数的集合都实现了此接口,它基本方法是add(没有get()方法,实现类中可能有如Arrylist),添加一对象。添加成功则返回true ,否则返回false。这是与Map不同的地方。还有一些常用的方法如iter ...