Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.immutables.javaslang.encodings.JavaslangSetEncodingEnabled Maven / Gradle / Ivy
package org.immutables.javaslang.encodings;
import org.immutables.encode.EncodingMetadata;
@EncodingMetadata(
name = "org.immutables.javaslang.encodings.JavaslangSetEncoding",
imports = {
},
typeParams = {"T"},
elements = {
@EncodingMetadata.Element(
name = "field",
tags = {"IMPL", "PRIVATE", "FINAL", "FIELD"},
naming = "*",
stdNaming = "NONE",
type = "javaslang.collection.Set",
typeParams = {},
params = {},
code = "",
thrown = {}
),
@EncodingMetadata.Element(
name = "javaslangSetEncoding_from",
tags = {"STATIC", "PRIVATE", "FROM", "SYNTH"},
naming = "*_from",
stdNaming = "NONE",
type = "javaslang.collection.Set",
typeParams = {},
params = {"value: javaslang.collection.Set"},
code = "{\nreturn @^value;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "toString",
tags = {"PRIVATE", "TO_STRING", "SYNTH"},
naming = "*_toString",
stdNaming = "NONE",
type = "java.lang.String",
typeParams = {},
params = {},
code = "{\nreturn @:javaslangSetEncoding_get().toString();\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "hashCode",
tags = {"PRIVATE", "HASH_CODE", "SYNTH"},
naming = "*_hashCode",
stdNaming = "NONE",
type = "int",
typeParams = {},
params = {},
code = "{\nreturn @:javaslangSetEncoding_get().hashCode();\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "equals",
tags = {"PRIVATE", "EQUALS", "SYNTH"},
naming = "*_equals",
stdNaming = "NONE",
type = "java.lang.String",
typeParams = {},
params = {"other: org.immutables.javaslang.encodings.JavaslangSetEncoding"},
code = "{\nreturn this.@:javaslangSetEncoding_get().equals(@^other.@:javaslangSetEncoding_get())\n;}",
thrown = {}
),
@EncodingMetadata.Element(
name = "build",
tags = {"BUILDER", "PRIVATE", "BUILD"},
naming = "*_build",
stdNaming = "NONE",
type = "javaslang.collection.Set",
typeParams = {},
params = {},
code = "{\nreturn this.@@set;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "javaslangSetEncoding_get",
tags = {"EXPOSE", "SYNTH"},
naming = "*",
stdNaming = "NONE",
type = "javaslang.collection.Set",
typeParams = {},
params = {},
code = "{\nreturn @@field;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "javaslangSetEncoding_copy",
tags = {"COPY", "SYNTH"},
naming = "*",
stdNaming = "NONE",
type = "javaslang.collection.Set",
typeParams = {},
params = {"value: javaslang.collection.Set"},
code = "{\nreturn @:javaslangSetEncoding_from(@^value);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "set",
tags = {"BUILDER", "PRIVATE", "FIELD"},
naming = "*_set",
stdNaming = "NONE",
type = "javaslang.collection.Set",
typeParams = {},
params = {},
code = "javaslang.collection.HashSet.empty()",
thrown = {}
),
@EncodingMetadata.Element(
name = "add",
tags = {"BUILDER", "INIT"},
naming = "*",
stdNaming = "ADD",
type = "void",
typeParams = {},
params = {"element: T"},
code = "{\nthis.@@set = this.@@set.add(@^element);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "addAll",
tags = {"BUILDER", "INIT"},
naming = "*",
stdNaming = "ADD_ALL",
type = "void",
typeParams = {},
params = {"element: java.lang.Iterable"},
code = "{\nthis.@@set = this.@@set.addAll(@^element);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "set",
tags = {"BUILDER", "INIT", "COPY"},
naming = "*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"elements: javaslang.collection.Set"},
code = "{\nthis.@@set = @^elements;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "setIterable",
tags = {"BUILDER", "INIT"},
naming = "setIterable*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"elements: java.lang.Iterable"},
code = "{\nthis.@@set = javaslang.collection.HashSet.ofAll(@^elements);\n}",
thrown = {}
)
}
)
public @interface JavaslangSetEncodingEnabled {}