@Immutable public final class GapPenalties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GapPenalties.Builder
Gap penalties builder.
|
Modifier and Type | Method and Description |
---|---|
static GapPenalties.Builder |
builder()
Create and return a new gap penalties builder.
|
static GapPenalties |
create(int match,
int replace,
int insert,
int delete,
int extend)
Create and return a new gap penalties with the specified penalties.
|
short |
delete()
Return the delete penalty.
|
short |
extend()
Return the extend penalty.
|
short |
insert()
Return the insert penalty.
|
short |
match()
Return the match penalty.
|
short |
replace()
Return the replace penalty.
|
public short match()
public short replace()
public short insert()
public short delete()
public short extend()
public static GapPenalties.Builder builder()
public static GapPenalties create(int match, int replace, int insert, int delete, int extend)
match
- match penaltyreplace
- replace penaltyinsert
- insert penaltydelete
- delete penaltyextend
- extend penaltyCopyright © 2014–2015. All rights reserved.