Created
August 5, 2012 10:00
-
-
Save anonymous/3263574 to your computer and use it in GitHub Desktop.
Listening whilst reading
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// can't use a builder | |
AtomContainer container = new AtomContainer(); | |
container.addListener(new IChemObjectListener() { | |
@Override | |
public void stateChanged(IChemObjectChangeEvent iChemObjectChangeEvent) { | |
// detect bond changed | |
} | |
}); | |
container = reader.read(container); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment