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, setIdpublic 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 ChromosomeLocationComparable.compareTo(Object)public int hashCode()
ChromosomeLocationhashCode in class ChromosomeLocationpublic boolean equals(Object object)
ChromosomeLocationtrue 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 ChromosomeLocationpublic 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.