|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectndiff.relation.Relation
public class Relation
| Field Summary | |
|---|---|
static int |
EQUAL
|
static int |
MOVE
|
static int |
NO
|
static int |
UPDATE
|
| Constructor Summary | |
|---|---|
Relation()
Costruttore |
|
| Method Summary | |
|---|---|
void |
addFragment(Interval intX,
Interval intY,
java.lang.Integer weight,
java.lang.Integer type)
Crea un nuovo frammento con gli intervalli passati e il tipo di relazione In ogni caso istanzia i frammenti e clona gli intervalli contenuti |
void |
addFragment(int intX,
int intY,
java.lang.Integer weight,
java.lang.Integer type)
Inserisce nella relazione il punto (intX,intY) come type |
java.util.Vector<Fragment> |
getFragments(java.lang.Integer type)
Restiruisce un vettore che contiene i frammenti del tipo di relazione richiesta |
void |
subFragment(Fragment f)
Rimuove il frammento f dalla relazione |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO
public static final int EQUAL
public static final int MOVE
public static final int UPDATE
| Constructor Detail |
|---|
public Relation()
| Method Detail |
|---|
public void subFragment(Fragment f)
f - Frammento da rimuovere
public void addFragment(Interval intX,
Interval intY,
java.lang.Integer weight,
java.lang.Integer type)
intX - Intervallo sul dominiointY - Intervallo sul codominioweight - Peso del frammento aggiuntotype - Tipo di relazione degli intervalli
public void addFragment(int intX,
int intY,
java.lang.Integer weight,
java.lang.Integer type)
intX - Punto sul dominiointY - Punto sul codominioweight - Peso del frammento aggiuntotype - Tipo di relazione del puntopublic java.util.Vector<Fragment> getFragments(java.lang.Integer type)
type - tipo di relazione
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||