object PosZLong
The companion object for PosZLong that offers
factory methods that produce PosZLongs, implicit
widening conversions from PosZLong to other
numeric types, and maximum and minimum constant values for
PosZLong.
- Source
 - PosZLong.scala
 
- Alphabetic
 - By Inheritance
 
- PosZLong
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        val
      
      
        MaxValue: PosZLong
      
      
      
The largest value representable as a non-negative
Long, which isPosZLong(9223372036854775807). - 
      
      
      
        
      
    
      
        final 
        val
      
      
        MinValue: PosZLong
      
      
      
The smallest value representable as a non-negative
Long, which isPosZLong(0). - 
      
      
      
        
      
    
      
        implicit macro 
        def
      
      
        apply(value: Long): PosZLong
      
      
      
A factory method, implemented via a macro, that produces a
PosZLongif passed a validLongliteral, otherwise a compile time error.A factory method, implemented via a macro, that produces a
PosZLongif passed a validLongliteral, otherwise a compile time error.The macro that implements this method will inspect the specified
Longexpression at compile time. If the expression is a non-negativeLongliteral, i.e., with a value greater than or equal to 0, it will return aPosZLongrepresenting that value. Otherwise, the passedLongexpression is either a literal that is negative, or is not a literal, so this method will give a compiler error.This factory method differs from the
fromfactory method in that this method is implemented via a macro that inspectsLongliterals at compile time, whereasfrominspectsLongvalues at run time.- value
 the
Longliteral expression to inspect at compile time, and if non-negative, to return wrapped in aPosZLongat run time.- returns
 the specified, valid
Longliteral value wrapped in aPosZLong. (If the specified expression is not a validLongliteral, the invocation of this method will not compile.)
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @native() @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        from(value: Long): Option[PosZLong]
      
      
      
A factory method that produces an
Option[PosZLong]given aLongvalue.A factory method that produces an
Option[PosZLong]given aLongvalue.This method will inspect the passed
Longvalue and if it is a non-negativeLong, i.e., a value greater than or equal to 0, it will return aPosZLongrepresenting that value, wrapped in aSome. Otherwise, the passedLongvalue is negative, so this method will returnNone.This factory method differs from the
applyfactory method in thatapplyis implemented via a macro that inspectsLongliterals at compile time, whereasfrominspectsLongvalues at run time.- value
 the
Longto inspect, and if non-negative, return wrapped in aSome[PosZLong].- returns
 the specified
Longvalue wrapped in aSome[PosZLong], if it is positive, elseNone.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        implicit 
        val
      
      
        posZLongOrd: Ordering[PosZLong]
      
      
      
Implicit Ordering instance.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @throws( ... )
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        widenToDouble(poz: PosZLong): Double
      
      
      
Implicit widening conversion from
PosZLongtoDouble.Implicit widening conversion from
PosZLongtoDouble.- returns
 the
Longvalue underlying the specifiedPosZLong, widened toDouble.
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        widenToFloat(poz: PosZLong): Float
      
      
      
Implicit widening conversion from
PosZLongtoFloat.Implicit widening conversion from
PosZLongtoFloat.- returns
 the
Longvalue underlying the specifiedPosZLong, widened toFloat.
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        widenToLong(poz: PosZLong): Long
      
      
      
Implicit widening conversion from
PosZLongtoLong.Implicit widening conversion from
PosZLongtoLong.- returns
 the
Longvalue underlying the specifiedPosZLong.
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        widenToPosZDouble(poz: PosZLong): PosZDouble
      
      
      
Implicit widening conversion from
PosZLongtoPosZDouble.Implicit widening conversion from
PosZLongtoPosZDouble.- returns
 the
Longvalue underlying the specifiedPosZLong, widened toDoubleand wrapped in aPosZDouble.
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        widenToPosZFloat(poz: PosZLong): PosZFloat
      
      
      
Implicit widening conversion from
PosZLongtoPosZFloat.Implicit widening conversion from
PosZLongtoPosZFloat.- returns
 the
Longvalue underlying the specifiedPosZLong, widened toFloatand wrapped in aPosZFloat.