Copyright 2008 - 2010 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg

This software is released under an open source BSD licence.

fj
Class Primitive

java.lang.Object
  extended by fj.Primitive

public final class Primitive
extends Object

Functions that convert between Java primitive types.


Field Summary
static F<Boolean,Byte> Boolean_Byte
          A function that converts booleans to bytes.
static F<Boolean,Character> Boolean_Character
          A function that converts booleans to characters.
static F<Boolean,Double> Boolean_Double
          A function that converts booleans to doubles.
static F<Boolean,Float> Boolean_Float
          A function that converts booleans to floats.
static F<Boolean,Integer> Boolean_Integer
          A function that converts booleans to integers.
static F<Boolean,Long> Boolean_Long
          A function that converts booleans to longs.
static F<Boolean,Short> Boolean_Short
          A function that converts booleans to shorts.
static F<Byte,Boolean> Byte_Boolean
          A function that converts bytes to booleans.
static F<Byte,Character> Byte_Character
          A function that converts bytes to characters.
static F<Byte,Double> Byte_Double
          A function that converts bytes to doubles.
static F<Byte,Float> Byte_Float
          A function that converts bytes to floats.
static F<Byte,Integer> Byte_Integer
          A function that converts bytes to integers.
static F<Byte,Long> Byte_Long
          A function that converts bytes to longs.
static F<Byte,Short> Byte_Short
          A function that converts bytes to shorts.
static F<Character,Boolean> Character_Boolean
          A function that converts characters to booleans.
static F<Character,Byte> Character_Byte
          A function that converts characters to bytes.
static F<Character,Double> Character_Double
          A function that converts characters to doubles.
static F<Character,Float> Character_Float
          A function that converts characters to floats.
static F<Character,Integer> Character_Integer
          A function that converts characters to integers.
static F<Character,Long> Character_Long
          A function that converts characters to longs.
static F<Character,Short> Character_Short
          A function that converts characters to shorts.
static F<Double,Boolean> Double_Boolean
          A function that converts doubles to booleans.
static F<Double,Byte> Double_Byte
          A function that converts doubles to bytes.
static F<Double,Character> Double_Character
          A function that converts doubles to characters.
static F<Double,Float> Double_Float
          A function that converts doubles to floats.
static F<Double,Integer> Double_Integer
          A function that converts doubles to integers.
static F<Double,Long> Double_Long
          A function that converts doubles to longs.
static F<Double,Short> Double_Short
          A function that converts doubles to shorts.
static F<Float,Boolean> Float_Boolean
          A function that converts floats to booleans.
static F<Float,Byte> Float_Byte
          A function that converts floats to bytes.
static F<Float,Character> Float_Character
          A function that converts floats to characters.
static F<Float,Double> Float_Double
          A function that converts floats to doubles.
static F<Float,Integer> Float_Integer
          A function that converts floats to integers.
static F<Float,Long> Float_Long
          A function that converts floats to longs.
static F<Float,Short> Float_Short
          A function that converts floats to shorts.
static F<Integer,Boolean> Integer_Boolean
          A function that converts integers to booleans.
static F<Integer,Byte> Integer_Byte
          A function that converts integers to bytes.
static F<Integer,Character> Integer_Character
          A function that converts integers to characters.
static F<Integer,Double> Integer_Double
          A function that converts integers to doubles.
static F<Integer,Float> Integer_Float
          A function that converts integers to floats.
static F<Integer,Long> Integer_Long
          A function that converts integers to longs.
static F<Integer,Short> Integer_Short
          A function that converts integers to shorts.
static F<Long,Boolean> Long_Boolean
          A function that converts longs to booleans.
static F<Long,Byte> Long_Byte
          A function that converts longs to bytes.
static F<Long,Character> Long_Character
          A function that converts longs to characters.
static F<Long,Double> Long_Double
          A function that converts longs to doubles.
static F<Long,Float> Long_Float
          A function that converts longs to floats.
static F<Long,Integer> Long_Integer
          A function that converts longs to integers.
static F<Long,Short> Long_Short
          A function that converts longs to shorts.
static F<Short,Boolean> Short_Boolean
          A function that converts shorts to booleans.
static F<Short,Byte> Short_Byte
          A function that converts shorts to bytes.
static F<Short,Character> Short_Character
          A function that converts shorts to characters.
static F<Short,Double> Short_Double
          A function that converts shorts to doubles.
static F<Short,Float> Short_Float
          A function that converts shorts to floats.
static F<Short,Integer> Short_Integer
          A function that converts shorts to integers.
static F<Short,Long> Short_Long
          A function that converts shorts to longs.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Boolean_Byte

public static final F<Boolean,Byte> Boolean_Byte
A function that converts booleans to bytes.


Boolean_Character

public static final F<Boolean,Character> Boolean_Character
A function that converts booleans to characters.


Boolean_Double

public static final F<Boolean,Double> Boolean_Double
A function that converts booleans to doubles.


Boolean_Float

public static final F<Boolean,Float> Boolean_Float
A function that converts booleans to floats.


Boolean_Integer

