代码搜索:Collection
找到约 10,000 项符合「Collection」的源代码
代码结果 10,000
www.eeworm.com/read/118483/6098920
java~1~ ordersejb.java~1~
package com.bharat.ejbql;
import javax.ejb.*;
import java.util.*;
public interface OrdersEJB extends javax.ejb.EJBLocalObject {
public java.lang.Integer getOrderid();
public void setCustomerid(j
www.eeworm.com/read/118483/6098922
java customersejbremotehome.java
package com.bharat.ejbql;
import javax.ejb.*;
import java.util.*;
import java.rmi.*;
public interface CustomersEJBRemoteHome extends javax.ejb.EJBHome {
public CustomersEJBRemote create(java.lang.
www.eeworm.com/read/116971/6112115
java collectionclassifier2.java
// Working collection classifier - Page 130
import java.util.*;
public class CollectionClassifier2 {
public static String classify(Collection c) {
return (c instanceof Set ? "Set"
www.eeworm.com/read/116971/6112117
java collectionclassifier.java
// Broken - incorrect use of overloading! - Page 128
import java.util.*;
public class CollectionClassifier {
public static String classify(Set s) {
return "Set";
}
publ
www.eeworm.com/read/116971/6112146
java instrumentedhashset.java
// Broken - Inappropriate use of inheritance! - Page 71
import java.util.*;
public class InstrumentedHashSet extends HashSet {
// The number of attempted element insertions
private int
www.eeworm.com/read/116971/6112147
java instrumentedset.java
// Wrapper class - uses composition in place of inheritance - page 74
import java.util.*;
public class InstrumentedSet implements Set {
private final Set s;
private int addCount = 0;
www.eeworm.com/read/116649/6112882
java facade.java
package bookstoreejb;
import javax.ejb.*;
import java.util.*;
import java.rmi.*;
public interface facade extends javax.ejb.EJBObject {
public Collection getAllBook() throws RemoteException;
publ
www.eeworm.com/read/116649/6112883
java facadebean.java
package bookstoreejb;
import javax.jms.*;
import javax.ejb.*;
import java.util.*;
import javax.naming.*;
import java.util.Properties;
import javax.rmi.PortableRemoteObject;
public class f
www.eeworm.com/read/113186/6134221
java abstractattributes.java
/*
* Copyright 2002-2004 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
www.eeworm.com/read/113176/6135723
package-list
net.sf.hibernate
net.sf.hibernate.cache
net.sf.hibernate.cfg
net.sf.hibernate.collection
net.sf.hibernate.connection
net.sf.hibernate.dialect
net.sf.hibernate.engine
net.sf.hibernate.exception