public class VcfSample
extends java.lang.Object
| Constructor and Description |
|---|
VcfSample(java.util.LinkedHashMap<java.lang.String,java.lang.String> properties) |
VcfSample(java.util.List<java.lang.String> keys,
java.util.List<java.lang.String> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearProperties() |
boolean |
containsProperty(ReservedFormatProperty key) |
boolean |
containsProperty(java.lang.String key) |
<T> T |
getProperty(ReservedFormatProperty key)
Returns the value for the reserved property as the type specified by both
ReservedFormatProperty.getType()
and ReservedFormatProperty.isList(). |
java.lang.String |
getProperty(java.lang.String key) |
java.util.Set<java.lang.String> |
getPropertyKeys() |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
propertyEntrySet() |
void |
putProperty(ReservedFormatProperty key,
java.lang.String value) |
void |
putProperty(java.lang.String key,
java.lang.String value) |
void |
removeProperty(ReservedFormatProperty key) |
void |
removeProperty(java.lang.String key) |
public VcfSample(@Nullable
java.util.List<java.lang.String> keys,
@Nullable
java.util.List<java.lang.String> values)
public VcfSample(@Nonnull
java.util.LinkedHashMap<java.lang.String,java.lang.String> properties)
@Nullable
public java.lang.String getProperty(@Nonnull
java.lang.String key)
@Nullable
public <T> T getProperty(@Nonnull
ReservedFormatProperty key)
ReservedFormatProperty.getType()
and ReservedFormatProperty.isList().T - The type specified by ReservedInfoProperty.getType() if ReservedFormatProperty.isList()
is false;
otherwise List<V> where V is the type specified by ReservedFormatProperty.getType().public boolean containsProperty(@Nonnull
java.lang.String key)
public boolean containsProperty(@Nonnull
ReservedFormatProperty key)
public void putProperty(@Nonnull
java.lang.String key,
@Nullable
java.lang.String value)
public void putProperty(@Nonnull
ReservedFormatProperty key,
@Nullable
java.lang.String value)
public void removeProperty(@Nonnull
java.lang.String key)
public void removeProperty(@Nonnull
ReservedFormatProperty key)
public void clearProperties()
@Nonnull public java.util.Set<java.lang.String> getPropertyKeys()
@Nonnull public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> propertyEntrySet()