|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.Vector gov.lbl.genome.common.features.ChromSegments
public class ChromSegments
Title: ChromSegments
Description: Add some segment functionality
Copyright: Copyright (c) 2002 Ernst Orlando Lawrence Berkeley National Laboratory
Company: LBNL
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
ChromSegments()
ChromSegments |
|
ChromSegments(int size)
ChromSegments |
Method Summary | |
---|---|
void |
Add_ChromSegment(ChromSegment reg)
Add ChromSegment |
void |
Add_ChromSegment(ChromSegment reg,
long start,
long end)
Add ChromSegment |
int |
Count_Overlapped(ChromSegments other)
|
void |
Decrement_All(int n)
shift all segments |
ChromSegments |
Difference(ChromSegments other)
return Difference of two segment collections |
ChromSegment |
Get_ChromSegment(int n)
Get ChromSegment |
void |
Increment_All(int n)
shift all segments |
ChromSegments |
MergeWith(ChromSegments other)
return new collection, combined from 2 collections |
ChromSegments |
Overlap(ChromSegments other)
return Overlap of two collections |
java.lang.String |
Overlapped()
|
ChromSegment |
removeChromSegment(int index)
remove ChromSegment in the position |
void |
Set_ChromSegment(ChromSegment reg,
int n)
Set ChromSegment |
void |
Sort()
|
java.lang.String |
toString()
|
ChromSegments |
Union(ChromSegments other)
return Union of two segment collections |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public ChromSegments()
public ChromSegments(int size)
size
- intMethod Detail |
---|
public ChromSegment removeChromSegment(int index)
index
- int
public void Add_ChromSegment(ChromSegment reg)
reg
- ChromSegmentpublic void Add_ChromSegment(ChromSegment reg, long start, long end)
reg
- ChromSegmentstart
- longend
- longpublic ChromSegment Get_ChromSegment(int n)
n
- int
public void Set_ChromSegment(ChromSegment reg, int n)
reg
- ChromSegmentn
- intpublic java.lang.String toString()
toString
in class java.util.Vector
public void Sort()
public ChromSegments Difference(ChromSegments other)
other
- ChromSegments
public ChromSegments Overlap(ChromSegments other)
other
- ChromSegments
public java.lang.String Overlapped()
public ChromSegments Union(ChromSegments other)
other
- ChromSegments
public ChromSegments MergeWith(ChromSegments other)
other
- ChromSegments
public int Count_Overlapped(ChromSegments other)
public void Decrement_All(int n)
n
- intpublic void Increment_All(int n)
n
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |