Package generic.stl

Class SetSTL<K>

  • Direct Known Subclasses:
    ComparableSetSTL

    public class SetSTL<K>
    extends java.lang.Object
    • Constructor Detail

      • SetSTL

        public SetSTL​(java.util.Comparator<K> comparator)
      • SetSTL

        public SetSTL​(SetSTL<K> set)
    • Method Detail

      • contains

        public boolean contains​(K key)
      • remove

        public boolean remove​(K key)
      • erase

        public void erase​(K key)
      • clear

        public void clear()
      • isEmpty

        public boolean isEmpty()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object