Uses of Interface
org.biojava.bio.symbol.Location
- 
Packages that use Location Package Description org.biojava.bio The core classes that will be used throughout the bio packages.org.biojava.bio.alignment Classes to generate and describe sequence alignments.org.biojava.bio.dp HMM and Dynamic Programming Algorithms.org.biojava.bio.gui.sequence Graphical displays of biological sequences and associated annotations.org.biojava.bio.program.xff Event-driven parsing system for the Extensible Feature Format (XFF).org.biojava.bio.seq Classes and interfaces for defining biological sequences and informatics objects.org.biojava.bio.seq.homol The classes and interfaces for defining sequence similarity and honology.org.biojava.bio.seq.impl Standard in-memory implementations ofSequenceandFeature.org.biojava.bio.seq.io Classes and interfaces for processing and producing flat-file representations of sequences.org.biojava.bio.seq.io.agave Classes for converting between AGAVE XML and BioJava objects.org.biojava.bio.seq.io.game Event-driven parsing system for the Gene Annotation Markup Elements (GAME).org.biojava.bio.seq.projection Code for projecting Feature objects and systematically altering their properties.org.biojava.bio.symbol Representation of the Symbols that make up a sequence, and locations within them.org.biojavax.bio.seq Rich implementations of Sequences, Locations and Features. - 
- 
Uses of Location in org.biojava.bio
Fields in org.biojava.bio declared as Location Modifier and Type Field Description static LocationCardinalityConstraint. ANYThe property can have any number of values, including none.static LocationCardinalityConstraint. NONEThis cardinality contains no intengers, not even zero.static LocationCardinalityConstraint. ONEThe property should have exactly one value.static LocationCardinalityConstraint. ONE_OR_MOREThe property should have one or more values.static LocationCardinalityConstraint. ZEROThe property should have zero values.static LocationCardinalityConstraint. ZERO_OR_ONEThe property should have zero or one values.Methods in org.biojava.bio that return Location Modifier and Type Method Description LocationCollectionConstraint.AllValuesIn. getCardinalityConstraint()Get the cardinality constraint used to validate the number of property values.LocationCollectionConstraint.Contains. getCardinalityConstraint()Get the cardinality constraint used to validate the number of property values.Methods in org.biojava.bio with parameters of type Location Modifier and Type Method Description voidAnnotationType.Abstract. setConstraints(Object key, PropertyConstraint pc, Location cc)voidAnnotationType. setConstraints(Object key, PropertyConstraint con, Location card)Set the constraints associated with a property.voidAnnotationType.Abstract. setDefaultConstraints(PropertyConstraint pc, Location cc)voidAnnotationType. setDefaultConstraints(PropertyConstraint pc, Location cc)Set the constraints that will apply to all properties without an explicitly defined set of constraints.Constructors in org.biojava.bio with parameters of type Location Constructor Description AllValuesIn(PropertyConstraint pc, Location card)Create an AllValuesIn based upon a PropertyConstraint and a cardinality.Contains(PropertyConstraint pc, Location card)Create a Contains based upon a PropertyConstraint and a cardinality.Impl(PropertyConstraint defaultPC, Location defaultCC)Create a new Impl with a default property and cardinality constraint. - 
Uses of Location in org.biojava.bio.alignment
Fields in org.biojava.bio.alignment declared as Location Modifier and Type Field Description protected LocationFlexibleAlignment. alignmentRangeprotected LocationSimpleAlignmentElement. locMethods in org.biojava.bio.alignment that return Location Modifier and Type Method Description LocationAlignmentElement. getLoc()LocationSimpleAlignmentElement. getLoc()LocationAbstractULAlignment.SubULAlignment. locInAlignment(Object label)The location of an individual SymbolList relative to overall AlignmentLocationFlexibleAlignment. locInAlignment(Object label)The location of an individual SymbolList relative to overall AlignmentLocationUnequalLengthAlignment. locInAlignment(Object label)The location of an individual SymbolList relative to overall Alignmentprotected LocationFlexibleAlignment. locInSeq(Object label, Location viewLoc)Methods in org.biojava.bio.alignment with parameters of type Location Modifier and Type Method Description List<String>AbstractULAlignment. labelsInRange(Location loc)List<String>AbstractULAlignment.SubULAlignment. labelsInRange(Location loc)List<String>UnequalLengthAlignment. labelsInRange(Location loc)Returns list of all the labels that intersect that rangeprotected LocationFlexibleAlignment. locInSeq(Object label, Location viewLoc)voidAlignmentElement. setLoc(Location nLoc)voidSimpleAlignmentElement. setLoc(Location nLoc)voidEditableAlignment. shiftAtAlignmentLoc(Object label, Location loc, int offset)loc in this case is the Alignment LocationvoidFlexibleAlignment. shiftAtAlignmentLoc(Object label, Location loc, int offset)loc in this case is the Alignment LocationvoidEditableAlignment. shiftAtSequenceLoc(Object label, Location loc, int offset)loc in this case is the SymbolList LocationvoidFlexibleAlignment. shiftAtSequenceLoc(Object label, Location loc, int offset)loc in this case is the SymbolList LocationAlignmentAbstractULAlignment. subAlignment(Set<String> labels, Location loc)Retrieves a subalignment specified by the location.AlignmentAbstractULAlignment.SubULAlignment. subAlignment(Set<String> labels, Location loc)AlignmentAlignment. subAlignment(Set<String> labels, Location loc)Make a view onto this alignment.AlignmentSimpleAlignment. subAlignment(Set<String> labels, Location loc)Constructors in org.biojava.bio.alignment with parameters of type Location Constructor Description SimpleAlignmentElement(String label, SymbolList seq, Location loc)SubULAlignment(Set<String> labels, Location loc) - 
Uses of Location in org.biojava.bio.dp
Methods in org.biojava.bio.dp with parameters of type Location Modifier and Type Method Description AlignmentSimpleStatePath. subAlignment(Set labels, Location loc) - 
Uses of Location in org.biojava.bio.gui.sequence
Methods in org.biojava.bio.gui.sequence that return Location Modifier and Type Method Description static LocationGUITools. getVisibleRange(SequenceRenderContext src, Graphics2D g2)Methods in org.biojava.bio.gui.sequence with parameters of type Location Modifier and Type Method Description voidSixFrameRenderer. renderLocation(Graphics2D g, SequenceRenderContext src, Location loc)Render another "exon" in the correct translation frame. - 
Uses of Location in org.biojava.bio.program.xff
Methods in org.biojava.bio.program.xff with parameters of type Location Modifier and Type Method Description protected abstract voidLocationHandlerBase. setLocationValue(Location l)Override this method to do something useful with the location we collect. - 
Uses of Location in org.biojava.bio.seq
Fields in org.biojava.bio.seq declared as Location Modifier and Type Field Description LocationComponentFeature.Template. componentLocationLocationFeature.Template. locationMethods in org.biojava.bio.seq that return Location Modifier and Type Method Description static LocationFilterUtils. extractOverlappingLocation(FeatureFilter ff)Try to determine the minimal location which all features matching a given filter must overlap.LocationComponentFeature. getComponentLocation()Return a location which identifies a portion of the component sequence which is to be included in the assembly.LocationFeature. getLocation()The location of this feature.LocationFeatureFilter.ContainedByLocation. getLocation()LocationFeatureFilter.OverlapsLocation. getLocation()LocationFeatureFilter.ShadowContainedByLocation. getLocation()LocationFeatureFilter.ShadowOverlapsLocation. getLocation()LocationRemoteFeature.Region. getLocation()Retrieve the Location of the Region.Methods in org.biojava.bio.seq with parameters of type Location Modifier and Type Method Description static FeatureFilterFilterUtils. containedByLocation(Location loc)Construct a filter which matches features with locations wholly contained by the specifiedLocation.static FeatureFilterFilterUtils. overlapsLocation(Location loc)Construct a filter which matches features with locations contained by or overlapping the specifiedLocation.voidFeature. setLocation(Location loc)The new location for this feature.static FeatureFilterFilterUtils. shadowContainedByLocation(Location loc)Construct a filter which matches features with locations where the interval between theminandmaxpositions are contained by the specifiedLocation.static FeatureFilterFilterUtils. shadowOverlapsLocation(Location loc)Construct a filter which matches features with locations where the interval between theminandmaxpositions are contained by or overlap the specifiedLocation.Constructors in org.biojava.bio.seq with parameters of type Location Constructor Description ContainedByLocation(Location loc)Creates a filter that returns everything contained within loc.OverlapsLocation(Location loc)Creates a filter that returns everything overlapping loc.Region(Location location, String seqID, boolean isRemote)Create a new Region.ShadowContainedByLocation(Location loc)Creates a filter that returns everything contained within loc.ShadowOverlapsLocation(Location loc)Creates a filter that returns everything overlapping loc. - 
Uses of Location in org.biojava.bio.seq.homol
Methods in org.biojava.bio.seq.homol with parameters of type Location Modifier and Type Method Description AlignmentSimilarityPairFeature.EmptyPairwiseAlignment. subAlignment(Set<String> labels, Location loc) - 
Uses of Location in org.biojava.bio.seq.impl
Methods in org.biojava.bio.seq.impl that return Location Modifier and Type Method Description LocationSimpleFeature. getLocation()LocationSimpleGappedSequence.GappedContext. mapLocation(Location loc)LocationSimpleGappedSequence.GappedContext. projectLocation(Location loc)LocationSubSequence.SubProjectedFeatureContext. projectLocation(Location toTransform)LocationSimpleGappedSequence.GappedContext. revertLocation(Location oldLoc)Methods in org.biojava.bio.seq.impl with parameters of type Location Modifier and Type Method Description LocationSimpleGappedSequence.GappedContext. mapLocation(Location loc)LocationSimpleGappedSequence.GappedContext. projectLocation(Location loc)LocationSubSequence.SubProjectedFeatureContext. projectLocation(Location toTransform)voidAssembledSymbolList. putComponent(Location l, SymbolList sl)voidAssembledSymbolList. removeComponent(Location loc)LocationSimpleGappedSequence.GappedContext. revertLocation(Location oldLoc)voidSimpleFeature. setLocation(Location loc) - 
Uses of Location in org.biojava.bio.seq.io
Methods in org.biojava.bio.seq.io with parameters of type Location Modifier and Type Method Description StringBufferSeqFileFormer. formatLocation(StringBuffer sb, Location loc, StrandedFeature.Strand strand)Deprecated.formatLocationcreates a String representation of aLocation.StringBufferSwissprotFileFormer. formatLocation(StringBuffer theBuffer, Location theLocation)Deprecated.formatLocationcreates a String representation of aLocation.StringBufferSwissprotFileFormer. formatLocation(StringBuffer theBuffer, Location theLocation, StrandedFeature.Strand theStrand)Deprecated.formatLocationcreates a String representation of aLocation. - 
Uses of Location in org.biojava.bio.seq.io.agave
Methods in org.biojava.bio.seq.io.agave with parameters of type Location Modifier and Type Method Description voidAGAVEBioSeqCallbackItf. reportFeature(Location loc)Allows nesting class that manages a gene template to gain information about its extent from nested elements.voidAGAVEBioSeqHandler. reportFeature(Location loc)voidAGAVEBioSequenceHandler. reportFeature(Location loc)voidAGAVECompResultHandler. reportFeature(Location loc)voidAGAVEFeatureCallbackItf. reportFeature(Location loc)voidAGAVEFragmentOrderHandler. reportFeature(Location loc)voidAGAVEFragmentOrientationHandler. reportFeature(Location loc)voidAGAVEGeneHandler. reportFeature(Location loc)voidAGAVESeqFeatureHandler. reportFeature(Location loc) - 
Uses of Location in org.biojava.bio.seq.io.game
Methods in org.biojava.bio.seq.io.game with parameters of type Location Modifier and Type Method Description voidGAMEAnnotationHandler. reportFeature(Location loc)voidGAMEFeatureCallbackItf. reportFeature(Location loc)Allows nesting class that manages a gene template to gain information about its extent from nested elements. - 
Uses of Location in org.biojava.bio.seq.projection
Methods in org.biojava.bio.seq.projection that return Location Modifier and Type Method Description static LocationProjectionUtils. flipLocation(Location oldLoc, int translation)Flip a location.LocationTranslateFlipContext. projectLocation(Location oldLoc)static LocationProjectionUtils. revertLocation(Location oldLoc, int translation, boolean oppositeStrand)Revert a location, translating and flipping as required.LocationTranslateFlipContext. revertLocation(Location oldLoc)static LocationProjectionUtils. transformLocation(Location oldLoc, int translation, boolean oppositeStrand)Transform a location, translating and flipping as required.Methods in org.biojava.bio.seq.projection with parameters of type Location Modifier and Type Method Description static LocationProjectionUtils. flipLocation(Location oldLoc, int translation)Flip a location.LocationTranslateFlipContext. projectLocation(Location oldLoc)static LocationProjectionUtils. revertLocation(Location oldLoc, int translation, boolean oppositeStrand)Revert a location, translating and flipping as required.LocationTranslateFlipContext. revertLocation(Location oldLoc)static LocationProjectionUtils. transformLocation(Location oldLoc, int translation, boolean oppositeStrand)Transform a location, translating and flipping as required. - 
Uses of Location in org.biojava.bio.symbol
Classes in org.biojava.bio.symbol that implement Location Modifier and Type Class Description classAbstractLocationAn abstract implementation ofLocation.classAbstractLocationDecoratorAbstractLocationdecorator (wrapper).classAbstractRangeLocationBase class for simple contiguous Location implementations.classBetweenLocationBetween view onto an underlying Location instance.classCircularLocationCircular view onto an underlying Location instance.classFuzzyLocationA 'fuzzy' location a-la Embl fuzzy locations.classFuzzyPointLocationFuzzyPointLocationrepresents two types of EMBL-style partially-defined locations.classMergeLocationProduced by LocationTools as a result of union operations.classPointLocationA location representing a single point.classRangeLocationA simple implementation of Location that contains all points between getMin and getMax inclusive.Fields in org.biojava.bio.symbol declared as Location Modifier and Type Field Description static LocationLocation. emptyTheLocationwhich contains no points.static LocationLocation. fullTheLocationwhich contains all points.Methods in org.biojava.bio.symbol that return Location Modifier and Type Method Description protected abstract LocationAbstractLocationDecorator. decorate(Location loc)protected LocationBetweenLocation. decorate(Location loc)protected LocationCircularLocation. decorate(Location loc)static LocationLocationTools. flip(Location loc, int len)Flips a location relative to a length.LocationSimpleGappedSymbolList. gappedToLocation(Location l)Translates a Location from the gapped view into the underlying sequence.LocationAbstractLocation. getDecorator(Class decoratorClass)LocationAbstractLocationDecorator. getDecorator(Class decoratorClass)LocationLocation. getDecorator(Class decoratorClass)Checks the decorator chain for an instance ofdecoratorClass and return it if found.LocationGappedSymbolList. getUngappedLocation()Get a Location that contains exactly those positions that are not gaps.LocationSimpleGappedSymbolList. getUngappedLocation()protected LocationAbstractLocationDecorator. getWrapped()LocationAbstractLocation. intersection(Location loc)LocationAbstractLocationDecorator. intersection(Location l)LocationCircularLocation. intersection(Location l)LocationFuzzyPointLocation. intersection(Location loc)LocationLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.static LocationLocationTools. intersection(Location locA, Location locB)Return the intersection of two locations.LocationSimpleGappedSymbolList. locationToGapped(Location l)Translate a Location onto the gapped view, splitting blocks if necessarystatic LocationLocationTools. makeLocation(int min, int max)Return a contiguous Location from min to max.LocationAbstractLocation. newInstance(Location loc)LocationAbstractLocationDecorator. newInstance(Location loc)LocationLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.static LocationLocationTools. shadow(Location loc)Return a contiguous location running from the minimum to the maximum points of the specified location.static LocationLocationTools. subtract(Location keep, Location remove)Subtract one location from another.LocationAbstractLocationDecorator. translate(int dist)LocationFuzzyLocation. translate(int dist)LocationFuzzyPointLocation. translate(int dist)LocationLocation. translate(int dist)Create a location that is a translation of this location.LocationPointLocation. translate(int dist)LocationRangeLocation. translate(int dist)LocationAbstractLocation. union(Location loc)LocationAbstractLocationDecorator. union(Location l)LocationCircularLocation. union(Location l)LocationLocation. union(Location l)Return a Location containing all points in either ranges.static LocationLocationTools. union(Collection locs)The n-way union of a Collection of locations.static LocationLocationTools. union(Location locA, Location locB)Return the union of two locations.Methods in org.biojava.bio.symbol that return types with arguments of type Location Modifier and Type Method Description Iterator<Location>Location. blockIterator()Return an Iterator over the set of maximal contiguous sub-locations.Methods in org.biojava.bio.symbol with parameters of type Location Modifier and Type Method Description static booleanLocationTools. areEqual(Location locA, Location locB)Return whether two locations are equal.static intLocationTools. blockCount(Location loc)Return the number of contiguous blocks in a location.static booleanLocationTools. canMerge(Location locA, Location locB)Determines whether the locations are touching or not (if they could be merged in a single Location.booleanAbstractLocation. contains(Location l)booleanAbstractLocationDecorator. contains(Location l)booleanCircularLocation. contains(Location l)booleanFuzzyPointLocation. contains(Location loc)booleanLocation. contains(Location l)Checks if this location contains the other.static booleanLocationTools. contains(Location locA, Location locB)Returntrueiff all indices inlocBare also contained bylocA.static intLocationTools. coverage(Location loc)Return the number of positions which are covered by aLocationprotected abstract LocationAbstractLocationDecorator. decorate(Location loc)protected LocationBetweenLocation. decorate(Location loc)protected LocationCircularLocation. decorate(Location loc)booleanFuzzyPointLocation. equals(Location loc)static LocationLocationTools. flip(Location loc, int len)Flips a location relative to a length.LocationSimpleGappedSymbolList. gappedToLocation(Location l)Translates a Location from the gapped view into the underlying sequence.LocationAbstractLocation. intersection(Location loc)LocationAbstractLocationDecorator. intersection(Location l)LocationCircularLocation. intersection(Location l)LocationFuzzyPointLocation. intersection(Location loc)LocationLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.static LocationLocationTools. intersection(Location locA, Location locB)Return the intersection of two locations.LocationSimpleGappedSymbolList. locationToGapped(Location l)Translate a Location onto the gapped view, splitting blocks if necessarystatic MergeLocationMergeLocation. mergeLocations(Location locA, Location locB)LocationAbstractLocation. newInstance(Location loc)LocationAbstractLocationDecorator. newInstance(Location loc)LocationLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.booleanAbstractLocation. overlaps(Location l)booleanAbstractLocationDecorator. overlaps(Location l)booleanCircularLocation. overlaps(Location l)booleanFuzzyPointLocation. overlaps(Location loc)booleanLocation. overlaps(Location l)Checks if these two locations overlap, using this location's concept of overlapping.static booleanLocationTools. overlaps(Location locA, Location locB)Determines whether the locations overlap or not.static LocationLocationTools. shadow(Location loc)Return a contiguous location running from the minimum to the maximum points of the specified location.AlignmentRelabeledAlignment. subAlignment(Set<String> labels, Location loc)static LocationLocationTools. subtract(Location keep, Location remove)Subtract one location from another.LocationAbstractLocation. union(Location loc)LocationAbstractLocationDecorator. union(Location l)LocationCircularLocation. union(Location l)LocationLocation. union(Location l)Return a Location containing all points in either ranges.static LocationLocationTools. union(Location locA, Location locB)Return the union of two locations.Constructors in org.biojava.bio.symbol with parameters of type Location Constructor Description AbstractLocationDecorator(Location wrapped)Construct a new decorator wrapping the specified Location.BetweenLocation(Location wrapped)CircularLocation(Location wrapped, int length)Constructs a CircularLocation by wrapping another Location It is preferable to use LocationTools to make CircularLocationsCircularLocation(Location wrapped, int length, int fivePrimeEnd)Makes a CircularLocation where the 5' end of the Location is specified. - 
Uses of Location in org.biojavax.bio.seq
Subinterfaces of Location in org.biojavax.bio.seq Modifier and Type Interface Description interfaceRichLocationDescribes locations, and adds the concepts of circularity, fuzziness, annotations, and cross-references to other databases.Classes in org.biojavax.bio.seq that implement Location Modifier and Type Class Description classCompoundRichLocationAn implementation of RichLocation which covers multiple locations, but on the same strand of the same (optionally circular) sequence.classEmptyRichLocationAn Empty implementation of RichLocation.classMultiSourceCompoundRichLocationAn implementation of RichLocation which possibly covers multiple locations, on different strands, different circular lengths, or different sequences.classSimpleRichLocationA simple implementation of RichLocation.Methods in org.biojavax.bio.seq that return Location Modifier and Type Method Description LocationCompoundRichLocation. getDecorator(Class decoratorClass)Checks the decorator chain for an instance ofdecoratorClass and return it if found.LocationEmptyRichLocation. getDecorator(Class decoratorClass)Checks the decorator chain for an instance ofdecoratorClass and return it if found.LocationSimpleRichLocation. getDecorator(Class decoratorClass)Checks the decorator chain for an instance ofdecoratorClass and return it if found.LocationSimpleRichFeature. getLocation()The location of this feature.LocationCompoundRichLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.LocationEmptyRichLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.LocationSimpleRichLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.LocationCompoundRichLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.LocationEmptyRichLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.LocationSimpleRichLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.LocationCompoundRichLocation. translate(int dist)Create a location that is a translation of this location.LocationEmptyRichLocation. translate(int dist)Create a location that is a translation of this location.LocationMultiSourceCompoundRichLocation. translate(int dist)Create a location that is a translation of this location.LocationSimpleRichLocation. translate(int dist)Create a location that is a translation of this location.LocationCompoundRichLocation. union(Location l)Return a Location containing all points in either ranges.LocationEmptyRichLocation. union(Location l)Return a Location containing all points in either ranges.LocationSimpleRichLocation. union(Location l)Return a Location containing all points in either ranges.Methods in org.biojavax.bio.seq that return types with arguments of type Location Modifier and Type Method Description static Collection<Location>RichLocation.Tools. flatten(Collection<Location> members)Takes a set of locations and returns the set of all members.static Collection<Location>RichLocation.Tools. flatten(RichLocation location)Takes a location and returns the set of all members.static Collection<Location>RichLocation.Tools. merge(Collection<Location> members)Takes a set of locations and tries to merge all pairs where the union operation results in a simple rich location, not a compound one.Methods in org.biojavax.bio.seq with parameters of type Location Modifier and Type Method Description booleanCompoundRichLocation. contains(Location l)Checks if this location contains the other.booleanEmptyRichLocation. contains(Location l)Checks if this location contains the other.booleanSimpleRichLocation. contains(Location l)Checks if this location contains the other.static RichLocationRichLocation.Tools. enrich(Location l)Attempts to convert a plain Location into a RichLocation.LocationCompoundRichLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.LocationEmptyRichLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.LocationSimpleRichLocation. intersection(Location l)Returns a Location that contains all points common to both ranges.static int[]RichLocation.Tools. modulateCircularLocationPair(Location a, Location b, int seqLength)Takes two circular locations of given length, and shifts them left along the sequence until they sit at the earliest possible point where they still would represent the same sequence.LocationCompoundRichLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.LocationEmptyRichLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.LocationSimpleRichLocation. newInstance(Location loc)Create a new instance of Location with all of the same decorators as this instance but with the data stored inloc.booleanCompoundRichLocation. overlaps(Location l)Checks if these two locations overlap, using this location's concept of overlapping.booleanEmptyRichLocation. overlaps(Location l)Checks if these two locations overlap, using this location's concept of overlapping.booleanSimpleRichLocation. overlaps(Location l)Checks if these two locations overlap, using this location's concept of overlapping.voidSimpleRichFeature. setLocation(Location loc)The new location for this feature.LocationCompoundRichLocation. union(Location l)Return a Location containing all points in either ranges.LocationEmptyRichLocation. union(Location l)Return a Location containing all points in either ranges.LocationSimpleRichLocation. union(Location l)Return a Location containing all points in either ranges.Method parameters in org.biojavax.bio.seq with type arguments of type Location Modifier and Type Method Description static RichLocationRichLocation.Tools. construct(Collection<Location> members)Constructs a RichLocation object based on the given collection of members.static Collection<Location>RichLocation.Tools. flatten(Collection<Location> members)Takes a set of locations and returns the set of all members.static booleanRichLocation.Tools. isMultiSource(Collection<Location> members)Returns false if all the locations in the set are from the same strand of the same sequence.static Collection<Location>RichLocation.Tools. merge(Collection<Location> members)Takes a set of locations and tries to merge all pairs where the union operation results in a simple rich location, not a compound one. 
 -