net.sf.jga.fn.property
Class Property

java.lang.Object
  extended by net.sf.jga.fn.property.Property

public class Property
extends java.lang.Object

Facade containing static factory methods for the functors in this package.

Copyright © 2004 David A. Hall


Constructor Summary
Property()
           
 
Method Summary
static
<T1,T2> ArrayBinary<T1,T2>
arrayBinary()
           
static
<T> ArrayUnary<T>
arrayUnary()
           
static
<R> Cast<R>
cast(java.lang.Class<R> type)
           
static
<T,V> CompareProperty<T,V>
compareProperty(java.lang.Class<T> type, java.lang.String name, BinaryFunctor<V,V,java.lang.Boolean> bf, V value)
           
static
<T,V> CompareProperty<T,V>
compareProperty(java.lang.Class<T> type, java.lang.String name, V value)
           
static
<R> Construct<R>
construct(java.lang.Class[] args, java.lang.Class<R> type)
           
static
<R> ConstructDefault<R>
construct(java.lang.Class<R> type)
           
static
<T,R> ConstructUnary<T,R>
construct(java.lang.Class<T> arg, java.lang.Class<R> type)
           
static
<T,R> GetProperty<T,R>
getProperty(java.lang.Class<T> type, java.lang.String name)
           
static
<T,R> SetProperty<T,R>
getProperty(java.lang.Class<T> type, java.lang.String name, java.lang.Class<R> prop)
           
static
<T> InstanceOf<T>
instanceOf(java.lang.Class<T> type)
           
static
<T,R> InvokeNoArgMethod<T,R>
invoke(java.lang.Class<T> type, java.lang.String name)
           
static
<T,R> InvokeMethod<T,R>
invoke(java.lang.Class<T> type, java.lang.String name, java.lang.Class arg)
           
static
<T,R> InvokeMethod<T,R>
invoke(java.lang.Class<T> type, java.lang.String name, java.lang.Class[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Method Detail

arrayUnary

public static <T> ArrayUnary<T> arrayUnary()

arrayBinary

public static <T1,T2> ArrayBinary<T1,T2> arrayBinary()

cast

public static <R> Cast<R> cast(java.lang.Class<R> type)

compareProperty

public static <T,V> CompareProperty<T,V> compareProperty(java.lang.Class<T> type,
                                                         java.lang.String name,
                                                         V value)

compareProperty

public static <T,V> CompareProperty<T,V> compareProperty(java.lang.Class<T> type,
                                                         java.lang.String name,
                                                         BinaryFunctor<V,V,java.lang.Boolean> bf,
                                                         V value)

construct

public static <R> Construct<R> construct(java.lang.Class[] args,
                                         java.lang.Class<R> type)

construct

public static <R> ConstructDefault<R> construct(java.lang.Class<R> type)

construct

public static <T,R> ConstructUnary<T,R> construct(java.lang.Class<T> arg,
                                                  java.lang.Class<R> type)

getProperty

public static <T,R> GetProperty<T,R> getProperty(java.lang.Class<T> type,
                                                 java.lang.String name)

getProperty

public static <T,R> SetProperty<T,R> getProperty(java.lang.Class<T> type,
                                                 java.lang.String name,
                                                 java.lang.Class<R> prop)

instanceOf

public static <T> InstanceOf<T> instanceOf(java.lang.Class<T> type)

invoke

public static <T,R> InvokeNoArgMethod<T,R> invoke(java.lang.Class<T> type,
                                                  java.lang.String name)

invoke

public static <T,R> InvokeMethod<T,R> invoke(java.lang.Class<T> type,
                                             java.lang.String name,
                                             java.lang.Class arg)

invoke

public static <T,R> InvokeMethod<T,R> invoke(java.lang.Class<T> type,
                                             java.lang.String name,
                                             java.lang.Class[] args)


Copyright © 2002-2005 David A. Hall. All Rights Reserved.