AtomicSet Methods

by Craig Graci

Message Forms

  1. <AtomicSet>.add(<int>)
  2. <AtomicSet>.add(<double>)
  3. <AtomicSet>.add(<String>)
  4. <AtomicSet>.add(<boolean>)
  5. <AtomicSet>.add(<char>)
  6. <AtomicSet>.add(<Atom>)
  7. <AtomicSet>.element(<int>) --> <Atom>
  8. <AtomicSet>.size() --> <int>
  9. <AtomicSet>.verticalPrintln()

Object Behaviors

  1. Add an <IntAtom> to the set.
  2. Add an <DoubleAtom> to the set.
  3. Add a <StringAtom> to the set.
  4. Add a <booleanAtom> to the set.
  5. Add a <charAtom> to the set.
  6. Add an <Atom> to the set.
  7. Return the <int>th element of the set.
  8. Return the number of elements in the set.
  9. Display the elements of the set "vertically".