All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Java.libraries.native.model_anyof_doc.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
# {{classname}}

{{#description}}
{{&description}}

{{/description}}
## anyOf schemas
{{#anyOf}}
* [{{{.}}}]({{{.}}}.md)
{{/anyOf}}

{{#isNullable}}
NOTE: this class is nullable.

{{/isNullable}}
## Example
```java
// Import classes:
import {{{package}}}.{{{classname}}};
{{#anyOf}}
import {{{package}}}.{{{.}}};
{{/anyOf}}

public class Example {
    public static void main(String[] args) {
        {{classname}} example{{classname}} = new {{classname}}();
        {{#anyOf}}

        // create a new {{{.}}}
        {{{.}}} example{{{.}}} = new {{{.}}}();
        // set {{{classname}}} to {{{.}}}
        example{{classname}}.setActualInstance(example{{{.}}});
        // to get back the {{{.}}} set earlier
        {{{.}}} test{{{.}}} = ({{{.}}}) example{{classname}}.getActualInstance();
        {{/anyOf}}
    }
}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy