Package generic.stl
Class MultiSetSTL<K>
- java.lang.Object
-
- generic.stl.MultiSetSTL<K>
-
- Direct Known Subclasses:
ComparableMultiSetSTL
public class MultiSetSTL<K> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MultiSetSTL(java.util.Comparator<K> comparator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IteratorSTL<K>
begin()
boolean
contains(K key)
IteratorSTL<K>
end()
void
erase(IteratorSTL<K> position)
IteratorSTL<K>
insert(IteratorSTL<K> low, K key)
void
insert(K key)
IteratorSTL<K>
lower_bound(K key)
static void
main(java.lang.String[] args)
IteratorSTL<K>
rBegin()
boolean
remove(K key)
IteratorSTL<K>
rEnd()
IteratorSTL<K>
upper_bound(K key)
-
-
-
Constructor Detail
-
MultiSetSTL
public MultiSetSTL(java.util.Comparator<K> comparator)
-
-
Method Detail
-
insert
public void insert(K key)
-
contains
public boolean contains(K key)
-
remove
public boolean remove(K key)
-
begin
public IteratorSTL<K> begin()
-
end
public IteratorSTL<K> end()
-
rBegin
public IteratorSTL<K> rBegin()
-
rEnd
public IteratorSTL<K> rEnd()
-
lower_bound
public IteratorSTL<K> lower_bound(K key)
-
upper_bound
public IteratorSTL<K> upper_bound(K key)
-
main
public static void main(java.lang.String[] args)
-
insert
public IteratorSTL<K> insert(IteratorSTL<K> low, K key)
-
erase
public void erase(IteratorSTL<K> position)
-
-