com.google.common.collect
@GwtCompatible @Beta public final class DiscreteDomains extends java.lang.Object
DiscreteDomain
instances.Modifier and Type | Method and Description |
---|---|
static DiscreteDomain<java.lang.Integer> |
integers()
Returns the discrete domain for values of type
Integer . |
static DiscreteDomain<java.lang.Long> |
longs()
Returns the discrete domain for values of type
Long . |
public static DiscreteDomain<java.lang.Integer> integers()
Integer
.public static DiscreteDomain<java.lang.Long> longs()
Long
.