v <- .JNew("util.Vector")
# get all the methods
head(getJavaMethods(v))
# get all the add() methods
getJavaMethods(v)[["add"]]
constr <- getJavaConstructors("util.Vector")
length(constr)
constr[[1]]
Run the code above in your browser using DataLab