diff options
| author | Paul Buetow <paul@buetow.org> | 2020-07-14 22:41:16 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2020-07-14 22:41:16 +0100 |
| commit | 7f87861624a1c5feb5523479db1c242a98f659b2 (patch) | |
| tree | ed71e8e045c21738b3305e4609d66c5a4a2d5032 /ds/comparer.go | |
| parent | 1a175ce919dddb8d3a58533f3827a105483442c0 (diff) | |
add shellsort and refactor a bit
Diffstat (limited to 'ds/comparer.go')
| -rw-r--r-- | ds/comparer.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ds/comparer.go b/ds/comparer.go index 737ad1b..168ec19 100644 --- a/ds/comparer.go +++ b/ds/comparer.go @@ -4,6 +4,5 @@ type Comparer interface { LowerThan(a Comparer) bool HigherThan(a Comparer) bool Equals(a Comparer) bool + IntVal() int } - -type CompareList []Comparer |
