Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Graph example
dburyak
Jun 28th, 2019
326
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Groovy
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
class
Node
<
N
>
{
N data
}
class
Edge
<
N, E
>
{
E data
Node
<
N
>
from
Node
<
N
>
to
}
class
Graph
<
N, E
>
{
Set
<
Node
<
N
>>
nodes
Set
<
Edge
<
N, E
>>
edges
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐ 500$ For 45 Minutes KM
JavaScript | 2 min ago | 0.06 KB
Blackhole v5.0 Spring-based Grav Experiment
Lua | 6 min ago | 4.01 KB
⭐GET ANY GIFT-CÂRD FOR FREE⭐ W9
JavaScript | 9 min ago | 0.06 KB
Mens only (Feb 23, 2025)
HTML | 16 min ago | 7.18 KB
Your Bitcoin Wallet Credentials have been res...
GetText | 16 min ago | 0.26 KB
⭐ Make $300 per hour L3
JavaScript | 18 min ago | 0.06 KB
github.com/linuxmint/sticky commands
Bash | 23 min ago | 0.44 KB
⭐GET ANY GIFT-CÂRD FOR FREE⭐ HZ
JavaScript | 25 min ago | 0.06 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!