public class MappingSet extends TreeSet<Mapping> implements Serializable
Constructor and Description |
---|
MappingSet()
Parameterless constructor creates a MappingSet, that is sorted using the
Mapping.mappingOnSourceComparator.
|
MappingSet(Comparator differentComparator)
Alternative constructor allowing specification of an alternative comparator
for sorting (e.g.
|
Modifier and Type | Method and Description |
---|---|
Coordinate |
getExtent()
Returns a Coordinate representing the extent or range of this MappingSet.
|
CoordinateSet |
getSourceCoordinates()
Returns a CoordinateSet containing all of the Source Coordinates of Mappings in this MappingSet.
|
CoordinateSet |
getTargetCoordinates()
Returns a CoordinateSet containing all of the Target Coordinates of Mappings in this MappingSet.
|
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, subSet, subSet, tailSet, tailSet
equals, hashCode, removeAll
containsAll, retainAll, toArray, toArray, toString
public MappingSet()
public MappingSet(Comparator differentComparator)
differentComparator
- public Coordinate getExtent()
public CoordinateSet getSourceCoordinates()
public CoordinateSet getTargetCoordinates()
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3