public static final class RegionAdjacencyGraph.LabelPair extends Object implements Comparable<RegionAdjacencyGraph.LabelPair>
| Modifier and Type | Field and Description | 
|---|---|
int | 
label1
The first label. 
 | 
int | 
label2
The second label. 
 | 
| Constructor and Description | 
|---|
LabelPair(int label1,
         int label2)
Creates a new Label Pair. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(RegionAdjacencyGraph.LabelPair pair)  | 
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
public final int label1
public final int label2
public LabelPair(int label1,
                 int label2)
label1 - the first label.label2 - the second label.public int compareTo(RegionAdjacencyGraph.LabelPair pair)
compareTo in interface Comparable<RegionAdjacencyGraph.LabelPair>Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.