Constructor and Description |
---|
AttachedGroup()
Creates a new instance of FunctionalGroup
|
AttachedGroup(List<Token> locations,
int length)
Creates a new instance of AttachedGroup with an int denoting the length of the substituent chain
|
AttachedGroup(List<Token> locations,
String name)
Creates a new instance of AttachedGroup with a Sting denoting the functional group
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Getter for property length.
|
List<Token> |
getLocations()
Getter for property locations.
|
String |
getName()
Getter for property name.
|
void |
setLength(int length)
Setter for property length.
|
void |
setLocations(List<Token> locations)
Setter for property locations.
|
void |
setName(String name)
Setter for property name.
|
String |
toString()
A debug string which represents the contents of the class.
|
public AttachedGroup()
public AttachedGroup(List<Token> locations, String name)
public String getName()
public void setName(String name)
name
- New value of property name.public List<Token> getLocations()
public void setLocations(List<Token> locations)
locations
- New value of property locations.public String toString()
public int getLength()
public void setLength(int length)
length
- New value of property length.Copyright © 2021. All rights reserved.