Skip navigation

Search Help

Query Types

This section shows by example, the query types supported by our Java Examples database (what to enter in the search field -- note that queries are case sensitive).

Complexity

Our database also contains a measure of the complexity of the method in which each example lives. You can use this to further qualify your Class.method query by specifying an optional "complexity:n" clause with an n value of 1, 2 or 3, where 1 is low complexity and 3 is high. If you specify 2, for example, then only Java examples that occur in methods of medium complexity will be returned. For example, to find examples of Date.getTime in medium complexity methods, enter the query:

Note that this "complexity:n" clause cannot be used in Class-name queries, and is not used for implements and extends queries, since these usually do not occur within methods. Also, if your query does not specify a complexity clause then all complexities are returned.

Troubleshooting

If you have a problem with a query or its results:

Query Types - Not

Query types that JExamples does not currently support:
- Top -