public class Tag extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
protected static class |
Tag.TagLabelComparator |
protected static class |
Tag.TagWeightComparator |
Modifier and Type | Field and Description |
---|---|
String |
label
The tag label.
|
static Comparator<Tag> |
LABEL_COMPARATOR
Compare tags by label, case insensitive.
|
long |
weight
The weight of the tag.
|
static Comparator<Tag> |
WEIGHT_COMPARATOR
Compare tags by weight, decreasing.
|
public long weight
public static final Comparator<Tag> LABEL_COMPARATOR
public static final Comparator<Tag> WEIGHT_COMPARATOR
Copyright © 2016 Nuxeo SA. All rights reserved.