public class PhysicalLocation extends ChromosomeLocation
Modifier and Type | Class and Description |
---|---|
static class |
PhysicalLocation.Factory |
Constructor and Description |
---|
PhysicalLocation()
No-arg constructor added to satisfy javabean contract
|
Modifier and Type | Method and Description |
---|---|
int |
binFromRange(int start,
int end) |
int |
compareTo(Object object) |
static int |
computeOverlap(long starta,
long enda,
long startb,
long endb) |
int |
computeOverlap(PhysicalLocation other) |
boolean |
equals(Object object)
Returns
true if the argument is an ChromosomeLocation instance and all identifiers for this entity
equal the identifiers of the argument entity. |
Integer |
getBin() |
Long |
getNucleotide() |
Integer |
getNucleotideLength() |
String |
getStrand() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setBin(Integer bin) |
void |
setNucleotide(Long nucleotide) |
void |
setNucleotideLength(Integer nucleotideLength) |
void |
setStrand(String strand) |
String |
toString() |
getChromosome, getId, setChromosome, setId
public PhysicalLocation()
public static int computeOverlap(long starta, long enda, long startb, long endb)
public int binFromRange(int start, int end)
start
- startend
- endpublic int compareTo(Object object)
compareTo
in class ChromosomeLocation
Comparable.compareTo(Object)
public int hashCode()
ChromosomeLocation
hashCode
in class ChromosomeLocation
public boolean equals(Object object)
ChromosomeLocation
true
if the argument is an ChromosomeLocation instance and all identifiers for this entity
equal the identifiers of the argument entity. Returns false
otherwise.equals
in class ChromosomeLocation
public int computeOverlap(PhysicalLocation other)
public Integer getBin()
public void setBin(Integer bin)
public Long getNucleotide()
public void setNucleotide(Long nucleotide)
public Integer getNucleotideLength()
public void setNucleotideLength(Integer nucleotideLength)
public String getStrand()
public void setStrand(String strand)
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.