org.ujmp.core.collections
Class BitSetSet
java.lang.Object
org.ujmp.core.collections.BitSetSet
- All Implemented Interfaces:
- Iterable<Integer>, Collection<Integer>, Set<Integer>, SortedSet<Integer>
public class BitSetSet
- extends Object
- implements Set<Integer>, SortedSet<Integer>
BitSetSet
public BitSetSet()
BitSetSet
public BitSetSet(BitSetSet source)
add
public boolean add(Integer e)
- Specified by:
add
in interface Collection<Integer>
- Specified by:
add
in interface Set<Integer>
set
public void set(int start,
int end)
clear
public void clear(int index)
addAll
public boolean addAll(Collection<? extends Integer> c)
- Specified by:
addAll
in interface Collection<Integer>
- Specified by:
addAll
in interface Set<Integer>
addAll
public void addAll(BitSetSet bss)
clone
public BitSetSet clone()
- Overrides:
clone
in class Object
clear
public void clear()
- Specified by:
clear
in interface Collection<Integer>
- Specified by:
clear
in interface Set<Integer>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<Integer>
- Specified by:
contains
in interface Set<Integer>
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interface Collection<Integer>
- Specified by:
containsAll
in interface Set<Integer>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<Integer>
- Specified by:
isEmpty
in interface Set<Integer>
iterator
public Iterator<Integer> iterator()
- Specified by:
iterator
in interface Iterable<Integer>
- Specified by:
iterator
in interface Collection<Integer>
- Specified by:
iterator
in interface Set<Integer>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<Integer>
- Specified by:
remove
in interface Set<Integer>
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAll
in interface Collection<Integer>
- Specified by:
removeAll
in interface Set<Integer>
toString
public String toString()
- Overrides:
toString
in class Object
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll
in interface Collection<Integer>
- Specified by:
retainAll
in interface Set<Integer>
size
public int size()
- Specified by:
size
in interface Collection<Integer>
- Specified by:
size
in interface Set<Integer>
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<Integer>
- Specified by:
toArray
in interface Set<Integer>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface Collection<Integer>
- Specified by:
toArray
in interface Set<Integer>
comparator
public Comparator<? super Integer> comparator()
- Specified by:
comparator
in interface SortedSet<Integer>
first
public Integer first()
- Specified by:
first
in interface SortedSet<Integer>
headSet
public SortedSet<Integer> headSet(Integer toElement)
- Specified by:
headSet
in interface SortedSet<Integer>
last
public Integer last()
- Specified by:
last
in interface SortedSet<Integer>
subSet
public SortedSet<Integer> subSet(Integer fromElement,
Integer toElement)
- Specified by:
subSet
in interface SortedSet<Integer>
tailSet
public SortedSet<Integer> tailSet(Integer fromElement)
- Specified by:
tailSet
in interface SortedSet<Integer>
Copyright © 2010. All Rights Reserved.