@Immutable public final class Set extends Gfa2Record
| Constructor and Description |
|---|
Set(String id,
Set<String> ids,
Map<String,Tag> tags)
Create a new set GFA 2.0 record.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Return the identifier for this set, if any.
|
Optional<String> |
getIdOpt()
Return an optional wrapping the identifier for this set.
|
Set<String> |
getIds()
Return an immutable unordered set of identifiers for this set.
|
int |
hashCode() |
boolean |
hasId()
Return true if this set has an identifier.
|
String |
toString() |
static Set |
valueOf(String value)
Parse a set 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 Set<String> getIds()
Copyright © 2013–2020 dishevelled.org. All rights reserved.