org.zedlib
Class Seqlet

java.lang.Object
  extended byorg.zedlib.Maplet
      extended byorg.zedlib.Seqlet
All Implemented Interfaces:
Comparable

public class Seqlet
extends Maplet
implements Comparable

If X and Y are sets, then X ↔ Y is the set of binary relations between X and Y. Each such relation is a subset of X x Y . The 'maplet' notation from x to y is another way of expressing the ordered pair (x, y). A 'seqlet' is a maplet whose x values (domain) are integers.

Author:
Brad Long

Field Summary
 
Fields inherited from class org.zedlib.Maplet
x, y
 
Constructor Summary
Seqlet()
           
Seqlet(int x, Object y)
           
 
Method Summary
 int compareTo(Object o)
           
 int key()
           
 
Methods inherited from class org.zedlib.Maplet
equals, first, hashCode, second, x, y
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Seqlet

public Seqlet()

Seqlet

public Seqlet(int x,
              Object y)
Method Detail

key

public int key()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2006 Brad Long. All Rights Reserved.