summaryrefslogtreecommitdiff
path: root/ds/comparer.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2020-07-14 22:41:16 +0100
committerPaul Buetow <paul@buetow.org>2020-07-14 22:41:16 +0100
commit7f87861624a1c5feb5523479db1c242a98f659b2 (patch)
treeed71e8e045c21738b3305e4609d66c5a4a2d5032 /ds/comparer.go
parent1a175ce919dddb8d3a58533f3827a105483442c0 (diff)
add shellsort and refactor a bit
Diffstat (limited to 'ds/comparer.go')
-rw-r--r--ds/comparer.go3
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