public static enum HistogramFacet.ComparatorType extends Enum<HistogramFacet.ComparatorType>
Modifier and Type | Method and Description |
---|---|
Comparator<HistogramFacet.Entry> |
comparator() |
String |
description() |
static HistogramFacet.ComparatorType |
fromId(byte id) |
static HistogramFacet.ComparatorType |
fromString(String type) |
byte |
id() |
static HistogramFacet.ComparatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistogramFacet.ComparatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistogramFacet.ComparatorType KEY
public static final HistogramFacet.ComparatorType COUNT
public static final HistogramFacet.ComparatorType TOTAL
public static HistogramFacet.ComparatorType[] values()
for (HistogramFacet.ComparatorType c : HistogramFacet.ComparatorType.values()) System.out.println(c);
public static HistogramFacet.ComparatorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte id()
public String description()
public Comparator<HistogramFacet.Entry> comparator()
public static HistogramFacet.ComparatorType fromId(byte id)
public static HistogramFacet.ComparatorType fromString(String type)
Copyright © 2009–2015. All rights reserved.