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.JavaslangMultimapEncodingEnabled Maven / Gradle / Ivy
package org.immutables.javaslang.encodings;
import org.immutables.encode.EncodingMetadata;
@EncodingMetadata(
name = "org.immutables.javaslang.encodings.JavaslangMultimapEncoding",
imports = {
},
typeParams = {"K", "V"},
elements = {
@EncodingMetadata.Element(
name = "field",
tags = {"IMPL", "PRIVATE", "FINAL", "FIELD"},
naming = "*",
stdNaming = "NONE",
type = "javaslang.collection.Multimap",
typeParams = {},
params = {},
code = "",
thrown = {}
),
@EncodingMetadata.Element(
name = "javaslangMultimapEncoding_from",
tags = {"STATIC", "PRIVATE", "FROM", "SYNTH"},
naming = "*_from",
stdNaming = "NONE",
type = "javaslang.collection.Multimap",
typeParams = {},
params = {"value: javaslang.collection.Multimap"},
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 @:javaslangMultimapEncoding_get().toString();\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "hashCode",
tags = {"PRIVATE", "HASH_CODE", "SYNTH"},
naming = "*_hashCode",
stdNaming = "NONE",
type = "int",
typeParams = {},
params = {},
code = "{\nreturn @:javaslangMultimapEncoding_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.JavaslangMultimapEncoding"},
code = "{\nreturn this.@:javaslangMultimapEncoding_get().equals(@^other.@:javaslangMultimapEncoding_get())\n;}",
thrown = {}
),
@EncodingMetadata.Element(
name = "build",
tags = {"BUILDER", "PRIVATE", "BUILD"},
naming = "*_build",
stdNaming = "NONE",
type = "javaslang.collection.Multimap",
typeParams = {},
params = {},
code = "{\nreturn this.@@map;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "javaslangMultimapEncoding_get",
tags = {"EXPOSE", "SYNTH"},
naming = "*",
stdNaming = "NONE",
type = "javaslang.collection.Multimap",
typeParams = {},
params = {},
code = "{\nreturn @@field;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "javaslangMultimapEncoding_copy",
tags = {"COPY", "SYNTH"},
naming = "*",
stdNaming = "NONE",
type = "javaslang.collection.Multimap",
typeParams = {},
params = {"value: javaslang.collection.Multimap"},
code = "{\nreturn @:javaslangMultimapEncoding_from(@^value);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "map",
tags = {"BUILDER", "PRIVATE", "FIELD"},
naming = "*_map",
stdNaming = "NONE",
type = "javaslang.collection.Multimap",
typeParams = {},
params = {},
code = "javaslang.collection.HashMultimap.withSet().empty()",
thrown = {}
),
@EncodingMetadata.Element(
name = "put",
tags = {"BUILDER", "INIT"},
naming = "*",
stdNaming = "PUT",
type = "void",
typeParams = {},
params = {"key: K", "value: V"},
code = "{\nthis.@@map = this.@@map.put(@^key, @^value);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "putEntry",
tags = {"BUILDER", "INIT", "DEPLURALIZE"},
naming = "putEntry*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"entry: javaslang.Tuple2"},
code = "{\nthis.@@map = this.@@map.put(@^entry);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "set",
tags = {"BUILDER", "INIT", "COPY"},
naming = "*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"elements: javaslang.collection.Multimap"},
code = "{\nthis.@@map = @^elements;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "setJavaMap",
tags = {"BUILDER", "INIT"},
naming = "setJavaMultimap*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"in_map: java.util.Map"},
code = "{\nthis.@@map = javaslang.collection.HashMultimap.withSet().ofEntries(javaslang.collection.HashMap.ofAll(@^in_map));\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "setEntries",
tags = {"BUILDER", "INIT"},
naming = "setEntries*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"entries: java.lang.Iterable>"},
code = "{\nthis.@@map = javaslang.collection.HashMultimap.withSet().ofEntries(@^entries);\n}",
thrown = {}
)
}
)
public @interface JavaslangMultimapEncodingEnabled {}