public enum TopElements extends Enum<TopElements>
Enum Constant and Description |
---|
TOP1 |
TOP10 |
TOP100 |
TOP20 |
TOP5 |
TOP50 |
Modifier and Type | Method and Description |
---|---|
int |
getTopElementsNum()
Gets the top-K elements
|
static TopElements |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopElements[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopElements TOP1
public static final TopElements TOP5
public static final TopElements TOP10
public static final TopElements TOP20
public static final TopElements TOP50
public static final TopElements TOP100
public static TopElements[] values()
for (TopElements c : TopElements.values()) System.out.println(c);
public static TopElements 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 int getTopElementsNum()
Copyright © 2014. All rights reserved.