public class LabelValue extends Object implements Comparable<LabelValue>, Serializable
<html:options>
tag.
Note: this class has a natural ordering that is inconsistent with equals.Modifier and Type | Field and Description |
---|---|
static Comparator<LabelValue> |
CASE_INSENSITIVE_ORDER
Comparator that can be used for a case insensitive sort of
LabelValue objects. |
Constructor and Description |
---|
LabelValue()
Default constructor.
|
LabelValue(String label,
String value)
Construct an instance with the supplied property values.
|
public static final Comparator<LabelValue> CASE_INSENSITIVE_ORDER
LabelValue
objects.public int compareTo(LabelValue o)
compareTo
in interface Comparable<LabelValue>
public String getLabel()
public void setLabel(String label)
public String getValue()
public void setValue(String value)
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.