Orbital library

orbital.logic.functor
Interface Functor.Composite

All Superinterfaces:
Composite, Functor
All Known Subinterfaces:
BinaryFunction.Composite, BinaryFunction.Composite, BinaryPredicate.Composite, Formula.Composite, Function.Composite, Function.Composite, MathFunctor.Composite, Predicate.Composite, VoidFunction.Composite, VoidPredicate.Composite
Enclosing interface:
Functor

public static interface Functor.Composite
extends Composite, Functor

The base interface for all functors that are composed of other functors.

Composition of functors is possible in several variations.

compose: (f,g) ↦ f ∘ g := f(g), or
compose: (f,(g1,...,gk)) ↦ f ∘ (g1,...,gk) := f(g1,...,gk)T vectorial, or
compose: (f,(g0,0,...,gn-1,m-1)) ↦ f ∘ (g0,0,...,gn-1,m-1) := f(g0,0,...,gn-1,m-1) matrix.

Author:
André Platzer
See Also:
(unidirectional and multiple) Composite Pattern
Structure:
inherits Functor, aggregate compositor:Functor, aggregate component:Object (usually Functor, Functor[], or Functor[][])

Nested Class Summary
 
Nested classes/interfaces inherited from interface orbital.logic.functor.Functor
Functor.Composite, Functor.Specification
 
Method Summary
 Notation getNotation()
          Get the notation used.
 void setNotation(Notation notation)
          Set the notation to use.
 
Methods inherited from interface orbital.logic.Composite
construct, getComponent, getCompositor, setComponent, setCompositor
 
Methods inherited from interface orbital.logic.functor.Functor
equals, hashCode, toString
 

Method Detail

getNotation

Notation getNotation()
Get the notation used.

Returns:
the notation used for formatting this composite functor.

setNotation

void setNotation(Notation notation)
Set the notation to use.

Optional operation.

Parameters:
notation - the notation to use for formatting this composite functor.
Throws:
java.lang.UnsupportedOperationException - if setting the notation is not supported.

Orbital library
1.3.0: 11 Apr 2009

Copyright © 1996-2009 André Platzer
All Rights Reserved.