Class Tag

    • Field Detail

      • label

        public final String label
        Deprecated.
        The tag label.
      • weight

        public long weight
        Deprecated.
        The weight of the tag.
      • LABEL_COMPARATOR

        public static final Comparator<Tag> LABEL_COMPARATOR
        Deprecated.
        Compare tags by label, case insensitive.
      • WEIGHT_COMPARATOR

        public static final Comparator<Tag> WEIGHT_COMPARATOR
        Deprecated.
        Compare tags by weight, decreasing.
    • Constructor Detail

      • Tag

        public Tag​(String label,
                   int weight)
        Deprecated.
    • Method Detail

      • getLabel

        public String getLabel()
        Deprecated.
      • getWeight

        public long getWeight()
        Deprecated.
      • setWeight

        public void setWeight​(long weight)
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object