public enum GeneType extends Enum<GeneType> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneType.Deserializer |
static class |
GeneType.Serializer |
| Enum Constant and Description |
|---|
Constant |
Diversity |
Joining |
Variable |
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_OF_TYPES |
static GeneType[] |
VDJC_REFERENCE |
static GeneType[] |
VJC_REFERENCE |
| Modifier and Type | Method and Description |
|---|---|
int |
cdr3Site()
Gets an integer indicating position of segment of this type relative to CDR3
|
static GeneType |
fromChar(char letter) |
static GeneType |
get(int id)
Gets a segment by id
|
int |
getCompleteNumberOfReferencePoints() |
int |
getIndexOfFirstReferencePoint() |
char |
getLetter()
Gets the associated letter, e.g.
|
byte |
getOrder() |
byte |
id()
Id of segment
|
static GeneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneType Variable
public static final GeneType Diversity
public static final GeneType Joining
public static final GeneType Constant
public static final GeneType[] VJC_REFERENCE
public static final GeneType[] VDJC_REFERENCE
public static final int NUMBER_OF_TYPES
public static GeneType[] values()
for (GeneType c : GeneType.values()) System.out.println(c);
public static GeneType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getOrder()
public int getIndexOfFirstReferencePoint()
public static GeneType fromChar(char letter)
public static GeneType get(int id)
id - public char getLetter()
public byte id()
public int cdr3Site()
public int getCompleteNumberOfReferencePoints()
Copyright © 2017. All rights reserved.