Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Graph example
dburyak
Jun 28th, 2019
269
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
Untitled
HTML | 6 min ago | 0.07 KB
Swimbot Error
Python | 34 min ago | 0.67 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 39 min ago | 0.39 KB
Ps99 Script
Lua | 46 min ago | 0.08 KB
Decimal to Roman
PHP | 59 min ago | 2.53 KB
Brave new world
C# | 1 hour ago | 6.10 KB
Slot Disk Writer
Lua | 1 hour ago | 1.37 KB
Untitled
HTML | 1 hour ago | 2.64 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!