diff options
| author | Paul Buetow <paul@buetow.org> | 2020-07-17 10:01:52 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2020-07-17 10:01:52 +0100 |
| commit | dbd6388393282672859c789b0e1b58d4f8fd0d0b (patch) | |
| tree | 252fe3f8cac56dc6f2934dc91634679a445ee593 /ds/elem.go | |
| parent | e858efc16960b86175d655add938acd3f1edd13e (diff) | |
refactor
Diffstat (limited to 'ds/elem.go')
| -rw-r--r-- | ds/elem.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ds/elem.go b/ds/elem.go new file mode 100644 index 0000000..0589e81 --- /dev/null +++ b/ds/elem.go @@ -0,0 +1,10 @@ +package ds + +type Elem interface { + Equal(a Elem) bool + Lower(a Elem) bool + LowerEqual(a Elem) bool + Higher(a Elem) bool + HigherEqual(a Elem) bool + Int() int +} |
