JSci.maths.categories
Class Preorder.Relation

java.lang.Object
  extended by JSci.maths.categories.Preorder.Relation
All Implemented Interfaces:
Category.Morphism
Enclosing class:
Preorder

public class Preorder.Relation
extends java.lang.Object
implements Category.Morphism


Constructor Summary
Preorder.Relation(java.lang.Integer a, java.lang.Integer b)
           
 
Method Summary
 java.lang.Object codomain()
          Returns the codomain.
 Category.Morphism compose(Category.Morphism m)
          Returns the composition of this morphism with another.
 java.lang.Object domain()
          Returns the domain.
 java.lang.Object map(java.lang.Object o)
          Maps an object from the domain to the codomain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Preorder.Relation

public Preorder.Relation(java.lang.Integer a,
                         java.lang.Integer b)
Method Detail

domain

public java.lang.Object domain()
Description copied from interface: Category.Morphism
Returns the domain.

Specified by:
domain in interface Category.Morphism

codomain

public java.lang.Object codomain()
Description copied from interface: Category.Morphism
Returns the codomain.

Specified by:
codomain in interface Category.Morphism

map

public java.lang.Object map(java.lang.Object o)
Description copied from interface: Category.Morphism
Maps an object from the domain to the codomain.

Specified by:
map in interface Category.Morphism

compose

public Category.Morphism compose(Category.Morphism m)
Description copied from interface: Category.Morphism
Returns the composition of this morphism with another.

Specified by:
compose in interface Category.Morphism