Top Java Methods
Below is the collection of the most frequently used Java methods.
You may also use the search function to quickly find the examples you need.
-
51. com.google.common.base.Preconditions. checkNotNull ( )(5%)
-
52. java.util.HashMap. get ( )(5%)
-
53. java.util.Map. containsKey ( )(5%)
-
54. org.testng.Assert. assertEquals ( )(5%)
-
55. java.io.InputStream. read ( )(5%)
-
56. java.util.regex.Matcher. find ( )(4%)
-
57. ims.framework.enumerations.SortOrder. ASCENDING ( )(4%)
-
58. java.lang.reflect.Method. invoke ( )(4%)
-
59. org.springframework.web.bind.annotation.RequestMethod. GET ( )(4%)
-
60. java.util.Collections. unmodifiableList ( )(4%)
-
61. android.database.Cursor. close ( )(4%)
-
62. java.util.Map. keySet ( )(4%)
-
63. java.io.InputStream. close ( )(4%)
-
64. junit.framework.Assert. assertEquals ( )(4%)
-
65. java.util.Set. contains ( )(4%)
-
66. android.content.Context. getSystemService ( )(4%)
-
67. java.io.OutputStream. write ( )(4%)
-
68. org.mockito.Mockito. mock ( )(4%)
-
69. java.util.Enumeration. hasMoreElements ( )(4%)
-
70. java.util.Arrays. fill ( )(4%)
-
71. java.util.List. contains ( )(4%)
-
72. java.io.File. separator ( )(4%)
-
73. java.io.File. listFiles ( )(4%)
-
74. java.io.File. mkdirs ( )(4%)
-
75. java.io.PrintWriter. println ( )(4%)
-
76. java.util.Objects. hash ( )(4%)
-
77. cpw.mods.fml.relauncher.Side. CLIENT ( )(4%)
-
78. android.database.Cursor. moveToFirst ( )(4%)
-
79. java.util.Random. nextInt ( )(3%)
-
80. java.io.File. getAbsolutePath ( )(3%)
-
81. com.google.common.base.Preconditions. checkArgument ( )(3%)
-
82. java.util.Collection. size ( )(3%)
-
83. javax.ws.rs.core.MediaType. APPLICATION_JSON ( )(3%)
-
84. android.os.Bundle. putString ( )(3%)
-
85. java.util.Arrays. equals ( )(3%)
-
86. java.sql.Connection. prepareStatement ( )(3%)
-
87. java.util.Set. addAll ( )(3%)
-
88. java.util.Collections. singletonList ( )(3%)
-
89. java.util.Arrays. copyOf ( )(3%)
-
90. java.util.Iterator. remove ( )(3%)
-
91. java.util.Arrays. sort ( )(3%)
-
92. android.util.Log. v ( )(3%)
-
93. android.content.res.TypedArray. recycle ( )(3%)
-
94. android.preference.PreferenceManager. getDefaultSharedPreferences ( )(3%)
-
95. java.util.Set. size ( )(3%)
-
96. java.util.regex.Pattern. matcher ( )(3%)
-
97. java.util.regex.Matcher. group ( )(3%)
-
98. java.util.Enumeration. nextElement ( )(3%)
-
99. java.util.Optional. of ( )(3%)
-
100. java.util.List. remove ( )(3%)
All Pages: