Re: [jgrapht-users] Why are getSource() and getTarget() protected?
Brought to you by:
barak_naveh,
perfecthash
From: John S. <js...@gm...> - 2018-01-07 01:21:42
|
Applications should use getEdgeSource and getEdgeTarget from the graph interface rather than accessing these directly. So they are protected in order to prevent accidental use. On Jan 6, 2018 5:04 PM, "Victor Porton" <po...@na...> wrote: > Why in > http://jgrapht.org/javadoc/org/jgrapht/graph/DefaultEdge.html > getSource() and getTarget() are protected (rather than public)? > > I don't see any sense of them being non-public. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > jgrapht-users mailing list > jgr...@li... > https://lists.sourceforge.net/lists/listinfo/jgrapht-users > > |