public abstract class CxxLinkGroupMapping extends Object implements Comparable<CxxLinkGroupMapping>
When used in BUCK files, it would be expressed as:
link_group_map = [ ("group_name", [mapping1, mapping2]), ],In this case,
CxxLinkGroupMapping
represents the tuple
("group_name", [mapping1, mapping2])
. Each mapping (e.g., mapping1
) is
represented by CxxLinkGroupMappingTarget
.Constructor and Description |
---|
CxxLinkGroupMapping() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CxxLinkGroupMapping that) |
abstract String |
getLinkGroup() |
abstract com.google.common.collect.ImmutableList<CxxLinkGroupMappingTarget> |
getMappingTargets() |
static CxxLinkGroupMapping |
of(String linkGroup,
com.google.common.collect.ImmutableList<CxxLinkGroupMappingTarget> mappingTargets) |
public abstract String getLinkGroup()
public abstract com.google.common.collect.ImmutableList<CxxLinkGroupMappingTarget> getMappingTargets()
public static CxxLinkGroupMapping of(String linkGroup, com.google.common.collect.ImmutableList<CxxLinkGroupMappingTarget> mappingTargets)
public int compareTo(CxxLinkGroupMapping that)
compareTo
in interface Comparable<CxxLinkGroupMapping>