public static final F<Boolean,Integer> Boolean_Integer
A function that converts booleans to integers.


Boolean_Long

public static final F<Boolean,Long> Boolean_Long
A function that converts booleans to longs.


Boolean_Short

public static final F<Boolean,Short> Boolean_Short
A function that converts booleans to shorts.


Byte_Boolean

public static final F<Byte,Boolean> Byte_Boolean
A function that converts bytes to booleans.


Byte_Character

public static final F<Byte,Character> Byte_Character
A function that converts bytes to characters.


Byte_Double

public static final F<Byte,Double> Byte_Double
A function that converts bytes to doubles.


Byte_Float

public static final F<Byte,Float> Byte_Float
A function that converts bytes to floats.


Byte_Integer

public static final F<Byte,Integer> Byte_Integer
A function that converts bytes to integers.


Byte_Long

public static final F<Byte,Long> Byte_Long
A function that converts bytes to longs.


Byte_Short

public static final F<Byte,Short> Byte_Short
A function that converts bytes to shorts.


Character_Boolean

public static final F<Character,Boolean> Character_Boolean
A function that converts characters to booleans.


Character_Byte

public static final F<Character,Byte> Character_Byte
A function that converts characters to bytes.


Character_Double

public static final F<Character,Double> Character_Double
A function that converts characters to doubles.


Character_Float

public static final F<Character,Float> Character_Float
A function that converts characters to floats.


Character_Integer

public static final F<Character,Integer> Character_Integer
A function that converts characters to integers.


Character_Long

public static final F<Character,Long> Character_Long
A function that converts characters to longs.


Character_Short

public static final F<Character,Short> Character_Short
A function that converts characters to shorts.


Double_Boolean

public static final F<Double,Boolean> Double_Boolean
A function that converts doubles to booleans.


Double_Byte

public static final F<Double,Byte> Double_Byte
A function that converts doubles to bytes.


Double_Character

public static final F<Double,Character> Double_Character
A function that converts doubles to characters.


Double_Float

public static final F<Double,Float> Double_Float
A function that converts doubles to floats.


Double_Integer

public static final F<Double,Integer> Double_Integer
A function that converts doubles to integers.


Double_Long

public static final F<Double,Long> Double_Long
A function that converts doubles to longs.


Double_Short

public static final F<Double,Short> Double_Short
A function that converts doubles to shorts.


Float_Boolean

public static final F<Float,Boolean> Float_Boolean
A function that converts floats to booleans.


Float_Byte

public static final F<Float,Byte> Float_Byte
A function that converts floats to bytes.


Float_Character

public static final F<Float,Character> Float_Character
A function that converts floats to characters.


Float_Double

public static final F<Float,Double> Float_Double
A function that converts floats to doubles.


Float_Integer

public static final F<Float,Integer> Float_Integer
A function that converts floats to integers.


Float_Long

public static final F<Float,Long> Float_Long
A function that converts floats to longs.


Float_Short

public static final F<Float,Short> Float_Short
A function that converts floats to shorts.


Integer_Boolean

public static final F<Integer,Boolean> Integer_Boolean
A function that converts integers to booleans.


Integer_Byte

public static final F<Integer,Byte> Integer_Byte
A function that converts integers to bytes.


Integer_Character

public static final F<Integer,Character> Integer_Character
A function that converts integers to characters.


Integer_Double

public static final F<Integer,Double> Integer_Double
A function that converts integers to doubles.


Integer_Float

public static final F<Integer,Float> Integer_Float
A function that converts integers to floats.


Integer_Long

public static final F<Integer,Long> Integer_Long
A function that converts integers to longs.


Integer_Short

public static final F<Integer,Short> Integer_Short
A function that converts integers to shorts.


Long_Boolean

public static final F<Long,Boolean> Long_Boolean
A function that converts longs to booleans.


Long_Byte

public static final F<Long,Byte> Long_Byte
A function that converts longs to bytes.


Long_Character

public static final F<Long,Character> Long_Character
A function that converts longs to characters.


Long_Double

public static final F<Long,Double> Long_Double
A function that converts longs to doubles.


Long_Float

public static final F<Long,Float> Long_Float
A function that converts longs to floats.


Long_Integer

public static final F<Long,Integer> Long_Integer
A function that converts longs to integers.


Long_Short

public static final F<Long,Short> Long_Short
A function that converts longs to shorts.


Short_Boolean

public static final F<Short,Boolean> Short_Boolean
A function that converts shorts to booleans.


Short_Byte

public static final F<Short,Byte> Short_Byte
A function that converts shorts to bytes.


Short_Character

public static final F<Short,Character> Short_Character
A function that converts shorts to characters.


Short_Double

public static final F<Short,Double> Short_Double
A function that converts shorts to doubles.


Short_Float

public static final F<Short,Float> Short_Float
A function that converts shorts to floats.


Short_Integer

public static final F<Short,Integer> Short_Integer
A function that converts shorts to integers.


Short_Long

public static final F<Short,Long> Short_Long
A function that converts shorts to longs.


Copyright 2008 - 2010 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg

This software is released under an open source BSD licence.