Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


AbstractSet<E>java.util

Java 1.2collection

This abstract class is a partial
implementation of the Set interface that makes it
easy to create custom Set implementations. Since
Set defines the same methods as
Collection, you can subclass
AbstractSet exactly as you would subclass
AbstractCollection. See
AbstractCollection for details. Note, however,
that when subclassing AbstractSet, you should be
sure that your add( ) method and your constructors
do not allow duplicate elements to be added to the set. See also
AbstractList.


Figure 16-6. java.util.AbstractSet<E>

public abstract class

AbstractSet<E> extends AbstractCollection<E> implements Set<E> {
// Protected Constructors
protected

AbstractSet ( );
// Methods Implementing Set
public boolean

equals (Object

o );
public int

hashCode ( );

1.3 public boolean

removeAll (Collection<?>

c );
}


Subclasses


EnumSet, HashSet,
treeSet,
java.util.concurrent.CopyOnWriteArraySet


    / 1191