public class RMap extends Object
Constructor and Description |
---|
RMap(int id1,
int id2)
Constructor for the RMap.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
The equals method.
|
int |
getId1()
Gets the id1 attribute of the RMap object.
|
int |
getId2()
Gets the id2 attribute of the RMap object.
|
void |
setId1(int id1)
Sets the id1 attribute of the RMap object.
|
void |
setId2(int id2)
Sets the id2 attribute of the RMap object.
|
public RMap(int id1, int id2)
id1
- number of the edge (bond) in the graph 1id2
- number of the edge (bond) in the graph 2public void setId1(int id1)
id1
- The new id1 valuepublic void setId2(int id2)
id2
- The new id2 valuepublic int getId1()
public int getId2()
Copyright © 2021. All rights reserved.