Example usage for java.lang Number subclass-usage

List of usage examples for java.lang Number subclass-usage

Introduction

In this page you can find the example usage for java.lang Number subclass-usage.

Usage

From source file com.anrisoftware.fractions.core.AbstractContinuedFraction.java

/**
 * Implements denominator methods and calculates the value of this continued
 * fraction.
 * 
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 2.0

From source file Rational.java

/**
 * Immutable class for holding a rational number without loss of precision.  Provides
 * a familiar representation via toString() in form <code>numerator/denominator</code>.
 * <p>
 * @author  Drew Noakes http://drewnoakes.com
 */

From source file com.jkoolcloud.tnt4j.core.UsecTimestamp.java

/**
 * <p>Represents a timestamp that has microsecond accuracy. This timestamp also
 * implements Lamport clock synchronization algorithm see {@link UsecTimestamp#getLamportClock()}
 * and {@link UsecTimestamp#UsecTimestamp(long, long, long)}.</p>
 *
 * <p>Stores timestamp as <i>mmmmmmmmmm.uuu</i>, where <i>mmmmmmmmmm</i> is the

From source file SignificantFigures.java

/**
 * A number with an associated number of significant figures.
 * This class handles parsing numbers, determining the number
 * of significant figures, adjusting the number of significant
 * figures (including scientific rounding), and displaying the number.
 * More information about this class is available from <a target="_top" href=

From source file Ternary.java

public class Ternary extends Number implements Comparable<Ternary> {
    protected BigInteger biThree = BigInteger.valueOf(3);
    protected BigDecimal bdThree = new BigDecimal(biThree);
    protected CopyOnWriteArrayList<Trit> trits;

    public static void main(String[] args) {

From source file com.projity.functor.NumberClosure.java

/**
 * A closure which holds a number
 */
public abstract class NumberClosure extends Number implements Closure {
    Number value;

From source file net.pms.util.Rational.java

/**
 * This is an immutable class for holding a rational number without loss of
 * precision. As a consequence, a new instance is generated for every
 * mathematical operation. The reduced rationale is generated during
 * construction and cached for later retrieval.
 * <p>