From 024626a1b8381a3a0282482f8fc9496c64ae167f Mon Sep 17 00:00:00 2001 From: bbss Date: Thu, 24 Sep 2020 21:03:11 +0900 Subject: [PATCH] add type hints for JDK-11+ --- src/hier_set/core.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hier_set/core.clj b/src/hier_set/core.clj index 8f40e89..4fcfd0d 100644 --- a/src/hier_set/core.clj +++ b/src/hier_set/core.clj @@ -88,8 +88,8 @@ include `key` if `strict?` is true, defaulting to false.")) (isEmpty [this] (.isEmpty contents)) (iterator [this] (.iterator contents)) (size [this] (.size contents)) - (toArray [this] (.toArray contents)) - (toArray [this a] (.toArray contents a)) + (^objects toArray [this] (.toArray contents)) + (^objects toArray [this ^objects a] (.toArray contents a)) Sorted (comparator [this] (.comparator contents))