These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples. + Save this class Example 1 Project: GOF
The following code examples demonstrate the Java interaction with the API. All examples also expect your API key.Example 1Get the exchange rate between two currenciesimport org.apache.commons.io.IOUtils; import org.json.JSONObject; import java.net.URL; URL url = new URL( "http://jsonrates....
Integer, Long, Float, Double: the corresponding wrapper object type from java.lang Utf8: a string (must have suitable syntax if used as signature or name) Class: any java.lang.Class object String: any object (not just a java.lang.String) InterfaceMethodRef: (NYI) a method handle ...
GitHub repo:code-examples-java This GitHub repo includes code examples for theWeb Forms API,Docusign Admin API,Click API,eSignature REST API,Monitor API, andRooms API. Introduction This repo is a Java Spring Boot application that supports the following authentication workflows: ...
origin:json-iterator/java DynamicCodegen.gen(...) publicstaticDecoder gen(String cacheKey, String source)throwsException {Decoder decoder;CtClass ctClass = pool.makeClass(cacheKey);ctClass.setInterfaces(newCtClass[]{pool.get(Decoder.class.getName())});CtMethod staticMethod = CtNewMethod.make(sou...
Example 1 Project: lettuce File: FuturesTest.java View source code 6 votes <!-- Vote up --> @Test public void regularUse() throws Exception { fi
Download required SDKs and demos for Java. Copy the following code sample to a new Java file and run it.Sending SMSs shows an example of sending group SMSs with a single
The following is a list of Java™ code examples for the IBM® i.InternationalizationExample: Internationalization of dates using the java.util.DateFormat class Example: Internationalization of numeric display using the java.util.NumberFormat class Example: Internationalization of locale-specific data ...
Examples for On Java 8 by Bruce Eckel If you want to experiment with the code examples from the book On Java 8, you're in the right place. These examples are automatically extracted directly from the book. This repository includes tests to verify that the code in the book is correct. NO...
To build and run HeaderExample using Ant, go to the directorytut-install/javaeetutorial5/examples/saaj/headers/. Use one of the following commands: ant run-headers -Dsoap=1.1 ant run-headers -Dsoap=1.2 When you run HeaderExample to generate a SOAP 1.1 message, you will see output similar...