org.biojava3.core.sequence.location
Class SimpleLocation

java.lang.Object
  extended by org.biojava3.core.sequence.location.template.AbstractLocation
      extended by org.biojava3.core.sequence.location.SimpleLocation
All Implemented Interfaces:
Iterable<Location>, Location, Accessioned
Direct Known Subclasses:
InsdcLocations.GroupLocation, InsdcLocations.OrderLocation, SequenceLocation

public class SimpleLocation
extends AbstractLocation

Very basic implementation of the Location interface which defines a series of simple constructors.

Author:
ayates

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biojava3.core.sequence.location.template.Location
Location.Tools
 
Field Summary
 
Fields inherited from interface org.biojava3.core.sequence.location.template.Location
EMPTY
 
Constructor Summary
SimpleLocation(int start, int end)
           
SimpleLocation(int start, int end, Strand strand)
           
SimpleLocation(int start, int end, Strand strand, Location... subLocations)
           
SimpleLocation(Point start, Point end)
           
SimpleLocation(Point start, Point end, Strand strand)
           
SimpleLocation(Point start, Point end, Strand strand, AccessionID accession)
           
SimpleLocation(Point start, Point end, Strand strand, boolean betweenCompounds, AccessionID accession)
           
SimpleLocation(Point start, Point end, Strand strand, boolean circular, boolean betweenBases)
           
SimpleLocation(Point start, Point end, Strand strand, boolean circular, boolean betweenBases, List<Location> subLocations)
           
SimpleLocation(Point start, Point end, Strand strand, boolean circular, List<Location> subLocations)
           
SimpleLocation(Point start, Point end, Strand strand, boolean circular, Location... subLocations)
           
SimpleLocation(Point start, Point end, Strand strand, Location... subLocations)
           
 
Method Summary
 
Methods inherited from class org.biojava3.core.sequence.location.template.AbstractLocation
assertLocation, canComplement, equals, getAccession, getEnd, getLength, getRelevantSubLocations, getRelevantSubSequence, getStart, getStrand, getSubLocations, getSubSequence, hashCode, isBetweenCompounds, isCircular, isComplex, iterator, reverseSequence, setAccession, setBetweenCompounds, setCircular, setEnd, setStart, setStrand, setSubLocations, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleLocation

public SimpleLocation(int start,
                      int end)

SimpleLocation

public SimpleLocation(Point start,
                      Point end)

SimpleLocation

public SimpleLocation(int start,
                      int end,
                      Strand strand)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      AccessionID accession)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      boolean betweenCompounds,
                      AccessionID accession)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      boolean circular,
                      boolean betweenBases)

SimpleLocation

public SimpleLocation(int start,
                      int end,
                      Strand strand,
                      Location... subLocations)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      Location... subLocations)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      boolean circular,
                      Location... subLocations)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      boolean circular,
                      List<Location> subLocations)

SimpleLocation

public SimpleLocation(Point start,
                      Point end,
                      Strand strand,
                      boolean circular,
                      boolean betweenBases,
                      List<Location> subLocations)