com.google.common.collect
Class DiscreteDomains

java.lang.Object
  extended by com.google.common.collect.DiscreteDomains

@GwtCompatible
@Beta
public final class DiscreteDomains
extends java.lang.Object

Factories for common DiscreteDomain instances.

Since:
10.0

Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

integers

public static DiscreteDomain<java.lang.Integer> integers()
Returns the discrete domain for values of type Integer.


longs

public static DiscreteDomain<java.lang.Long> longs()
Returns the discrete domain for values of type Long.