From 46ec0785012c23bd1129bf4664358d613e5ce344 Mon Sep 17 00:00:00 2001 From: tsauerwein Date: Fri, 31 Oct 2014 11:17:03 +0100 Subject: [PATCH] Add Hashable interface --- src/ol/structs/hashable.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/ol/structs/hashable.js diff --git a/src/ol/structs/hashable.js b/src/ol/structs/hashable.js new file mode 100644 index 0000000000..371beafa6c --- /dev/null +++ b/src/ol/structs/hashable.js @@ -0,0 +1,16 @@ +goog.provide('ol.structs.IHashable'); + + + +/** + * @interface + */ +ol.structs.IHashable = function() { +}; + + +/** + * @return {number} The hash code. + */ +ol.structs.IHashable.prototype.hashCode = function() { +};