javax.measure.unit
Class NonSI.IndianPrefix

java.lang.Object
  extended by javax.measure.unit.NonSI.IndianPrefix
Enclosing class:
NonSI

public static class NonSI.IndianPrefix
extends java.lang.Object

Inner class holding prefixes used today in India, Pakistan, Bangladesh, Nepal and Myanmar (Burma); based on grouping by two decimal places, rather than the three decimal places common in most parts of the world.

 
     import static javax.measure.unit.NonSI.IndianPrefix.*; // Static import.
     ... 
     Unit<Pressure> LAKH_PASCAL = LAKH(PASCAL); 
     Unit<Length> CRORE_METER = CRORE(METER);
 

Version:
1.0
Author:
Werner Keil
See Also:
Wikipedia: Indian numbering system

Method Summary
static
<Q extends Quantity>
Unit<Q>
ARAWB(Unit<Q> unit)
           अरब (Arawb) Returns the specified unit multiplied by the factor 109
static
<Q extends Quantity>
Unit<Q>
CRORE(Unit<Q> unit)
           करोड़ (Crore) Returns the specified unit multiplied by the factor 107
static
<Q extends Quantity>
Unit<Q>
DAS(Unit<Q> unit)
           दस (Das) Returns the specified unit multiplied by the factor 101
static
<Q extends Quantity>
Unit<Q>
EK(Unit<Q> unit)
           एक (Ek) Returns the specified unit multiplied by the factor 1
static
<Q extends Quantity>
Unit<Q>
HAZAAR(Unit<Q> unit)
           हजार (Hazaar) Equivalent to SAHASR(javax.measure.unit.Unit).
static
<Q extends Quantity>
Unit<Q>
KHARAWB(Unit<Q> unit)
           खरब (Kharawb) Returns the specified unit multiplied by the factor 1011
static
<Q extends Quantity>
Unit<Q>
LAKH(Unit<Q> unit)
           लाख (Lakh) Returns the specified unit multiplied by the factor 105
static
<Q extends Quantity>
Unit<Q>
MAHASHANKH(Unit<Q> unit)
           महाशंख (Mahashankh) Returns the specified unit multiplied by the factor 1019
static
<Q extends Quantity>
Unit<Q>
NEEL(Unit<Q> unit)
           नील (Neel) Returns the specified unit multiplied by the factor 1013
static
<Q extends Quantity>
Unit<Q>
PADMA(Unit<Q> unit)
           पद्म (Padma) Returns the specified unit multiplied by the factor 1015
static
<Q extends Quantity>
Unit<Q>
SAHASR(Unit<Q> unit)
           सहस्र (Sahasr) Returns the specified unit multiplied by the factor 103
static
<Q extends Quantity>
Unit<Q>
SAU(Unit<Q> unit)
           सौ (Sau) Returns the specified unit multiplied by the factor 102
static
<Q extends Quantity>
Unit<Q>
SHANKH(Unit<Q> unit)
           शंख (Shankh) Returns the specified unit multiplied by the factor 1017
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

EK

public static <Q extends Quantity> Unit<Q> EK(Unit<Q> unit)

एक (Ek)

Returns the specified unit multiplied by the factor 1

Parameters:
unit - any unit.
Returns:
unit.multiply(1).

DAS

public static <Q extends Quantity> Unit<Q> DAS(Unit<Q> unit)

दस (Das)

Returns the specified unit multiplied by the factor 101

Parameters:
unit - any unit.
Returns:
unit.multiply(10).

SAU

public static <Q extends Quantity> Unit<Q> SAU(Unit<Q> unit)

सौ (Sau)

Returns the specified unit multiplied by the factor 102

Parameters:
unit - any unit.
Returns:
unit.multiply(100).

SAHASR

public static <Q extends Quantity> Unit<Q> SAHASR(Unit<Q> unit)

सहस्र (Sahasr)

Returns the specified unit multiplied by the factor 103

Parameters:
unit - any unit.
Returns:
unit.multiply(1e3).

HAZAAR

public static <Q extends Quantity> Unit<Q> HAZAAR(Unit<Q> unit)

हजार (Hazaar)

Equivalent to SAHASR(javax.measure.unit.Unit).


LAKH

public static <Q extends Quantity> Unit<Q> LAKH(Unit<Q> unit)

लाख (Lakh)

Returns the specified unit multiplied by the factor 105

Parameters:
unit - any unit.
Returns:
unit.multiply(1e5).

CRORE

public static <Q extends Quantity> Unit<Q> CRORE(Unit<Q> unit)

करोड़ (Crore)

Returns the specified unit multiplied by the factor 107

Parameters:
unit - any unit.
Returns:
unit.multiply(1e7).

ARAWB

public static <Q extends Quantity> Unit<Q> ARAWB(Unit<Q> unit)

अरब (Arawb)

Returns the specified unit multiplied by the factor 109

Parameters:
unit - any unit.
Returns:
unit.multiply(1e9).

KHARAWB

public static <Q extends Quantity> Unit<Q> KHARAWB(Unit<Q> unit)

खरब (Kharawb)

Returns the specified unit multiplied by the factor 1011

Parameters:
unit - any unit.
Returns:
unit.multiply(1e11).

NEEL

public static <Q extends Quantity> Unit<Q> NEEL(Unit<Q> unit)

नील (Neel)

Returns the specified unit multiplied by the factor 1013

Parameters:
unit - any unit.
Returns:
unit.multiply(1e13).

PADMA

public static <Q extends Quantity> Unit<Q> PADMA(Unit<Q> unit)

पद्म (Padma)

Returns the specified unit multiplied by the factor 1015

Parameters:
unit - any unit.
Returns:
unit.multiply(1e15).

SHANKH

public static <Q extends Quantity> Unit<Q> SHANKH(Unit<Q> unit)

शंख (Shankh)

Returns the specified unit multiplied by the factor 1017

Parameters:
unit - any unit.
Returns:
unit.multiply(1e17).

MAHASHANKH

public static <Q extends Quantity> Unit<Q> MAHASHANKH(Unit<Q> unit)

महाशंख (Mahashankh)

Returns the specified unit multiplied by the factor 1019

Parameters:
unit - any unit.
Returns:
unit.multiply(1e19).


Copyright © 2009 JScience. All Rights Reserved.