public final class NucleotideChangeAllele extends Object implements ConvertibleToHGVSString, List<NucleotideChange>
NucleotideChange
s on one allee.
Examples:
Constructor and Description |
---|
NucleotideChangeAllele(VariantConfiguration varConfig,
Collection<? extends NucleotideChange> changes)
Construct allele with the given a variant
VariantConfiguration and NucleotideChange s. |
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public NucleotideChangeAllele(VariantConfiguration varConfig, Collection<? extends NucleotideChange> changes)
VariantConfiguration
and NucleotideChange
s.varConfig
- configuration of the changeschanges
- nucleotide changes to store in the allelepublic static NucleotideChangeAllele singleChangeAllele(NucleotideChange change)
public static NucleotideChangeAllele build(VariantConfiguration varConfig, NucleotideChange... changes)
public NucleotideChangeAllele withOnlyPredicted(boolean flag)
public VariantConfiguration getVarConfig()
VariantConfiguration
of this allelepublic com.google.common.collect.ImmutableList<NucleotideChange> getChanges()
NucleotideChange
spublic String toHGVSString()
ConvertibleToHGVSString
toHGVSString
in interface ConvertibleToHGVSString
ProteinPointLocation
public String toHGVSString(AminoAcidCode code)
ConvertibleToHGVSString
toHGVSString
in interface ConvertibleToHGVSString
code
- AminoAcidCode
to useProteinPointLocation
public int hashCode()
hashCode
in interface Collection<NucleotideChange>
hashCode
in interface List<NucleotideChange>
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface Collection<NucleotideChange>
equals
in interface List<NucleotideChange>
equals
in class Object
public int size()
size
in interface Collection<NucleotideChange>
size
in interface List<NucleotideChange>
public boolean isEmpty()
isEmpty
in interface Collection<NucleotideChange>
isEmpty
in interface List<NucleotideChange>
public boolean contains(Object o)
contains
in interface Collection<NucleotideChange>
contains
in interface List<NucleotideChange>
public Iterator<NucleotideChange> iterator()
iterator
in interface Iterable<NucleotideChange>
iterator
in interface Collection<NucleotideChange>
iterator
in interface List<NucleotideChange>
public Object[] toArray()
toArray
in interface Collection<NucleotideChange>
toArray
in interface List<NucleotideChange>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<NucleotideChange>
toArray
in interface List<NucleotideChange>
@Deprecated public boolean add(NucleotideChange e)
add
in interface Collection<NucleotideChange>
add
in interface List<NucleotideChange>
@Deprecated public boolean remove(Object o)
remove
in interface Collection<NucleotideChange>
remove
in interface List<NucleotideChange>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<NucleotideChange>
containsAll
in interface List<NucleotideChange>
@Deprecated public boolean addAll(Collection<? extends NucleotideChange> c)
addAll
in interface Collection<NucleotideChange>
addAll
in interface List<NucleotideChange>
@Deprecated public boolean addAll(int index, Collection<? extends NucleotideChange> c)
addAll
in interface List<NucleotideChange>
@Deprecated public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<NucleotideChange>
removeAll
in interface List<NucleotideChange>
@Deprecated public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<NucleotideChange>
retainAll
in interface List<NucleotideChange>
@Deprecated public void clear()
clear
in interface Collection<NucleotideChange>
clear
in interface List<NucleotideChange>
public NucleotideChange get(int index)
get
in interface List<NucleotideChange>
@Deprecated public NucleotideChange set(int index, NucleotideChange element)
set
in interface List<NucleotideChange>
@Deprecated public void add(int index, NucleotideChange element)
add
in interface List<NucleotideChange>
@Deprecated public NucleotideChange remove(int index)
remove
in interface List<NucleotideChange>
public int indexOf(Object o)
indexOf
in interface List<NucleotideChange>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<NucleotideChange>
public ListIterator<NucleotideChange> listIterator()
listIterator
in interface List<NucleotideChange>
public ListIterator<NucleotideChange> listIterator(int index)
listIterator
in interface List<NucleotideChange>
public List<NucleotideChange> subList(int fromIndex, int toIndex)
subList
in interface List<NucleotideChange>
Copyright © 2016. All rights reserved.