Add IndexOutOfBoundsException and Map$Entry (#751)

* Add IndexOutOfBoundsException, IHashEq and Map$Entry

* Remove IHashEq interface
This commit is contained in:
Wilker Lúcio 2021-03-10 19:21:35 -03:00 committed by GitHub
parent 16e92fa581
commit 39284ae707
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View file

@ -118,6 +118,7 @@
java.lang.Exception java.lang.Exception
java.lang.Float java.lang.Float
java.lang.IllegalArgumentException java.lang.IllegalArgumentException
java.lang.IndexOutOfBoundsException
java.lang.Integer java.lang.Integer
java.lang.Iterable java.lang.Iterable
java.lang.Long java.lang.Long
@ -297,7 +298,8 @@
clojure.lang.Seqable clojure.lang.Seqable
clojure.lang.Volatile clojure.lang.Volatile
java.util.List java.util.List
java.util.Iterator] java.util.Iterator
java.util.Map$Entry]
:custom ~custom-map}) :custom ~custom-map})
(defmacro gen-class-map [] (defmacro gen-class-map []

View file

@ -62,6 +62,10 @@
clojure.lang.ILookup clojure.lang.ILookup
{valAt [[this k] [this k default]]} {valAt [[this k] [this k default]]}
java.util.Map$Entry
{getKey [[this]]
getValue [[this]]}
clojure.lang.IFn clojure.lang.IFn
{applyTo [[this arglist]] {applyTo [[this arglist]]
invoke [[this] invoke [[this]

View file

@ -436,6 +436,7 @@ Use -- to separate script command line args from bb command line args.
Comparable java.lang.Comparable Comparable java.lang.Comparable
Double java.lang.Double Double java.lang.Double
Exception java.lang.Exception Exception java.lang.Exception
IndexOutOfBoundsException java.lang.IndexOutOfBoundsException
IllegalArgumentException java.lang.IllegalArgumentException IllegalArgumentException java.lang.IllegalArgumentException
Integer java.lang.Integer Integer java.lang.Integer
Iterable java.lang.Iterable Iterable java.lang.Iterable