public class MergingSet extends AbstractSet
Constructor and Description |
---|
MergingSet() |
MergingSet(Set sets) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o) |
void |
addSet(Set set) |
boolean |
contains(Object o) |
Set |
getModifiable() |
Iterator |
iterator() |
static MergingSet |
merge(Set first,
Set seccond) |
static MergingSet |
modifiableMerge() |
static MergingSet |
modifiableMerge(Set original) |
boolean |
remove(Object o) |
boolean |
removeSet(Set set) |
int |
size() |
equals, hashCode, removeAll
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toString
public MergingSet()
public MergingSet(Set sets)
public static MergingSet merge(Set first, Set seccond)
public static MergingSet modifiableMerge()
public static MergingSet modifiableMerge(Set original)
public Set getModifiable()
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
contains
in class AbstractCollection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
public boolean add(Object o)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
remove
in class AbstractCollection
Copyright © 2014 BioJava. All rights reserved.