C# Class clojure.lang.Util

Mostra file Open project: richhickey/clojure-clr

Public Methods

Method Description
BitCount ( uint x ) : uint
ConvertToByte ( object o ) : byte
ConvertToDecimal ( object o ) : decimal
ConvertToDouble ( object o ) : double
ConvertToFloat ( object o ) : float
ConvertToInt ( object o ) : int
ConvertToLong ( object o ) : long
ConvertToSByte ( object o ) : sbyte
ConvertToShort ( object o ) : short
ConvertToUInt ( object o ) : uint
ConvertToULong ( object o ) : ulong
ConvertToUShort ( object o ) : ushort
IsInteger ( object o ) : bool
IsNonCharNumeric ( object o ) : bool
IsNumeric ( object o ) : bool
IsPrimitive ( Type t ) : bool
LeadingZeroCount ( uint x ) : uint
Mask ( int hash, int shift ) : int
NameForType ( Type t ) : string
Ret1 ( ISeq ret, object nil ) : ISeq
Ret1 ( object ret, object nil ) : object

Private Methods

Method Description
BitCount ( int x ) : int
ConvertToChar ( object o ) : char
GetNonNullableType ( Type type ) : Type
IsIntegerType ( Type type ) : bool
IsNullableType ( Type type ) : bool
IsNumeric ( Type type ) : bool
IsPrimitiveNumeric ( Type type ) : bool
UnreachableCode ( ) : Exception
classOf ( object x ) : Type
compare ( object k1, object k2 ) : int
equals ( object k1, object k2 ) : bool
equiv ( bool x, bool y ) : bool
equiv ( bool x, object y ) : bool
equiv ( char x, char y ) : bool
equiv ( double x, Object y ) : bool
equiv ( double x, double y ) : bool
equiv ( long x, long y ) : bool
equiv ( long x, object y ) : bool
equiv ( object x, bool y ) : bool
equiv ( object x, double y ) : bool
equiv ( object x, long y ) : bool
equiv ( object k1, object k2 ) : bool
hash ( object o ) : int
hashCombine ( int seed, int hash ) : int
hasheq ( object o ) : int
identical ( object k1, object k2 ) : bool
pcequiv ( object k1, object k2 ) : bool

Method Details

BitCount() public static method

public static BitCount ( uint x ) : uint
x uint
return uint

ConvertToByte() public static method

public static ConvertToByte ( object o ) : byte
o object
return byte

ConvertToDecimal() public static method

public static ConvertToDecimal ( object o ) : decimal
o object
return decimal

ConvertToDouble() public static method

public static ConvertToDouble ( object o ) : double
o object
return double

ConvertToFloat() public static method

public static ConvertToFloat ( object o ) : float
o object
return float

ConvertToInt() public static method

public static ConvertToInt ( object o ) : int
o object
return int

ConvertToLong() public static method

public static ConvertToLong ( object o ) : long
o object
return long

ConvertToSByte() public static method

public static ConvertToSByte ( object o ) : sbyte
o object
return sbyte

ConvertToShort() public static method

public static ConvertToShort ( object o ) : short
o object
return short

ConvertToUInt() public static method

public static ConvertToUInt ( object o ) : uint
o object
return uint

ConvertToULong() public static method

public static ConvertToULong ( object o ) : ulong
o object
return ulong

ConvertToUShort() public static method

public static ConvertToUShort ( object o ) : ushort
o object
return ushort

IsInteger() public static method

public static IsInteger ( object o ) : bool
o object
return bool

IsNonCharNumeric() public static method

public static IsNonCharNumeric ( object o ) : bool
o object
return bool

IsNumeric() public static method

public static IsNumeric ( object o ) : bool
o object
return bool

IsPrimitive() public static method

public static IsPrimitive ( Type t ) : bool
t System.Type
return bool

LeadingZeroCount() public static method

public static LeadingZeroCount ( uint x ) : uint
x uint
return uint

Mask() public static method

public static Mask ( int hash, int shift ) : int
hash int
shift int
return int

NameForType() public static method

public static NameForType ( Type t ) : string
t System.Type
return string

Ret1() public static method

public static Ret1 ( ISeq ret, object nil ) : ISeq
ret ISeq
nil object
return ISeq

Ret1() public static method

public static Ret1 ( object ret, object nil ) : object
ret object
nil object
return object