docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"contact",
"url",
"for",
"product",
"support",
"<",
"/",
"p",
">"
] | [
"this",
"support",
"url",
"=",
"support",
"url",
";"
] |
[
"<",
"p",
">",
"the",
"contact",
"url",
"for",
"product",
"support",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"support",
"url",
";"
] |
[
"<",
"p",
">",
"the",
"updated",
"support",
"url",
"for",
"the",
"product",
"<",
"/",
"p",
">"
] | [
"set",
"support",
"url",
"(",
"support",
"url",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"<",
"/",
"p",
">"
] | [
"return",
"add",
"tags",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"add",
"tags",
"=",
"=",
"null",
")",
"{",
"this",
"add",
"tags",
"=",
"null",
";",
"return",
";",
"}",
"this",
"add",
"tags",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"tag",
">",
"(",
"add",
"tags",
")",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"to",
"the",
"product",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"a... | [
"if",
"(",
"this",
"add",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"add",
"tags",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"tag",
">",
"(",
"add",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"tag",
"ele",
":",
"add",
"tags",
... |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"to",
"the",
"product",
"<",
"/",
"p",
">"
] | [
"set",
"add",
"tags",
"(",
"add",
"tags",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"remove",
"<",
"/",
"p",
">"
] | [
"return",
"remove",
"tags",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"remove",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"remove",
"tags",
"=",
"=",
"null",
")",
"{",
"this",
"remove",
"tags",
"=",
"null",
";",
"return",
";",
"}",
"this",
"remove",
"tags",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"remove",
"tags",
")",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"remove",
"from",
"the",
"product",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",... | [
"if",
"(",
"this",
"remove",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"remove",
"tags",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"remove",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"rem... |
[
"<",
"p",
">",
"the",
"tags",
"to",
"remove",
"from",
"the",
"product",
"<",
"/",
"p",
">"
] | [
"set",
"remove",
"tags",
"(",
"remove",
"tags",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"user",
"-",
"supplied",
"id",
"that",
"uniquely",
"identifies",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"this",
"value",
"should",
"be",
"identical",
"to",
"the",
"value",
"of",
"the",
"<",
"code",
">... | [
"set",
"m",
"l",
"model",
"id",
"(",
"m",
"l",
"model",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"required",
"bytes",
"data",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"data",
";"
] |
[
"use",
"{"
] | [
"return",
"get",
"cookie",
"map",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"api",
"s",
"identifier",
"this",
"identifier",
"is",
"unique",
"across",
"all",
"of",
"your",
"a",
"p",
"is",
"in",
"api",
"gateway",
"<",
"/",
"p",
">"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"api",
"s",
"name",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"api",
"s",
"description",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"intent",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"this",
"created",
"date",
"=",
"created",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"intent",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"created",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"timestamp",
"when",
"the",
"api",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"date",
"(",
"created",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"version",
";"
] |
[
"<",
"p",
">",
"a",
"version",
"identifier",
"for",
"the",
"api",
"<",
"/",
"p",
">"
] | [
"set",
"version",
"(",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"warning",
"messages",
"reported",
"when",
"<",
"code",
">",
"failonwarnings",
"<",
"/",
"code",
">",
"is",
"turned",
"on",
"during",
"api",
"import",
"<",
"/",
"p",
">"
] | [
"return",
"warnings",
";"
] |
[
"<",
"p",
">",
"the",
"warning",
"messages",
"reported",
"when",
"<",
"code",
">",
"failonwarnings",
"<",
"/",
"code",
">",
"is",
"turned",
"on",
"during",
"api",
"import",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"warnings",
"=",
"=",
"null",
")",
"{",
"this",
"warnings",
"=",
"null",
";",
"return",
";",
"}",
"this",
"warnings",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"warnings",
")",
";"
] |
[
"<",
"p",
">",
"the",
"warning",
"messages",
"reported",
"when",
"<",
"code",
">",
"failonwarnings",
"<",
"/",
"code",
">",
"is",
"turned",
"on",
"during",
"api",
"import",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
... | [
"if",
"(",
"this",
"warnings",
"=",
"=",
"null",
")",
"{",
"set",
"warnings",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"warnings",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"warnings",
")",
"{",
... |
[
"<",
"p",
">",
"the",
"warning",
"messages",
"reported",
"when",
"<",
"code",
">",
"failonwarnings",
"<",
"/",
"code",
">",
"is",
"turned",
"on",
"during",
"api",
"import",
"<",
"/",
"p",
">"
] | [
"set",
"warnings",
"(",
"warnings",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"list",
"of",
"binary",
"media",
"types",
"supported",
"by",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"by",
"default",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"supports",
"only",
"utf",
"-"... | [
"return",
"binary",
"media",
"types",
";"
] |
[
"<",
"p",
">",
"the",
"list",
"of",
"binary",
"media",
"types",
"supported",
"by",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"by",
"default",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"supports",
"only",
"utf",
"-"... | [
"if",
"(",
"binary",
"media",
"types",
"=",
"=",
"null",
")",
"{",
"this",
"binary",
"media",
"types",
"=",
"null",
";",
"return",
";",
"}",
"this",
"binary",
"media",
"types",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"... |
[
"<",
"p",
">",
"the",
"list",
"of",
"binary",
"media",
"types",
"supported",
"by",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"by",
"default",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"supports",
"only",
"utf",
"-"... | [
"if",
"(",
"this",
"binary",
"media",
"types",
"=",
"=",
"null",
")",
"{",
"set",
"binary",
"media",
"types",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"binary",
"media",
"types",
"length",
")",
")",
";",
"}",
"for",
"("... |
[
"<",
"p",
">",
"the",
"list",
"of",
"binary",
"media",
"types",
"supported",
"by",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"by",
"default",
"the",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"supports",
"only",
"utf",
"-"... | [
"set",
"binary",
"media",
"types",
"(",
"binary",
"media",
"types",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"nullable",
"integer",
"that",
"is",
"used",
"to",
"enable",
"compression",
"(",
"with",
"non",
"-",
"negative",
"between",
"0",
"and",
"10485760",
"(",
"10m",
")",
"bytes",
"inclusive",
")",
"or",
"disable",
"compression",
"(",
"with... | [
"this",
"minimum",
"compression",
"size",
"=",
"minimum",
"compression",
"size",
";"
] |
[
"<",
"p",
">",
"a",
"nullable",
"integer",
"that",
"is",
"used",
"to",
"enable",
"compression",
"(",
"with",
"non",
"-",
"negative",
"between",
"0",
"and",
"10485760",
"(",
"10m",
")",
"bytes",
"inclusive",
")",
"or",
"disable",
"compression",
"(",
"with... | [
"return",
"this",
"minimum",
"compression",
"size",
";"
] |
[
"<",
"p",
">",
"a",
"nullable",
"integer",
"that",
"is",
"used",
"to",
"enable",
"compression",
"(",
"with",
"non",
"-",
"negative",
"between",
"0",
"and",
"10485760",
"(",
"10m",
")",
"bytes",
"inclusive",
")",
"or",
"disable",
"compression",
"(",
"with... | [
"set",
"minimum",
"compression",
"size",
"(",
"minimum",
"compression",
"size",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"source",
"of",
"the",
"api",
"key",
"for",
"metering",
"requests",
"according",
"to",
"a",
"usage",
"plan",
"valid",
"values",
"are",
":",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"code",
">",
"header",
"<",
"/",
"code",
">",
"... | [
"this",
"api",
"key",
"source",
"=",
"api",
"key",
"source",
";"
] |
[
"<",
"p",
">",
"the",
"source",
"of",
"the",
"api",
"key",
"for",
"metering",
"requests",
"according",
"to",
"a",
"usage",
"plan",
"valid",
"values",
"are",
":",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"code",
">",
"header",
"<",
"/",
"code",
">",
"... | [
"return",
"this",
"api",
"key",
"source",
";"
] |
[
"<",
"p",
">",
"the",
"source",
"of",
"the",
"api",
"key",
"for",
"metering",
"requests",
"according",
"to",
"a",
"usage",
"plan",
"valid",
"values",
"are",
":",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"code",
">",
"header",
"<",
"/",
"code",
">",
"... | [
"set",
"api",
"key",
"source",
"(",
"api",
"key",
"source",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"source",
"of",
"the",
"api",
"key",
"for",
"metering",
"requests",
"according",
"to",
"a",
"usage",
"plan",
"valid",
"values",
"are",
":",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"code",
">",
"header",
"<",
"/",
"code",
">",
"... | [
"this",
"api",
"key",
"source",
"=",
"api",
"key",
"source",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"endpoint",
"configuration",
"of",
"this",
"<",
"a",
">",
"domain",
"name",
"<",
"/",
"a",
">",
"showing",
"the",
"endpoint",
"types",
"of",
"the",
"domain",
"name",
"<",
"/",
"p",
">"
] | [
"this",
"endpoint",
"configuration",
"=",
"endpoint",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"endpoint",
"configuration",
"of",
"this",
"<",
"a",
">",
"domain",
"name",
"<",
"/",
"a",
">",
"showing",
"the",
"endpoint",
"types",
"of",
"the",
"domain",
"name",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"endpoint",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"endpoint",
"configuration",
"of",
"this",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"showing",
"the",
"endpoint",
"types",
"of",
"the",
"api",
"<",
"/",
"p",
">"
] | [
"set",
"endpoint",
"configuration",
"(",
"endpoint",
"configuration",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"vault",
"lock",
"policy",
"as",
"a",
"json",
"string",
"which",
"uses",
"\\",
"as",
"an",
"escape",
"character",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"policy",
";"
] |
[
"a",
"stringified",
"json",
"policy",
"document",
"that",
"applies",
"to",
"this",
"rest",
"api",
"regardless",
"of",
"the",
"caller",
"and",
"<",
"a",
">",
"method",
"<",
"/",
"a",
">",
"configuration"
] | [
"set",
"policy",
"(",
"policy",
")",
";",
"return",
"this",
";"
] |
[
"subclasses",
"must",
"override",
"and",
"return",
"non",
"-",
"null"
] | [
"@",
"override",
"public",
"abstract",
"string",
"get",
"display",
"name",
"(",
")",
";"
] |
[
"stats"
] | [
"check",
"not",
"null",
"(",
"stats",
")",
";",
"this",
"count",
"+",
"+",
";",
"this",
"msg",
"rate",
"in",
"+",
"=",
"stats",
"msg",
"rate",
"in",
";",
"this",
"msg",
"throughput",
"in",
"+",
"=",
"stats",
"msg",
"throughput",
"in",
";",
"this",
... |
[
"<",
"p",
">",
"reserved",
"for",
"future",
"use",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"of",
"this",
"trigger",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"cron",
"<",
"/",
"code",
">",
"expression",
"used",
"to",
"specify",
"the",
"schedule",
"(",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
... | [
"this",
"schedule",
"=",
"schedule",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"cron",
"<",
"/",
"code",
">",
"expression",
"used",
"to",
"specify",
"the",
"schedule",
"(",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
... | [
"return",
"this",
"schedule",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"cron",
"<",
"/",
"code",
">",
"expression",
"used",
"to",
"specify",
"the",
"schedule",
"(",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
... | [
"set",
"schedule",
"(",
"schedule",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"actions",
"initiated",
"by",
"this",
"trigger",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
... | [
"if",
"(",
"this",
"actions",
"=",
"=",
"null",
")",
"{",
"set",
"actions",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"action",
">",
"(",
"actions",
"length",
")",
")",
";",
"}",
"for",
"(",
"action",
"ele",
":",
"actions",
")",
"{",
"thi... |
[
"<",
"p",
">",
"the",
"actions",
"initiated",
"by",
"this",
"trigger",
"<",
"/",
"p",
">"
] | [
"set",
"actions",
"(",
"actions",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"predicate",
"to",
"specify",
"when",
"the",
"new",
"trigger",
"should",
"fire",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"field",
"is",
"required",
"when",
"the",
"trigger",
"type",
"is",
"conditional",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"predicate",
";"
] |
[
"<",
"p",
">",
"the",
"predicate",
"of",
"this",
"trigger",
"which",
"defines",
"when",
"it",
"will",
"fire",
"<",
"/",
"p",
">"
] | [
"set",
"predicate",
"(",
"predicate",
")",
";",
"return",
"this",
";"
] |
[
"write",
"a",
"subset",
"of",
"{"
] | [
"return",
"ordered",
"bytes",
"encode",
"blob",
"copy",
"(",
"dst",
",",
"val",
",",
"voff",
",",
"vlen",
",",
"order",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"specific",
"character",
"is",
"a",
"base",
"-",
"8",
"digit"
] | [
"return",
"c",
">",
"=",
"'",
"0",
"'",
"&",
"&",
"c",
"<",
"=",
"'",
"7",
"'",
";"
] |
[
"returns",
"true",
"if",
"the",
"specified",
"character",
"is",
"a",
"base",
"-",
"16",
"digit"
] | [
"return",
"is",
"digit",
"(",
"c",
")",
"|",
"|",
"(",
"c",
">",
"=",
"'",
"a",
"'",
"&",
"&",
"c",
"<",
"=",
"'",
"f",
"'",
")",
"|",
"|",
"(",
"c",
">",
"=",
"'",
"a",
"'",
"&",
"&",
"c",
"<",
"=",
"'",
"f",
"'",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"specified",
"character",
"is",
"a",
"valid",
"type",
"specifier",
"for",
"a",
"numeric",
"value"
] | [
"if",
"(",
"is",
"decimal",
")",
"{",
"switch",
"(",
"c",
")",
"{",
"case",
"'",
"g",
"'",
":",
"case",
"'",
"g",
"'",
":",
"case",
"'",
"d",
"'",
":",
"case",
"'",
"d",
"'",
":",
"case",
"'",
"f",
"'",
":",
"case",
"'",
"f",
"'",
":",
... |
[
"builds",
"a",
"number",
"from",
"the",
"given",
"integer",
"descriptor",
"creates",
"the",
"narrowest",
"type",
"possible",
"or",
"a",
"specific",
"type",
"if",
"specified"
] | [
"return",
"parse",
"integer",
"(",
"null",
",",
"text",
")",
";"
] |
[
"obtain",
"the",
"history",
"for",
"the",
"source",
"file",
"<",
"var",
">",
"src",
"<",
"/",
"var",
">",
"and",
"write",
"out",
"matching",
"history",
"log",
"entries"
] | [
"if",
"(",
"m",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"history",
"hist",
"=",
"history",
"guru",
"get",
"instance",
"(",
")",
"get",
"history",
"(",
"src",
")",
";",
"return",
"get",
"history",
"context",
"(",
"hist",
",",
"path"... |
[
"returns",
"the",
"first",
"origin",
"field"
] | [
"sdp",
"field",
"sf",
"=",
"parse",
"sdp",
"field",
"(",
"'",
"o",
"'",
")",
";",
"if",
"(",
"sf",
"!",
"=",
"null",
")",
"return",
"new",
"origin",
"field",
"(",
"sf",
")",
";",
"else",
"return",
"null",
";"
] |
[
"returns",
"the",
"first",
"media",
"field"
] | [
"sdp",
"field",
"sf",
"=",
"parse",
"sdp",
"field",
"(",
"'",
"m",
"'",
")",
";",
"if",
"(",
"sf",
"!",
"=",
"null",
")",
"return",
"new",
"media",
"field",
"(",
"sf",
")",
";",
"else",
"return",
"null",
";"
] |
[
"returns",
"the",
"first",
"connection",
"field"
] | [
"sdp",
"field",
"sf",
"=",
"parse",
"sdp",
"field",
"(",
"'",
"c",
"'",
")",
";",
"if",
"(",
"sf",
"!",
"=",
"null",
")",
"return",
"new",
"connection",
"field",
"(",
"sf",
")",
";",
"else",
"return",
"null",
";"
] |
[
"returns",
"the",
"first",
"session",
"name",
"field"
] | [
"sdp",
"field",
"sf",
"=",
"parse",
"sdp",
"field",
"(",
"'",
"s",
"'",
")",
";",
"if",
"(",
"sf",
"!",
"=",
"null",
")",
"return",
"new",
"session",
"name",
"field",
"(",
"sf",
")",
";",
"else",
"return",
"null",
";"
] |
[
"returns",
"the",
"first",
"time",
"field"
] | [
"sdp",
"field",
"sf",
"=",
"parse",
"sdp",
"field",
"(",
"'",
"t",
"'",
")",
";",
"if",
"(",
"sf",
"!",
"=",
"null",
")",
"return",
"new",
"time",
"field",
"(",
"sf",
")",
";",
"else",
"return",
"null",
";"
] |
[
"returns",
"the",
"first",
"attribute",
"field"
] | [
"sdp",
"field",
"sf",
"=",
"parse",
"sdp",
"field",
"(",
"'",
"a",
"'",
")",
";",
"if",
"(",
"sf",
"!",
"=",
"null",
")",
"return",
"new",
"attribute",
"field",
"(",
"sf",
")",
";",
"else",
"return",
"null",
";"
] |
[
"merges",
"given",
"animators",
"into",
"one",
"array"
] | [
"animator",
"[",
"]",
"all",
"animators",
"=",
"new",
"animator",
"[",
"animators",
"length",
"+",
"1",
"]",
";",
"int",
"i",
"=",
"0",
";",
"for",
"(",
"animator",
"animator",
":",
"animators",
")",
"{",
"all",
"animators",
"[",
"i",
"]",
"=",
"an... |
[
"sets",
"the",
"indicators",
"in",
"<",
"code",
">",
"robots",
"meta",
"<",
"/",
"code",
">",
"to",
"appropriate",
"values",
"based",
"on",
"any",
"meta",
"tags",
"found",
"under",
"the",
"given",
"<",
"code",
">",
"node",
"<",
"/",
"code",
">"
] | [
"meta",
"tags",
"reset",
"(",
")",
";",
"get",
"meta",
"tags",
"helper",
"(",
"meta",
"tags",
",",
"node",
",",
"curr",
"u",
"r",
"l",
")",
";"
] |
[
"we",
"compute",
"progress",
"from",
"time",
"and",
"an",
"algorithm",
"now"
] | [
"if",
"(",
"overriding",
"state",
"=",
"=",
"task",
"attempt",
"state",
"new",
")",
"{",
"return",
"0",
"0f",
";",
"}",
"return",
"my",
"attempt",
"i",
"d",
"get",
"task",
"id",
"(",
")",
"get",
"task",
"type",
"(",
")",
"=",
"=",
"task",
"type",... |
[
"{"
] | [
"return",
"0",
";"
] |
[
"set",
"the",
"connection",
"factory",
"to",
"use",
"for",
"the",
"underlying",
"{"
] | [
"if",
"(",
"this",
"jms",
"template",
"!",
"=",
"null",
")",
"{",
"this",
"jms",
"template",
"set",
"connection",
"factory",
"(",
"connection",
"factory",
")",
";",
"}",
"else",
"{",
"this",
"jms",
"template",
"=",
"new",
"jms",
"template",
"(",
"conne... |
[
"return",
"the",
"connection",
"factory",
"that",
"the",
"underlying",
"{"
] | [
"return",
"(",
"this",
"jms",
"template",
"!",
"=",
"null",
"?",
"this",
"jms",
"template",
"get",
"connection",
"factory",
"(",
")",
":",
"null",
")",
";"
] |
[
"set",
"the",
"{"
] | [
"this",
"jms",
"template",
"=",
"jms",
"template",
";"
] |
[
"return",
"the",
"configured",
"{"
] | [
"return",
"this",
"jms",
"template",
";"
] |
[
"return",
"the",
"{"
] | [
"return",
"this",
"jms",
"message",
"converter",
";"
] |
[
"configure",
"the",
"default",
"destination",
"name",
"to",
"use",
"in",
"send",
"methods",
"that",
"don",
"t",
"have",
"a",
"destination",
"argument",
"if",
"a",
"default",
"destination",
"is",
"not",
"configured",
"send",
"methods",
"without",
"a",
"destinat... | [
"this",
"default",
"destination",
"name",
"=",
"default",
"destination",
"name",
";"
] |
[
"return",
"the",
"configured",
"default",
"destination",
"name"
] | [
"return",
"this",
"default",
"destination",
"name",
";"
] |
[
"return",
"generated",
"smart",
"contract",
"transaction",
"just",
"before",
"we",
"use",
"it",
"to",
"broadcast",
"and",
"push",
"transaction"
] | [
"create",
"smart",
"contract",
"contract",
"=",
"build",
"create",
"smart",
"contract",
"(",
"contract",
"name",
",",
"caller",
"address",
",",
"abi",
",",
"code",
",",
"value",
",",
"consume",
"user",
"resource",
"percent",
",",
"library",
"address",
"pair"... |
[
"returns",
"a",
"hash",
"code",
"for",
"{",
"@",
"code",
"value",
"}",
";",
"equal",
"to",
"the",
"result",
"of",
"invoking",
"{",
"@",
"code",
"(",
"(",
"integer",
")",
"value",
")",
"hash",
"code",
"(",
")",
"}"
] | [
"return",
"value",
";"
] |
[
"returns",
"the",
"{",
"@",
"code",
"int",
"}",
"nearest",
"in",
"value",
"to",
"{",
"@",
"code",
"value",
"}"
] | [
"if",
"(",
"value",
">",
"integer",
"max",
"value",
")",
"{",
"return",
"integer",
"max",
"value",
";",
"}",
"if",
"(",
"value",
"<",
"integer",
"min",
"value",
")",
"{",
"return",
"integer",
"min",
"value",
";",
"}",
"return",
"(",
"int",
")",
"va... |
[
"compares",
"the",
"two",
"specified",
"{",
"@",
"code",
"int",
"}",
"values",
"the",
"sign",
"of",
"the",
"value",
"returned",
"is",
"the",
"same",
"as",
"that",
"of",
"{",
"@",
"code",
"(",
"(",
"integer",
")",
"a",
")",
"compare",
"to",
"(",
"b"... | [
"return",
"(",
"a",
"<",
"b",
")",
"?",
"-",
"1",
":",
"(",
"(",
"a",
">",
"b",
")",
"?",
"1",
":",
"0",
")",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"{",
"@",
"code",
"target",
"}",
"is",
"present",
"as",
"an",
"element",
"anywhere",
"in",
"{",
"@",
"code",
"array",
"}"
] | [
"for",
"(",
"int",
"value",
":",
"array",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"target",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"returns",
"the",
"index",
"of",
"the",
"first",
"appearance",
"of",
"the",
"value",
"{",
"@",
"code",
"target",
"}",
"in",
"{",
"@",
"code",
"array",
"}"
] | [
"return",
"index",
"of",
"(",
"array",
",",
"target",
",",
"0",
",",
"array",
"length",
")",
";"
] |
[
"todo",
"(",
"kevinb",
")",
":",
"consider",
"making",
"this",
"public"
] | [
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"end",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"array",
"[",
"i",
"]",
"=",
"=",
"target",
")",
"{",
"return",
"i",
";",
"}",
"}",
"return",
"-",
"1",
";"
] |
[
"returns",
"the",
"index",
"of",
"the",
"last",
"appearance",
"of",
"the",
"value",
"{",
"@",
"code",
"target",
"}",
"in",
"{",
"@",
"code",
"array",
"}"
] | [
"return",
"last",
"index",
"of",
"(",
"array",
",",
"target",
",",
"0",
",",
"array",
"length",
")",
";"
] |
[
"todo",
"(",
"kevinb",
")",
":",
"consider",
"making",
"this",
"public"
] | [
"for",
"(",
"int",
"i",
"=",
"end",
"-",
"1",
";",
"i",
">",
"=",
"start",
";",
"i",
"-",
"-",
")",
"{",
"if",
"(",
"array",
"[",
"i",
"]",
"=",
"=",
"target",
")",
"{",
"return",
"i",
";",
"}",
"}",
"return",
"-",
"1",
";"
] |
[
"returns",
"the",
"least",
"value",
"present",
"in",
"{",
"@",
"code",
"array",
"}"
] | [
"check",
"argument",
"(",
"array",
"length",
">",
"0",
")",
";",
"int",
"min",
"=",
"array",
"[",
"0",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"1",
";",
"i",
"<",
"array",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"array",
"[",
"i",... |
[
"returns",
"the",
"greatest",
"value",
"present",
"in",
"{",
"@",
"code",
"array",
"}"
] | [
"check",
"argument",
"(",
"array",
"length",
">",
"0",
")",
";",
"int",
"max",
"=",
"array",
"[",
"0",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"1",
";",
"i",
"<",
"array",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"array",
"[",
"i",... |
[
"returns",
"the",
"values",
"from",
"each",
"provided",
"array",
"combined",
"into",
"a",
"single",
"array",
"for",
"example",
"{",
"@",
"code",
"concat",
"(",
"new",
"int",
"[",
"]",
"{",
"a",
"b",
"}",
"new",
"int",
"[",
"]",
"{",
"}",
"new",
"in... | [
"int",
"length",
"=",
"0",
";",
"for",
"(",
"int",
"[",
"]",
"array",
":",
"arrays",
")",
"{",
"length",
"+",
"=",
"array",
"length",
";",
"}",
"int",
"[",
"]",
"result",
"=",
"new",
"int",
"[",
"length",
"]",
";",
"int",
"pos",
"=",
"0",
";"... |
[
"returns",
"a",
"big",
"-",
"endian",
"representation",
"of",
"{",
"@",
"code",
"value",
"}",
"in",
"a",
"4",
"-",
"element",
"byte",
"array",
";",
"equivalent",
"to",
"{",
"@",
"code",
"byte",
"buffer",
"allocate",
"(",
"4",
")",
"put",
"int",
"(",
... | [
"return",
"new",
"byte",
"[",
"]",
"{",
"(",
"byte",
")",
"(",
"value",
">",
">",
"24",
")",
",",
"(",
"byte",
")",
"(",
"value",
">",
">",
"16",
")",
",",
"(",
"byte",
")",
"(",
"value",
">",
">",
"8",
")",
",",
"(",
"byte",
")",
"value"... |
[
"returns",
"the",
"{",
"@",
"code",
"int",
"}",
"value",
"whose",
"byte",
"representation",
"is",
"the",
"given",
"4",
"bytes",
"in",
"big",
"-",
"endian",
"order",
";",
"equivalent",
"to",
"{",
"@",
"code",
"ints",
"from",
"byte",
"array",
"(",
"new",... | [
"return",
"b",
"1",
"<",
"<",
"24",
"|",
"(",
"b",
"2",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"16",
"|",
"(",
"b",
"3",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"8",
"|",
"(",
"b",
"4",
"&",
"0x",
"f",
"f",
")",
";"
] |
[
"returns",
"a",
"serializable",
"converter",
"object",
"that",
"converts",
"between",
"strings",
"and",
"integers",
"using",
"{",
"@",
"link",
"integer",
"#",
"decode",
"}",
"and",
"{",
"@",
"link",
"integer",
"#",
"to",
"string",
"(",
")",
"}",
"the",
"... | [
"return",
"int",
"converter",
"instance",
";"
] |
[
"returns",
"a",
"comparator",
"that",
"compares",
"two",
"{",
"@",
"code",
"int",
"}",
"arrays",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"en",
"wikipedia",
"org",
"/",
"wiki",
"/",
"lexicographical",
"order",
">",
"lexicographically",
"<",
"/",
"... | [
"return",
"lexicographical",
"comparator",
"instance",
";"
] |
[
"sorts",
"the",
"elements",
"of",
"{",
"@",
"code",
"array",
"}",
"in",
"descending",
"order"
] | [
"check",
"not",
"null",
"(",
"array",
")",
";",
"sort",
"descending",
"(",
"array",
",",
"0",
",",
"array",
"length",
")",
";"
] |
[
"sorts",
"the",
"elements",
"of",
"{",
"@",
"code",
"array",
"}",
"between",
"{",
"@",
"code",
"from",
"index",
"}",
"inclusive",
"and",
"{",
"@",
"code",
"to",
"index",
"}",
"exclusive",
"in",
"descending",
"order"
] | [
"check",
"not",
"null",
"(",
"array",
")",
";",
"check",
"position",
"indexes",
"(",
"from",
"index",
",",
"to",
"index",
",",
"array",
"length",
")",
";",
"arrays",
"sort",
"(",
"array",
",",
"from",
"index",
",",
"to",
"index",
")",
";",
"reverse",... |
[
"reverses",
"the",
"elements",
"of",
"{",
"@",
"code",
"array",
"}",
"this",
"is",
"equivalent",
"to",
"{",
"@",
"code",
"collections",
"reverse",
"(",
"ints",
"as",
"list",
"(",
"array",
")",
")",
"}",
"but",
"is",
"likely",
"to",
"be",
"more",
"eff... | [
"check",
"not",
"null",
"(",
"array",
")",
";",
"reverse",
"(",
"array",
",",
"0",
",",
"array",
"length",
")",
";"
] |
[
"reverses",
"the",
"elements",
"of",
"{",
"@",
"code",
"array",
"}",
"between",
"{",
"@",
"code",
"from",
"index",
"}",
"inclusive",
"and",
"{",
"@",
"code",
"to",
"index",
"}",
"exclusive",
"this",
"is",
"equivalent",
"to",
"{",
"@",
"code",
"collecti... | [
"check",
"not",
"null",
"(",
"array",
")",
";",
"check",
"position",
"indexes",
"(",
"from",
"index",
",",
"to",
"index",
",",
"array",
"length",
")",
";",
"for",
"(",
"int",
"i",
"=",
"from",
"index",
",",
"j",
"=",
"to",
"index",
"-",
"1",
";",... |
[
"returns",
"a",
"fixed",
"-",
"size",
"list",
"backed",
"by",
"the",
"specified",
"array",
"similar",
"to",
"{",
"@",
"link",
"arrays",
"#",
"as",
"list",
"(",
"object",
"[",
"]",
")",
"}",
"the",
"list",
"supports",
"{",
"@",
"link",
"list",
"#",
... | [
"if",
"(",
"backing",
"array",
"length",
"=",
"=",
"0",
")",
"{",
"return",
"collections",
"empty",
"list",
"(",
")",
";",
"}",
"return",
"new",
"int",
"array",
"as",
"list",
"(",
"backing",
"array",
")",
";"
] |
[
"parses",
"the",
"specified",
"string",
"as",
"a",
"signed",
"decimal",
"integer",
"value",
"the",
"ascii",
"character",
"{",
"@",
"code",
"-",
"}",
"(",
"<",
"code",
">",
"&",
"#",
"92",
";",
"u",
"0",
"0",
"2",
"d",
"<",
"/",
"code",
">",
")",
... | [
"return",
"try",
"parse",
"(",
"string",
",",
"10",
")",
";"
] |
[
"parses",
"the",
"specified",
"string",
"as",
"a",
"signed",
"integer",
"value",
"using",
"the",
"specified",
"radix",
"the",
"ascii",
"character",
"{",
"@",
"code",
"-",
"}",
"(",
"<",
"code",
">",
"&",
"#",
"92",
";",
"u",
"0",
"0",
"2",
"d",
"<"... | [
"long",
"result",
"=",
"longs",
"try",
"parse",
"(",
"string",
",",
"radix",
")",
";",
"if",
"(",
"result",
"=",
"=",
"null",
"|",
"|",
"result",
"long",
"value",
"(",
")",
"!",
"=",
"result",
"int",
"value",
"(",
")",
")",
"{",
"return",
"null",... |
[
"can",
"read",
"any",
"{"
] | [
"return",
"true",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.