public static enum MemoryMappedVcfLineParser.DuplicateHandler extends java.lang.Enum<MemoryMappedVcfLineParser.DuplicateHandler>
| Enum Constant and Description |
|---|
FAIL
Return an
IllegalArgumentException when a duplicate is encountered. |
KEEP_FIRST
Always keep the record that was previously read.
|
KEEP_LAST
Replace the
VcfSamples and VcfPosition. |
| Modifier and Type | Method and Description |
|---|---|
static MemoryMappedVcfLineParser.DuplicateHandler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryMappedVcfLineParser.DuplicateHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryMappedVcfLineParser.DuplicateHandler FAIL
IllegalArgumentException when a duplicate is encountered.public static final MemoryMappedVcfLineParser.DuplicateHandler KEEP_FIRST
public static final MemoryMappedVcfLineParser.DuplicateHandler KEEP_LAST
VcfSamples and VcfPosition.
In other words, ignore the fact that the record is a duplicate and record it anyway.public static MemoryMappedVcfLineParser.DuplicateHandler[] values()
for (MemoryMappedVcfLineParser.DuplicateHandler c : MemoryMappedVcfLineParser.DuplicateHandler.values()) System.out.println(c);
public static MemoryMappedVcfLineParser.DuplicateHandler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null