public class WeightFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static Weight |
NEG_EPSILON
Special value representing the smallest possible negative value.
|
static Weight |
NEG_INFINITY
Special value representing negative infinity.
|
static Weight |
POS_EPSILON
Special value representing the smallest possible positive value.
|
static Weight |
POS_INFINITY
Special value representing positive infinity.
|
static Weight |
ZERO
Special value representing zero.
|
| Constructor and Description |
|---|
WeightFactory() |
| Modifier and Type | Method and Description |
|---|---|
Weight |
getInstance() |
Weight |
getInstance(Number val) |
public static final Weight POS_INFINITY
public static final Weight NEG_INFINITY
public static final Weight POS_EPSILON
public static final Weight NEG_EPSILON
public static final Weight ZERO
Copyright © 2012–2017 Emory University. All rights reserved.