使用次数最多的Java API排行

17-02-14 banq

programtalk网站列出了最流行的Java API排行,也就是使用最多的Java API从多到少排列,看看你是否熟悉?也许可以拾遗补漏:

右边括弧中是使用次数:

java.io.File (36721)

java.io.InputStream (13582)

java.util.List (9322)

java.io.ByteArrayOutputStream (8886)

android.view.View (8515)

android.content.Intent (8289)

java.nio.ByteBuffer (8029)

java.util.Iterator (7720)

java.sql.Connection (7024)

java.lang.reflect.Method (7002)

java.util.Properties (6920)

java.util.Date (6743)

java.util.ArrayList (6625)

java.net.URL (6458)

java.sql.Statement (5287)

java.sql.ResultSet (5235)

org.apache.hadoop.conf.Configuration (4803)

org.apache.hadoop.fs.Path (4656)

java.util.concurrent.CountDownLatch (4587)

java.util.regex.Matcher (4567)

java.util.Map (4542)

java.util.Calendar (4475)

java.nio.file.Path (4454)

java.util.Random (4337)

com.intellij.openapi.vfs.VirtualFile (4191)

java.io.BufferedReader (4151)

java.net.URI (4146)

javax.persistence.EntityManager (3972)

android.os.Bundle (3927)

java.io.StringWriter (3785)

org.w3c.dom.Element (3761)

java.sql.PreparedStatement (3751)

java.lang.reflect.Field (3573)

org.json.JSONObject (3470)

org.apache.camel.component.mock.MockEndpoint (3432)

org.w3c.dom.Document (3413)

javax.persistence.Query (3397)

com.fasterxml.jackson.core.JsonToken (3336)

java.io.OutputStream (3294)

android.database.Cursor (3279)

java.util.HashMap (3135)

java.io.PrintWriter (3073)

javax.jcr.Node (3035)

com.intellij.openapi.project.Project (3001)

java.math.BigDecimal (2836)

java.io.ByteArrayInputStream (2831)

java.awt.image.BufferedImage (2778)

android.widget.TextView (2722)

java.math.BigInteger (2698)

java.util.concurrent.atomic.AtomicInteger (2600)

java.util.UUID (2544)

org.apache.hadoop.fs.FileSystem (2521)

java.util.regex.Pattern (2505)

com.intellij.psi.PsiElement (2421)

android.content.SharedPreferences (2375)

android.graphics.Bitmap (2332)

java.io.FileOutputStream (2317)

org.w3c.dom.Node (2280)

org.w3c.dom.NodeList (2256)

java.util.Locale (2249)

javax.servlet.http.HttpServletRequest (2141)

org.alfresco.service.cmr.repository.NodeRef (2095)

org.joda.time.DateTime (2020)

java.util.concurrent.ExecutorService (1987)

java.text.SimpleDateFormat (1953)

java.util.Set (1945)

org.camunda.bpm.engine.runtime.ProcessInstance (1923)

org.apache.camel.Exchange (1911)

java.util.concurrent.atomic.AtomicBoolean (1878)

每个API详解案例见原文:

Popular Java API examples