JLab

dataStructures
Class LinkedSet

java.lang.Object
  extended by dataStructures.LinkedCollection
      extended by dataStructures.LinkedSet
All Implemented Interfaces:
Collection, Set

public class LinkedSet
extends LinkedCollection
implements Set

คลาสที่สร้างเซตด้วยการโยงปมข้อมูล

Author:
สมชาย ประสิทธิ์จูตระกูล

Constructor Summary
LinkedSet()
           
 
Method Summary
 void add(java.lang.Object element)
          add a new element without duplication.
 
Methods inherited from class dataStructures.LinkedCollection
contains, isEmpty, remove, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dataStructures.Collection
contains, isEmpty, remove, size
 

Constructor Detail

LinkedSet

public LinkedSet()
Method Detail

add

public void add(java.lang.Object element)
Description copied from interface: Set
add a new element without duplication.

Specified by:
add in interface Collection
Specified by:
add in interface Set
Overrides:
add in class LinkedCollection

JLab