public enum VectorMetricType extends Enum<VectorMetricType>
| 枚举常量和说明 |
|---|
COSINE |
DOT_PRODUCT |
EUCLIDEAN |
public static final VectorMetricType EUCLIDEAN
public static final VectorMetricType COSINE
public static final VectorMetricType DOT_PRODUCT
public static VectorMetricType[] values()
for (VectorMetricType c : VectorMetricType.values()) System.out.println(c);
public static VectorMetricType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2025. All Rights Reserved.