Modifier and Type | Field and Description |
---|---|
private int |
lowestUpdateNucIndex |
(package private) static int |
NO_REINDEX |
private java.util.List<Nuc> |
nucs |
(package private) java.util.List<Strand> |
others |
private java.util.List<Nuc> |
readOnlyNucs |
(package private) Strand |
s1 |
(package private) Strand |
s2 |
private RnaScene |
scene |
(package private) int |
size |
private int |
suppressUpdateCounter |
Constructor and Description |
---|
StrandList(RnaScene scene,
java.util.List<Nuc> nucs) |
Modifier and Type | Method and Description |
---|---|
Strand |
add() |
Strand |
add(int insertAtIndex) |
void |
add(int index,
Strand element)
Deprecated.
|
boolean |
add(Strand strand)
Deprecated.
|
boolean |
addAll(java.util.Collection<? extends Strand> c)
Deprecated.
|
boolean |
addAll(int index,
java.util.Collection<? extends Strand> c)
Deprecated.
|
java.util.List<Nuc> |
allNucs()
Returns a read-only list of all nucleotides.
|
void |
clear()
Deprecated.
|
boolean |
contains(java.lang.Object o) |
void |
divideStrand(int strandIndex,
int nucIndexInStrand)
Divides one strand into two separate strands.
|
void |
divideStrand(Strand strand,
int nucIndexInStrand)
Divides one strand into two separate strands.
|
Strand |
first() |
Strand |
get(int index) |
RnaScene |
getScene() |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
void |
joinStrands(Strand s1,
Strand s2) |
Strand |
last() |
int |
lastIndexOf(java.lang.Object o) |
private Strand |
newStrand(int index) |
private Strand |
newStrand(int index,
int offset,
int size) |
private java.lang.UnsupportedOperationException |
noChangeError() |
private java.util.List<Strand> |
others() |
private java.lang.String |
outOfBoundsMsg(int index) |
private void |
rangeCheck(int index) |
private void |
reIndexNucs(int start) |
Strand |
remove(int index)
Deprecated.
|
boolean |
remove(java.lang.Object o)
Deprecated.
|
boolean |
removeAll(java.util.Collection<?> c)
Deprecated.
|
Strand |
removeDirect(int index) |
void |
resumeUpdate() |
void |
resumeUpdate(boolean performUpdate) |
boolean |
retainAll(java.util.Collection<?> c)
Deprecated.
|
Strand |
second() |
Strand |
set(int index,
Strand element)
Deprecated.
|
int |
size() |
void |
suspendUpdate() |
java.lang.Object[] |
toArray() |
void |
updateStrands(int updateNucIndex) |
equals, hashCode, iterator, listIterator, listIterator, removeRange, subList
private int lowestUpdateNucIndex
static final int NO_REINDEX
private java.util.List<Nuc> nucs
java.util.List<Strand> others
private java.util.List<Nuc> readOnlyNucs
Strand s1
Strand s2
private final RnaScene scene
int size
private int suppressUpdateCounter
public Strand add()
public Strand add(int insertAtIndex)
@Deprecated public void add(int index, Strand element)
@Deprecated public boolean add(Strand strand)
@Deprecated public boolean addAll(java.util.Collection<? extends Strand> c)
@Deprecated public boolean addAll(int index, java.util.Collection<? extends Strand> c)
public java.util.List<Nuc> allNucs()
@Deprecated public void clear()
public boolean contains(java.lang.Object o)
public void divideStrand(int strandIndex, int nucIndexInStrand)
public void divideStrand(Strand strand, int nucIndexInStrand)
public Strand first()
public Strand get(int index)
public RnaScene getScene()
public int indexOf(java.lang.Object o)
public boolean isEmpty()
public Strand last()
public int lastIndexOf(java.lang.Object o)
private Strand newStrand(int index)
private Strand newStrand(int index, int offset, int size)
private java.lang.UnsupportedOperationException noChangeError()
private java.util.List<Strand> others()
private java.lang.String outOfBoundsMsg(int index)
private void rangeCheck(int index)
private void reIndexNucs(int start)
@Deprecated public Strand remove(int index)
@Deprecated public boolean remove(java.lang.Object o)
@Deprecated public boolean removeAll(java.util.Collection<?> c)
public Strand removeDirect(int index)
public void resumeUpdate()
public void resumeUpdate(boolean performUpdate)
@Deprecated public boolean retainAll(java.util.Collection<?> c)
public Strand second()
public int size()
public void suspendUpdate()
public java.lang.Object[] toArray()
public void updateStrands(int updateNucIndex)