public class FixedNScoredValue<T> extends Object implements NScoredValue<T>
| Modifier and Type | Field and Description |
|---|---|
static NScoredValue |
UNSUPPORTED |
| Constructor and Description |
|---|
FixedNScoredValue(T value,
int score) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getApiType() |
Class<? extends T> |
getImplType() |
static <T> NScoredValue<T> |
ofUnsupported(Class<? extends T> implType,
Class<T> apiType) |
int |
score() |
T |
value() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidpublic static final NScoredValue UNSUPPORTED
public FixedNScoredValue(T value, int score)
public static <T> NScoredValue<T> ofUnsupported(Class<? extends T> implType, Class<T> apiType)
public Class<T> getApiType()
getApiType in interface NScoredValue<T>public Class<? extends T> getImplType()
getImplType in interface NScoredValue<T>public T value()
value in interface NScoredValue<T>public int score()
score in interface NScoredValue<T>Copyright © 2026 vpc open source initiative. All rights reserved.