org.op4j.functions
Class FnSet

Object
  extended by org.op4j.functions.FnSet

public class FnSet
extends Object

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

Since:
1.0
Author:
Daniel Fernández

Method Summary
static
<T> FnSetOf<T>
of(org.javaruntype.type.Type<T> type)
           Specifies the type of the set components, so that the adequate set functions can be offered.
static
<T> FnSetOfArrayOf<T>
ofArrayOf(org.javaruntype.type.Type<T> type)
           
static FnSetOf<BigDecimal> ofBigDecimal()
           Specifies the set as a Set<BigDecimal>, so that the adequate set functions can be offered.
static FnSetOf<BigInteger> ofBigInteger()
           Specifies the set as a Set<BigInteger>, so that the adequate set functions can be offered.
static FnSetOf<Boolean> ofBoolean()
           Specifies the set as a Set<Boolean>, so that the adequate set functions can be offered.
static FnSetOf<Byte> ofByte()
           Specifies the set as a Set<Byte>, so that the adequate set functions can be offered.
static FnSetOf<Calendar> ofCalendar()
           Specifies the set as a Set<Calendar>, so that the adequate set functions can be offered.
static FnSetOf<Character> ofCharacter()
           Specifies the set as a Set<Character>, so that the adequate set functions can be offered.
static FnSetOf<Date> ofDate()
           Specifies the set as a Set<Date>, so that the adequate set functions can be offered.
static FnSetOf<Double> ofDouble()
           Specifies the set as a Set<Double>, so that the adequate set functions can be offered.
static FnSetOf<Float> ofFloat()
           Specifies the set as a Set<Float>, so that the adequate set functions can be offered.
static FnSetOf<Integer> ofInteger()
           Specifies the set as a Set<Integer>, so that the adequate set functions can be offered.
static
<T> FnSetOfListOf<T>
ofListOf(org.javaruntype.type.Type<T> type)
           
static FnSetOf<Long> ofLong()
           Specifies the set as a Set<Long>, so that the adequate set functions can be offered.
static FnSetOf<Object> ofObject()
           Specifies the set as a Set<Object>, so that the adequate set functions can be offered.
static
<T> FnSetOfSetOf<T>
ofSetOf(org.javaruntype.type.Type<T> type)
           
static FnSetOf<Short> ofShort()
           Specifies the set as a Set<Short>, so that the adequate set functions can be offered.
static FnSetOf<String> ofString()
           Specifies the set as a Set<String>, so that the adequate set 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> FnSetOf<T> of(org.javaruntype.type.Type<T> type)

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

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

ofArrayOf

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

ofListOf

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

ofSetOf

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

ofObject

public static FnSetOf<Object> ofObject()

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

Returns:
the adequate set function hub

ofBigInteger

public static FnSetOf<BigInteger> ofBigInteger()

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

Returns:
the adequate set function hub

ofBigDecimal

public static FnSetOf<BigDecimal> ofBigDecimal()

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

Returns:
the adequate set function hub

ofBoolean

public static FnSetOf<Boolean> ofBoolean()

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

Returns:
the adequate set function hub

ofByte

public static FnSetOf<Byte> ofByte()

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

Returns:
the adequate set function hub

ofCharacter

public static FnSetOf<Character> ofCharacter()

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

Returns:
the adequate set function hub

ofCalendar

public static FnSetOf<Calendar> ofCalendar()

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

Returns:
the adequate set function hub

ofDate

public static FnSetOf<Date> ofDate()

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

Returns:
the adequate set function hub

ofDouble

public static FnSetOf<Double> ofDouble()

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

Returns:
the adequate set function hub

ofFloat

public static FnSetOf<Float> ofFloat()

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

Returns:
the adequate set function hub

ofInteger

public static FnSetOf<Integer> ofInteger()

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

Returns:
the adequate set function hub

ofLong

public static FnSetOf<Long> ofLong()

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

Returns:
the adequate set function hub

ofShort

public static FnSetOf<Short> ofShort()

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

Returns:
the adequate set function hub

ofString

public static FnSetOf<String> ofString()

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

Returns:
the adequate set function hub


Copyright © 2012 The OP4J team. All Rights Reserved.