org.op4j.functions
Class FnList

Object
  extended by org.op4j.functions.FnList

public class FnList
extends Object

Function hub class for functions on lists. As these functions have to be parameterized depending on the type of the list elements, this function hub class does not contain the real functions, but instead provides methods for specifying the type of the list components so that the appropiate functions are offered.

Since:
1.0
Author:
Daniel Fernández

Method Summary
static
<T> FnListOf<T>
of(org.javaruntype.type.Type<T> type)
           Specifies the type of the list components, so that the adequate list functions can be offered.
static
<T> FnListOfArrayOf<T>
ofArrayOf(org.javaruntype.type.Type<T> type)
           
static FnListOf<BigDecimal> ofBigDecimal()
           Specifies the list as a List<BigDecimal>, so that the adequate list functions can be offered.
static FnListOf<BigInteger> ofBigInteger()
           Specifies the list as a List<BigInteger>, so that the adequate list functions can be offered.
static FnListOf<Boolean> ofBoolean()
           Specifies the list as a List<Boolean>, so that the adequate list functions can be offered.
static FnListOf<Byte> ofByte()
           Specifies the list as a List<Byte>, so that the adequate list functions can be offered.
static FnListOf<Calendar> ofCalendar()
           Specifies the list as a List<Calendar>, so that the adequate list functions can be offered.
static FnListOf<Character> ofCharacter()
           Specifies the list as a List<Character>, so that the adequate list functions can be offered.
static FnListOf<Date> ofDate()
           Specifies the list as a List<Date>, so that the adequate list functions can be offered.
static FnListOf<Double> ofDouble()
           Specifies the list as a List<Double>, so that the adequate list functions can be offered.
static FnListOf<Float> ofFloat()
           Specifies the list as a List<Float>, so that the adequate list functions can be offered.
static FnListOf<Integer> ofInteger()
           Specifies the list as a List<Integer>, so that the adequate list functions can be offered.
static
<T> FnListOfListOf<T>
ofListOf(org.javaruntype.type.Type<T> type)
           
static FnListOf<Long> ofLong()
           Specifies the list as a List<Long>, so that the adequate list functions can be offered.
static FnListOf<Object> ofObject()
           Specifies the list as a List<Object>, so that the adequate list functions can be offered.
static
<T> FnListOfSetOf<T>
ofSetOf(org.javaruntype.type.Type<T> type)
           
static FnListOf<Short> ofShort()
           Specifies the list as a List<Short>, so that the adequate list functions can be offered.
static FnListOf<String> ofString()
           Specifies the list as a List<String>, so that the adequate list functions can be offered.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static <T> FnListOf<T> of(org.javaruntype.type.Type<T> type)

Specifies the type of the list components, so that the adequate list functions can be offered.

Parameters:
type - the type of the list components
Returns:
the adequate list function hub

ofArrayOf

public static <T> FnListOfArrayOf<T> ofArrayOf(org.javaruntype.type.Type<T> type)

ofListOf

public static <T> FnListOfListOf<T> ofListOf(org.javaruntype.type.Type<T> type)

ofSetOf

public static <T> FnListOfSetOf<T> ofSetOf(org.javaruntype.type.Type<T> type)

ofObject

public static FnListOf<Object> ofObject()

Specifies the list as a List<Object>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofBigInteger

public static FnListOf<BigInteger> ofBigInteger()

Specifies the list as a List<BigInteger>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofBigDecimal

public static FnListOf<BigDecimal> ofBigDecimal()

Specifies the list as a List<BigDecimal>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofBoolean

public static FnListOf<Boolean> ofBoolean()

Specifies the list as a List<Boolean>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofByte

public static FnListOf<Byte> ofByte()

Specifies the list as a List<Byte>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofCharacter

public static FnListOf<Character> ofCharacter()

Specifies the list as a List<Character>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofCalendar

public static FnListOf<Calendar> ofCalendar()

Specifies the list as a List<Calendar>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofDate

public static FnListOf<Date> ofDate()

Specifies the list as a List<Date>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofDouble

public static FnListOf<Double> ofDouble()

Specifies the list as a List<Double>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofFloat

public static FnListOf<Float> ofFloat()

Specifies the list as a List<Float>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofInteger

public static FnListOf<Integer> ofInteger()

Specifies the list as a List<Integer>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofLong

public static FnListOf<Long> ofLong()

Specifies the list as a List<Long>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofShort

public static FnListOf<Short> ofShort()

Specifies the list as a List<Short>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub

ofString

public static FnListOf<String> ofString()

Specifies the list as a List<String>, so that the adequate list functions can be offered.

Returns:
the adequate list function hub


Copyright © 2012 The OP4J team. All Rights Reserved.