@Immutable public final class Path extends Gfa2Record
| Constructor and Description |
|---|
Path(String id,
List<Reference> references,
Map<String,Tag> tags)
Create a new path GFA 2.0 record.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Return the identifier for this path, if any.
|
Optional<String> |
getIdOpt()
Return an optional wrapping the identifier for this path.
|
List<Reference> |
getReferences()
Return an immutable list of references for this path.
|
int |
hashCode() |
boolean |
hasId()
Return true if this path has an identifier.
|
String |
toString() |
static Path |
valueOf(String value)
Parse a path GFA 2.0 record from the specified value.
|
containsTagKey, getTagByteArray, getTagByteArrayOpt, getTagBytes, getTagBytesOpt, getTagCharacter, getTagCharacterOpt, getTagFloat, getTagFloatOpt, getTagFloats, getTagFloatsOpt, getTagInteger, getTagIntegerOpt, getTagIntegers, getTagIntegersOpt, getTags, getTagString, getTagStringOptpublic boolean hasId()
public String getId()
public Optional<String> getIdOpt()
public List<Reference> getReferences()
Copyright © 2013–2020 dishevelled.org. All rights reserved.