docstring_tokens
list | code_tokens
list |
---|---|
[
"<",
"p",
">",
"an",
"array",
"of",
"vtl",
"device",
"objects",
"composed",
"of",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"vtl",
"devices",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"v",
"t",
"l",
"devices",
"=",
"=",
"null",
")",
"{",
"this",
"v",
"t",
"l",
"devices",
"=",
"null",
";",
"return",
";",
"}",
"this",
"v",
"t",
"l",
"devices",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"v",
"t",
"l",
"device",
">",
"(",
"v",
"t",
"l",
"devices",
")",
";"
]
|
[
"<",
"p",
">",
"an",
"array",
"of",
"vtl",
"device",
"objects",
"composed",
"of",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"vtl",
"devices",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"v",
"t",
"l",
"devices",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"v",
"t",
"l",
"devices",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"v",
"t",
"l",
"devices",
"=",
"=",
"null",
")",
"{",
"set",
"v",
"t",
"l",
"devices",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"v",
"t",
"l",
"device",
">",
"(",
"v",
"t",
"l",
"devices",
"length",
")",
")",
";",
"}",
"for",
"(",
"v",
"t",
"l",
"device",
"ele",
":",
"v",
"t",
"l",
"devices",
")",
"{",
"this",
"v",
"t",
"l",
"devices",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"array",
"of",
"vtl",
"device",
"objects",
"composed",
"of",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"vtl",
"devices",
"<",
"/",
"p",
">"
]
| [
"set",
"v",
"t",
"l",
"devices",
"(",
"v",
"t",
"l",
"devices",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"opaque",
"string",
"that",
"indicates",
"the",
"position",
"at",
"which",
"the",
"vtl",
"devices",
"that",
"were",
"fetched",
"for",
"description",
"ended",
"use",
"the",
"marker",
"in",
"your",
"next",
"request",
"to",
"fetch",
"the",
"next",
"set",
"of",
"vtl",
"devices",
"in",
"the",
"list",
"if",
"there",
"are",
"no",
"more",
"vtl",
"devices",
"to",
"describe",
"this",
"field",
"does",
"not",
"appear",
"in",
"the",
"response",
"<",
"/",
"p",
">"
]
| [
"set",
"marker",
"(",
"marker",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"pull",
"request",
"events",
"<",
"/",
"p",
">"
]
| [
"return",
"pull",
"request",
"events",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"pull",
"request",
"events",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"pull",
"request",
"events",
"=",
"=",
"null",
")",
"{",
"this",
"pull",
"request",
"events",
"=",
"null",
";",
"return",
";",
"}",
"this",
"pull",
"request",
"events",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"pull",
"request",
"event",
">",
"(",
"pull",
"request",
"events",
")",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"pull",
"request",
"events",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"pull",
"request",
"events",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"pull",
"request",
"events",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"pull",
"request",
"events",
"=",
"=",
"null",
")",
"{",
"set",
"pull",
"request",
"events",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"pull",
"request",
"event",
">",
"(",
"pull",
"request",
"events",
"length",
")",
")",
";",
"}",
"for",
"(",
"pull",
"request",
"event",
"ele",
":",
"pull",
"request",
"events",
")",
"{",
"this",
"pull",
"request",
"events",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"pull",
"request",
"events",
"<",
"/",
"p",
">"
]
| [
"set",
"pull",
"request",
"events",
"(",
"pull",
"request",
"events",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"enumeration",
"token",
"that",
"can",
"be",
"used",
"in",
"a",
"request",
"to",
"return",
"the",
"next",
"batch",
"of",
"the",
"results",
"<",
"/",
"p",
">"
]
| [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"configuration",
"id",
"of",
"an",
"application",
"with",
"which",
"items",
"are",
"to",
"be",
"associated",
"<",
"/",
"p",
">"
]
| [
"set",
"application",
"configuration",
"id",
"(",
"application",
"configuration",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"id",
"of",
"each",
"configuration",
"item",
"to",
"be",
"associated",
"with",
"an",
"application",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"configuration",
"ids",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"configuration",
"ids",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"configuration",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"configuration",
"ids",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"configuration",
"ids",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"configuration",
"ids",
")",
"{",
"this",
"configuration",
"ids",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"id",
"of",
"each",
"configuration",
"item",
"to",
"be",
"associated",
"with",
"an",
"application",
"<",
"/",
"p",
">"
]
| [
"set",
"configuration",
"ids",
"(",
"configuration",
"ids",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"styled",
"string",
"for",
"the",
"given",
"resource",
"the",
"returned",
"label",
"is",
"bi",
"di",
"-",
"processed",
"with",
"{",
"@",
"link",
"text",
"processor",
"#",
"process",
"(",
"string",
"string",
")",
"}"
]
| [
"styled",
"string",
"result",
"=",
"new",
"styled",
"string",
"(",
"resource",
"get",
"name",
"(",
")",
")",
";",
"return",
"strings",
"mark",
"l",
"t",
"r",
"(",
"result",
")",
";"
]
|
[
"returns",
"the",
"styled",
"string",
"for",
"the",
"given",
"storage",
"the",
"returned",
"label",
"is",
"bi",
"di",
"-",
"processed",
"with",
"{",
"@",
"link",
"text",
"processor",
"#",
"process",
"(",
"string",
"string",
")",
"}"
]
| [
"styled",
"string",
"result",
"=",
"new",
"styled",
"string",
"(",
"storage",
"get",
"name",
"(",
")",
")",
";",
"return",
"strings",
"mark",
"l",
"t",
"r",
"(",
"result",
")",
";"
]
|
[
"returns",
"the",
"label",
"for",
"a",
"java",
"element",
"with",
"the",
"flags",
"as",
"defined",
"by",
"this",
"class"
]
| [
"string",
"buffer",
"result",
"=",
"new",
"string",
"buffer",
"(",
")",
";",
"get",
"element",
"label",
"(",
"element",
",",
"flags",
",",
"result",
")",
";",
"return",
"strings",
"mark",
"java",
"element",
"label",
"l",
"t",
"r",
"(",
"result",
"to",
"string",
"(",
")",
")",
";"
]
|
[
"returns",
"the",
"styled",
"label",
"for",
"a",
"java",
"element",
"with",
"the",
"flags",
"as",
"defined",
"by",
"this",
"class"
]
| [
"styled",
"string",
"result",
"=",
"new",
"styled",
"string",
"(",
")",
";",
"get",
"element",
"label",
"(",
"element",
",",
"flags",
",",
"result",
")",
";",
"return",
"strings",
"mark",
"java",
"element",
"label",
"l",
"t",
"r",
"(",
"result",
")",
";"
]
|
[
"returns",
"the",
"styled",
"label",
"for",
"a",
"java",
"element",
"with",
"the",
"flags",
"as",
"defined",
"by",
"this",
"class"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"element",
"label",
"(",
"element",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"method",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"m",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"method",
"label",
"(",
"method",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"method",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"m",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"method",
"label",
"(",
"method",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"field",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"f",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"field",
"label",
"(",
"field",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"style",
"label",
"for",
"a",
"field",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"f",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"field",
"label",
"(",
"field",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"local",
"variable",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"local",
"variable",
"label",
"(",
"local",
"variable",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"styled",
"label",
"for",
"a",
"local",
"variable",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"local",
"variable",
"label",
"(",
"local",
"variable",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"initializer",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"i",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"initializer",
"label",
"(",
"initializer",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"initializer",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"i",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"initializer",
"label",
"(",
"initializer",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"type",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"t",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"type",
"label",
"(",
"type",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"type",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"t",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"type",
"label",
"(",
"type",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"type",
"parameter",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"tp",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"type",
"parameter",
"label",
"(",
"type",
"parameter",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"type",
"parameter",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"tp",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"type",
"parameter",
"label",
"(",
"type",
"parameter",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"import",
"container",
"import",
"or",
"package",
"declaration",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"d",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"declaration",
"label",
"(",
"declaration",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"import",
"container",
"import",
"or",
"package",
"declaration",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"d",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"declaration",
"label",
"(",
"declaration",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"class",
"file",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"cf",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"class",
"file",
"label",
"(",
"class",
"file",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"class",
"file",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"cf",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"class",
"file",
"label",
"(",
"class",
"file",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"compilation",
"unit",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"cu",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"compilation",
"unit",
"label",
"(",
"cu",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"compilation",
"unit",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"cu",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"compilation",
"unit",
"label",
"(",
"cu",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"package",
"fragment",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"p",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"package",
"fragment",
"label",
"(",
"pack",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"package",
"fragment",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"p",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"package",
"fragment",
"label",
"(",
"pack",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"package",
"fragment",
"root",
"to",
"a",
"{",
"@",
"link",
"string",
"buffer",
"}",
"considers",
"the",
"root",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"buf",
")",
"append",
"package",
"fragment",
"root",
"label",
"(",
"root",
",",
"flags",
")",
";"
]
|
[
"appends",
"the",
"label",
"for",
"a",
"package",
"fragment",
"root",
"to",
"a",
"{",
"@",
"link",
"styled",
"string",
"}",
"considers",
"the",
"root",
"*",
"flags"
]
| [
"new",
"java",
"element",
"label",
"composer",
"(",
"result",
")",
"append",
"package",
"fragment",
"root",
"label",
"(",
"root",
",",
"flags",
")",
";"
]
|
[
"returns",
"the",
"label",
"of",
"a",
"classpath",
"container",
"the",
"returned",
"label",
"is",
"bi",
"di",
"-",
"processed",
"with",
"{",
"@",
"link",
"text",
"processor",
"#",
"process",
"(",
"string",
"string",
")",
"}"
]
| [
"i",
"classpath",
"container",
"container",
"=",
"java",
"core",
"get",
"classpath",
"container",
"(",
"container",
"path",
",",
"project",
")",
";",
"if",
"(",
"container",
"!",
"=",
"null",
")",
"{",
"return",
"strings",
"mark",
"l",
"t",
"r",
"(",
"container",
"get",
"description",
"(",
")",
")",
";",
"}",
"classpath",
"container",
"initializer",
"initializer",
"=",
"java",
"core",
"get",
"classpath",
"container",
"initializer",
"(",
"container",
"path",
"segment",
"(",
"0",
")",
")",
";",
"if",
"(",
"initializer",
"!",
"=",
"null",
")",
"{",
"return",
"strings",
"mark",
"l",
"t",
"r",
"(",
"initializer",
"get",
"description",
"(",
"container",
"path",
",",
"project",
")",
")",
";",
"}",
"return",
"basic",
"element",
"labels",
"get",
"path",
"label",
"(",
"container",
"path",
",",
"false",
")",
";"
]
|
[
"updates",
"the",
"current",
"tool",
"tip",
"text",
"based",
"on",
"the",
"toggle",
"button",
"s",
"state",
"<",
"table",
">",
"<",
"caption",
">",
"the",
"tool",
"tip",
"that",
"will",
"be",
"set",
"based",
"on",
"button",
"s",
"state",
"<",
"/",
"caption",
">",
"<",
"tr",
">",
"<",
"td",
">",
"state",
"<",
"/",
"td",
">",
"<",
"td",
">",
"tool",
"tip",
"text",
"set",
"<",
"/",
"td",
">",
"<",
"/",
"tr",
">",
"<",
"tr",
">",
"<",
"td",
">",
"disabled",
"and",
"selected",
"<",
"/",
"td",
">",
"<",
"td",
">",
"{",
"@",
"code",
"disabled",
"selected",
"tool",
"tip",
"text",
"}",
"if",
"non",
"-",
"{",
"@",
"code",
"null",
"}",
"otherwise",
"{",
"@",
"code",
"default",
"tool",
"tip",
"text",
"}",
"<",
"/",
"td",
">",
"<",
"/",
"tr",
">",
"<",
"tr",
">",
"<",
"td",
">",
"disabled",
"<",
"/",
"td",
">",
"<",
"td",
">",
"{",
"@",
"code",
"disabled",
"tool",
"tip",
"text",
"}",
"if",
"non",
"-",
"{",
"@",
"code",
"null",
"}",
"otherwise",
"{",
"@",
"code",
"default",
"tool",
"tip",
"text",
"}",
"<",
"/",
"td",
">",
"<",
"/",
"tr",
">",
"<",
"tr",
">",
"<",
"td",
">",
"selected",
"(",
"but",
"not",
"disabled",
")",
"<",
"/",
"td",
">",
"<",
"td",
">",
"{",
"@",
"code",
"selected",
"tool",
"tip",
"text",
"}",
"if",
"non",
"-",
"{",
"@",
"code",
"null",
"}",
"otherwise",
"{",
"@",
"code",
"default",
"tool",
"tip",
"text",
"}",
"<",
"/",
"td",
">",
"<",
"/",
"tr",
">",
"<",
"tr",
">",
"<",
"td",
">",
"other",
"states",
"<",
"/",
"td",
">",
"<",
"td",
">",
"{",
"@",
"code",
"default",
"tool",
"tip",
"text",
"}",
"<",
"/",
"td",
">",
"<",
"/",
"tr",
">",
"<",
"/",
"table",
">"
]
| [
"string",
"tool",
"tip",
"text",
";",
"final",
"boolean",
"disabled",
"=",
"!",
"is",
"enabled",
"(",
")",
";",
"final",
"boolean",
"selected",
"=",
"is",
"selected",
"(",
")",
";",
"if",
"(",
"disabled",
"&",
"&",
"selected",
"&",
"&",
"disabled",
"selected",
"tool",
"tip",
"text",
"!",
"=",
"null",
")",
"{",
"tool",
"tip",
"text",
"=",
"disabled",
"selected",
"tool",
"tip",
"text",
";",
"}",
"else",
"if",
"(",
"disabled",
"&",
"&",
"disabled",
"tool",
"tip",
"text",
"!",
"=",
"null",
")",
"{",
"tool",
"tip",
"text",
"=",
"disabled",
"tool",
"tip",
"text",
";",
"}",
"else",
"if",
"(",
"selected",
"&",
"&",
"selected",
"tool",
"tip",
"text",
"!",
"=",
"null",
")",
"{",
"tool",
"tip",
"text",
"=",
"selected",
"tool",
"tip",
"text",
";",
"}",
"else",
"{",
"tool",
"tip",
"text",
"=",
"default",
"tool",
"tip",
"text",
";",
"}",
"super",
"set",
"tool",
"tip",
"text",
"(",
"tool",
"tip",
"text",
")",
";"
]
|
[
"sets",
"the",
"default",
"tool",
"tip",
"text",
"shown",
"when",
"the",
"toggle",
"button",
"is",
"in",
"normal",
"state",
"or",
"in",
"any",
"other",
"state",
"if",
"there",
"s",
"no",
"custom",
"tool",
"tip",
"text",
"set",
"if",
"the",
"given",
"{",
"@",
"code",
"text",
"}",
"is",
"{",
"@",
"code",
"null",
"}",
"no",
"tool",
"tip",
"text",
"is",
"shown",
"in",
"normal",
"state"
]
| [
"default",
"tool",
"tip",
"text",
"=",
"text",
";",
"update",
"current",
"tool",
"tip",
"text",
"(",
")",
";"
]
|
[
"returns",
"the",
"current",
"tool",
"tip",
"text",
"set",
"might",
"be",
"{",
"@",
"code",
"null",
"}",
"<",
"p",
">",
"<",
"strong",
">",
"note",
":",
"<",
"/",
"strong",
">",
"this",
"is",
"not",
"the",
"getter",
"method",
"for",
"the",
"default",
"tool",
"tip",
"text",
"set",
"using",
"the",
"method",
"{",
"@",
"code",
"set",
"tool",
"tip",
"text",
"(",
"string",
")",
"}",
"use",
"{",
"@",
"code",
"get",
"default",
"tool",
"tip",
"text",
"(",
")",
"}",
"instead",
"<",
"/",
"p",
">"
]
| [
"return",
"super",
"get",
"tool",
"tip",
"text",
"(",
")",
";"
]
|
[
"returns",
"the",
"tool",
"tip",
"text",
"that",
"s",
"shown",
"when",
"the",
"toggle",
"button",
"is",
"in",
"normal",
"state",
"or",
"in",
"any",
"other",
"state",
"if",
"there",
"s",
"no",
"custom",
"tool",
"tip",
"text",
"set",
"might",
"be",
"{",
"@",
"code",
"null",
"}",
"if",
"no",
"tool",
"tip",
"text",
"was",
"set"
]
| [
"return",
"default",
"tool",
"tip",
"text",
";"
]
|
[
"sets",
"the",
"tool",
"tip",
"text",
"that",
"will",
"be",
"shown",
"when",
"the",
"toggle",
"button",
"is",
"selected",
"(",
"but",
"not",
"disabled",
")",
"if",
"the",
"given",
"{",
"@",
"code",
"text",
"}",
"is",
"{",
"@",
"code",
"null",
"}",
"the",
"default",
"tool",
"tip",
"text",
"is",
"shown",
"instead",
"if",
"set"
]
| [
"selected",
"tool",
"tip",
"text",
"=",
"text",
";",
"add",
"remove",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"as",
"needed",
"(",
")",
";",
"update",
"current",
"tool",
"tip",
"text",
"(",
")",
";"
]
|
[
"helper",
"method",
"that",
"takes",
"care",
"to",
"instantiate",
"and",
"add",
"(",
"as",
"an",
"item",
"listener",
")",
"the",
"instance",
"variable",
"{",
"@",
"code",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"}",
"when",
"a",
"tool",
"tip",
"text",
"that",
"depends",
"on",
"the",
"selection",
"state",
"(",
"either",
"selected",
"tool",
"tip",
"text",
"or",
"disabled",
"selected",
"tool",
"tip",
"text",
")",
"is",
"not",
"{",
"@",
"code",
"null",
"}",
"or",
"set",
"to",
"null",
"and",
"remove",
"(",
"as",
"an",
"item",
"listener",
")",
"if",
"it",
"is"
]
| [
"if",
"(",
"selected",
"tool",
"tip",
"text",
"=",
"=",
"null",
"&",
"&",
"disabled",
"selected",
"tool",
"tip",
"text",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"!",
"=",
"null",
")",
"{",
"remove",
"item",
"listener",
"(",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
")",
";",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"=",
"null",
";",
"}",
"}",
"else",
"if",
"(",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"=",
"=",
"null",
")",
"{",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"=",
"new",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"(",
")",
";",
"add",
"item",
"listener",
"(",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
")",
";",
"}"
]
|
[
"returns",
"the",
"tool",
"tip",
"text",
"that",
"s",
"shown",
"if",
"non",
"-",
"{",
"@",
"code",
"null",
"}",
"when",
"the",
"toggle",
"button",
"is",
"selected"
]
| [
"return",
"selected",
"tool",
"tip",
"text",
";"
]
|
[
"sets",
"the",
"tool",
"tip",
"text",
"that",
"will",
"be",
"shown",
"when",
"the",
"toggle",
"button",
"is",
"disabled",
"if",
"the",
"given",
"{",
"@",
"code",
"text",
"}",
"is",
"{",
"@",
"code",
"null",
"}",
"the",
"default",
"tool",
"tip",
"text",
"is",
"shown",
"instead",
"if",
"set"
]
| [
"disabled",
"tool",
"tip",
"text",
"=",
"text",
";",
"update",
"current",
"tool",
"tip",
"text",
"(",
")",
";"
]
|
[
"returns",
"the",
"tool",
"tip",
"text",
"that",
"s",
"shown",
"if",
"non",
"-",
"{",
"@",
"code",
"null",
"}",
"when",
"the",
"toggle",
"button",
"is",
"disabled"
]
| [
"return",
"disabled",
"tool",
"tip",
"text",
";"
]
|
[
"sets",
"the",
"tool",
"tip",
"text",
"that",
"will",
"be",
"shown",
"when",
"the",
"toggle",
"button",
"is",
"disabled",
"and",
"selected",
"if",
"the",
"given",
"{",
"@",
"code",
"text",
"}",
"is",
"{",
"@",
"code",
"null",
"}",
"the",
"default",
"tool",
"tip",
"text",
"is",
"shown",
"instead",
"if",
"set"
]
| [
"disabled",
"selected",
"tool",
"tip",
"text",
"=",
"text",
";",
"add",
"remove",
"tool",
"tip",
"text",
"updater",
"on",
"selection",
"state",
"change",
"as",
"needed",
"(",
")",
";",
"update",
"current",
"tool",
"tip",
"text",
"(",
")",
";"
]
|
[
"returns",
"the",
"tool",
"tip",
"text",
"that",
"s",
"shown",
"if",
"non",
"-",
"{",
"@",
"code",
"null",
"}",
"when",
"the",
"toggle",
"button",
"is",
"disabled",
"and",
"selected"
]
| [
"return",
"disabled",
"selected",
"tool",
"tip",
"text",
";"
]
|
[
"returns",
"true",
"if",
"field",
"parent",
"span",
"id",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"parentspanid",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"start",
"time",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"starttime",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"elapsed",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"elapsed",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"rpc",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"this",
"rpc",
"!",
"=",
"null",
";"
]
|
[
"returns",
"true",
"if",
"field",
"remote",
"addr",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"this",
"remote",
"addr",
"!",
"=",
"null",
";"
]
|
[
"returns",
"true",
"if",
"field",
"flag",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"flag",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"err",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"err",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"parent",
"application",
"name",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"this",
"parent",
"application",
"name",
"!",
"=",
"null",
";"
]
|
[
"returns",
"true",
"if",
"field",
"parent",
"application",
"type",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"parentapplicationtype",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"acceptor",
"host",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"this",
"acceptor",
"host",
"!",
"=",
"null",
";"
]
|
[
"returns",
"true",
"if",
"field",
"logging",
"transaction",
"info",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"loggingtransactioninfo",
"isset",
"id",
")",
";"
]
|
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"java",
"lang",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"agent",
"id",
":",
"return",
"is",
"set",
"agent",
"id",
"(",
")",
";",
"case",
"application",
"name",
":",
"return",
"is",
"set",
"application",
"name",
"(",
")",
";",
"case",
"agent",
"start",
"time",
":",
"return",
"is",
"set",
"agent",
"start",
"time",
"(",
")",
";",
"case",
"transaction",
"id",
":",
"return",
"is",
"set",
"transaction",
"id",
"(",
")",
";",
"case",
"span",
"id",
":",
"return",
"is",
"set",
"span",
"id",
"(",
")",
";",
"case",
"parent",
"span",
"id",
":",
"return",
"is",
"set",
"parent",
"span",
"id",
"(",
")",
";",
"case",
"start",
"time",
":",
"return",
"is",
"set",
"start",
"time",
"(",
")",
";",
"case",
"elapsed",
":",
"return",
"is",
"set",
"elapsed",
"(",
")",
";",
"case",
"rpc",
":",
"return",
"is",
"set",
"rpc",
"(",
")",
";",
"case",
"service",
"type",
":",
"return",
"is",
"set",
"service",
"type",
"(",
")",
";",
"case",
"end",
"point",
":",
"return",
"is",
"set",
"end",
"point",
"(",
")",
";",
"case",
"remote",
"addr",
":",
"return",
"is",
"set",
"remote",
"addr",
"(",
")",
";",
"case",
"annotations",
":",
"return",
"is",
"set",
"annotations",
"(",
")",
";",
"case",
"flag",
":",
"return",
"is",
"set",
"flag",
"(",
")",
";",
"case",
"err",
":",
"return",
"is",
"set",
"err",
"(",
")",
";",
"case",
"span",
"event",
"list",
":",
"return",
"is",
"set",
"span",
"event",
"list",
"(",
")",
";",
"case",
"parent",
"application",
"name",
":",
"return",
"is",
"set",
"parent",
"application",
"name",
"(",
")",
";",
"case",
"parent",
"application",
"type",
":",
"return",
"is",
"set",
"parent",
"application",
"type",
"(",
")",
";",
"case",
"acceptor",
"host",
":",
"return",
"is",
"set",
"acceptor",
"host",
"(",
")",
";",
"case",
"api",
"id",
":",
"return",
"is",
"set",
"api",
"id",
"(",
")",
";",
"case",
"exception",
"info",
":",
"return",
"is",
"set",
"exception",
"info",
"(",
")",
";",
"case",
"application",
"service",
"type",
":",
"return",
"is",
"set",
"application",
"service",
"type",
"(",
")",
";",
"case",
"logging",
"transaction",
"info",
":",
"return",
"is",
"set",
"logging",
"transaction",
"info",
"(",
")",
";",
"case",
"version",
":",
"return",
"is",
"set",
"version",
"(",
")",
";",
"}",
"throw",
"new",
"java",
"lang",
"illegal",
"state",
"exception",
"(",
")",
";"
]
|
[
"/",
"*",
"package"
]
| [
"set",
"icon",
"source",
"(",
"source",
",",
"m",
"background",
"controller",
"listener",
",",
"m",
"background",
"holder",
")",
";"
]
|
[
"add",
"directory",
"or",
"zip",
"file",
"source",
"from",
"which",
"proto",
"files",
"will",
"be",
"loaded"
]
| [
"return",
"add",
"source",
"(",
"file",
"to",
"path",
"(",
")",
")",
";"
]
|
[
"add",
"directory",
"or",
"zip",
"file",
"source",
"from",
"which",
"proto",
"files",
"will",
"be",
"loaded"
]
| [
"sources",
"add",
"(",
"path",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"a",
"mutable",
"list",
"of",
"the",
"sources",
"that",
"this",
"loader",
"will",
"load",
"from"
]
| [
"return",
"sources",
";"
]
|
[
"add",
"a",
"proto",
"file",
"to",
"load",
"dependencies",
"will",
"be",
"loaded",
"automatically",
"from",
"the",
"configured",
"sources"
]
| [
"protos",
"add",
"(",
"proto",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"a",
"mutable",
"list",
"of",
"the",
"protos",
"that",
"this",
"loader",
"will",
"load"
]
| [
"return",
"protos",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"or",
"arn",
"for",
"the",
"source",
"db",
"parameter",
"group",
"for",
"information",
"about",
"creating",
"an",
"arn",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"neptune",
"/",
"latest",
"/",
"user",
"guide",
"/",
"tagging",
"arn",
"html",
"#",
"tagging",
"arn",
"constructing",
">",
"constructing",
"an",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"specify",
"a",
"valid",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"specify",
"a",
"valid",
"db",
"parameter",
"group",
"identifier",
"for",
"example",
"<",
"code",
">",
"my",
"-",
"db",
"-",
"param",
"-",
"group",
"<",
"/",
"code",
">",
"or",
"a",
"valid",
"arn",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
]
| [
"this",
"source",
"d",
"b",
"parameter",
"group",
"identifier",
"=",
"source",
"d",
"b",
"parameter",
"group",
"identifier",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"or",
"arn",
"for",
"the",
"source",
"db",
"parameter",
"group",
"for",
"information",
"about",
"creating",
"an",
"arn",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"neptune",
"/",
"latest",
"/",
"user",
"guide",
"/",
"tagging",
"arn",
"html",
"#",
"tagging",
"arn",
"constructing",
">",
"constructing",
"an",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"specify",
"a",
"valid",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"specify",
"a",
"valid",
"db",
"parameter",
"group",
"identifier",
"for",
"example",
"<",
"code",
">",
"my",
"-",
"db",
"-",
"param",
"-",
"group",
"<",
"/",
"code",
">",
"or",
"a",
"valid",
"arn",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
]
| [
"return",
"this",
"source",
"d",
"b",
"parameter",
"group",
"identifier",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"or",
"arn",
"for",
"the",
"source",
"db",
"parameter",
"group",
"for",
"information",
"about",
"creating",
"an",
"arn",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"neptune",
"/",
"latest",
"/",
"user",
"guide",
"/",
"tagging",
"arn",
"html",
"#",
"tagging",
"arn",
"constructing",
">",
"constructing",
"an",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"specify",
"a",
"valid",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"specify",
"a",
"valid",
"db",
"parameter",
"group",
"identifier",
"for",
"example",
"<",
"code",
">",
"my",
"-",
"db",
"-",
"param",
"-",
"group",
"<",
"/",
"code",
">",
"or",
"a",
"valid",
"arn",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
]
| [
"set",
"source",
"d",
"b",
"parameter",
"group",
"identifier",
"(",
"source",
"d",
"b",
"parameter",
"group",
"identifier",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"for",
"the",
"copied",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"be",
"null",
"empty",
"or",
"blank",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"contain",
"from",
"1",
"to",
"255",
"letters",
"numbers",
"or",
"hyphens",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"first",
"character",
"must",
"be",
"a",
"letter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"end",
"with",
"a",
"hyphen",
"or",
"contain",
"two",
"consecutive",
"hyphens",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"example",
":",
"<",
"code",
">",
"my",
"-",
"db",
"-",
"parameter",
"-",
"group",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"this",
"target",
"d",
"b",
"parameter",
"group",
"identifier",
"=",
"target",
"d",
"b",
"parameter",
"group",
"identifier",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"for",
"the",
"copied",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"be",
"null",
"empty",
"or",
"blank",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"contain",
"from",
"1",
"to",
"255",
"letters",
"numbers",
"or",
"hyphens",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"first",
"character",
"must",
"be",
"a",
"letter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"end",
"with",
"a",
"hyphen",
"or",
"contain",
"two",
"consecutive",
"hyphens",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"example",
":",
"<",
"code",
">",
"my",
"-",
"db",
"-",
"parameter",
"-",
"group",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"target",
"d",
"b",
"parameter",
"group",
"identifier",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"for",
"the",
"copied",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"be",
"null",
"empty",
"or",
"blank",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"contain",
"from",
"1",
"to",
"255",
"letters",
"numbers",
"or",
"hyphens",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"first",
"character",
"must",
"be",
"a",
"letter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"cannot",
"end",
"with",
"a",
"hyphen",
"or",
"contain",
"two",
"consecutive",
"hyphens",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"example",
":",
"<",
"code",
">",
"my",
"-",
"db",
"-",
"parameter",
"-",
"group",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"target",
"d",
"b",
"parameter",
"group",
"identifier",
"(",
"target",
"d",
"b",
"parameter",
"group",
"identifier",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"description",
"for",
"the",
"copied",
"db",
"parameter",
"group",
"<",
"/",
"p",
">"
]
| [
"this",
"target",
"d",
"b",
"parameter",
"group",
"description",
"=",
"target",
"d",
"b",
"parameter",
"group",
"description",
";"
]
|
[
"<",
"p",
">",
"a",
"description",
"for",
"the",
"copied",
"db",
"parameter",
"group",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"target",
"d",
"b",
"parameter",
"group",
"description",
";"
]
|
[
"<",
"p",
">",
"a",
"description",
"for",
"the",
"copied",
"db",
"parameter",
"group",
"<",
"/",
"p",
">"
]
| [
"set",
"target",
"d",
"b",
"parameter",
"group",
"description",
"(",
"target",
"d",
"b",
"parameter",
"group",
"description",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"tags",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"tags",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"tags",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tag",
">",
"(",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"tag",
"ele",
":",
"tags",
")",
"{",
"this",
"tags",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"auto",
"scaling",
"group",
"<",
"/",
"p",
">"
]
| [
"set",
"auto",
"scaling",
"group",
"name",
"(",
"auto",
"scaling",
"group",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"create",
"a",
"deadline",
"that",
"will",
"expire",
"at",
"the",
"specified",
"offset",
"from",
"the",
"current",
"system",
"clock"
]
| [
"return",
"after",
"(",
"duration",
",",
"units",
",",
"system",
"ticker",
")",
";"
]
|
[
"has",
"this",
"deadline",
"expired"
]
| [
"if",
"(",
"!",
"expired",
")",
"{",
"if",
"(",
"deadline",
"nanos",
"-",
"ticker",
"read",
"(",
")",
"<",
"=",
"0",
")",
"{",
"expired",
"=",
"true",
";",
"}",
"else",
"{",
"return",
"false",
";",
"}",
"}",
"return",
"true",
";"
]
|
[
"is",
"{"
]
| [
"return",
"this",
"deadline",
"nanos",
"-",
"other",
"deadline",
"nanos",
"<",
"0",
";"
]
|
[
"return",
"the",
"minimum",
"deadline",
"of",
"{"
]
| [
"return",
"is",
"before",
"(",
"other",
")",
"?",
"this",
":",
"other",
";"
]
|
[
"how",
"much",
"time",
"is",
"remaining",
"in",
"the",
"specified",
"time",
"unit",
"internal",
"units",
"are",
"maintained",
"as",
"nanoseconds",
"and",
"conversions",
"are",
"subject",
"to",
"the",
"constraints",
"documented",
"for",
"{"
]
| [
"final",
"long",
"now",
"nanos",
"=",
"ticker",
"read",
"(",
")",
";",
"if",
"(",
"!",
"expired",
"&",
"&",
"deadline",
"nanos",
"-",
"now",
"nanos",
"<",
"=",
"0",
")",
"{",
"expired",
"=",
"true",
";",
"}",
"return",
"unit",
"convert",
"(",
"deadline",
"nanos",
"-",
"now",
"nanos",
",",
"time",
"unit",
"nanoseconds",
")",
";"
]
|
[
"gets",
"the",
"value",
"of",
"the",
"provider",
"i",
"d",
"property"
]
| [
"return",
"provider",
"i",
"d",
";"
]
|
[
"sets",
"the",
"value",
"of",
"the",
"provider",
"i",
"d",
"property"
]
| [
"this",
"provider",
"i",
"d",
"=",
"value",
";"
]
|
[
"sets",
"the",
"value",
"of",
"the",
"loc",
"property"
]
| [
"this",
"loc",
"=",
"value",
";"
]
|
[
"set",
"the",
"style",
"to",
"use",
"for",
"date",
"types"
]
| [
"this",
"date",
"style",
"=",
"date",
"style",
";"
]
|
[
"set",
"the",
"style",
"to",
"use",
"for",
"time",
"types"
]
| [
"this",
"time",
"style",
"=",
"time",
"style",
";"
]
|
[
"set",
"the",
"style",
"to",
"use",
"for",
"date",
"and",
"time",
"types"
]
| [
"this",
"date",
"style",
"=",
"date",
"time",
"style",
";",
"this",
"time",
"style",
"=",
"date",
"time",
"style",
";"
]
|
[
"create",
"a",
"new",
"{"
]
| [
"return",
"create",
"date",
"time",
"formatter",
"(",
"date",
"time",
"formatter",
"of",
"localized",
"date",
"time",
"(",
"format",
"style",
"medium",
")",
")",
";"
]
|
[
"creates",
"{",
"@",
"link",
"elasticsearch",
"security",
"exception",
"}",
"with",
"{",
"@",
"link",
"rest",
"status",
"#",
"unauthorized",
"}",
"and",
"cause",
"this",
"also",
"populates",
"www",
"-",
"authenticate",
"header",
"with",
"value",
"as",
"negotiate",
"scheme"
]
| [
"elasticsearch",
"security",
"exception",
"ese",
"=",
"new",
"elasticsearch",
"security",
"exception",
"(",
"message",
",",
"rest",
"status",
"unauthorized",
",",
"cause",
",",
"args",
")",
";",
"ese",
"add",
"header",
"(",
"www",
"authenticate",
",",
"negotiate",
"scheme",
"name",
")",
";",
"return",
"ese",
";"
]
|
[
"sets",
"www",
"-",
"authenticate",
"header",
"if",
"out",
"token",
"is",
"not",
"null",
"on",
"passed",
"instance",
"of",
"{",
"@",
"link",
"elasticsearch",
"security",
"exception",
"}",
"and",
"returns",
"the",
"instance",
"<",
"br",
">",
"if",
"out",
"token",
"is",
"provided",
"and",
"is",
"not",
"{",
"@",
"code",
"null",
"}",
"or",
"empty",
"then",
"that",
"is",
"appended",
"to",
"negotiate",
"and",
"is",
"used",
"as",
"header",
"value",
"for",
"header",
"www",
"-",
"authenticate",
"sent",
"to",
"the",
"peer",
"in",
"the",
"form",
"negotiate",
"o",
"y",
"h",
"1",
"m",
"i",
"hyo",
"a",
"m",
"k",
"this",
"is",
"required",
"by",
"client",
"for",
"gss",
"negotiation",
"to",
"continue",
"further"
]
| [
"assert",
"ese",
"status",
"(",
")",
"=",
"=",
"rest",
"status",
"unauthorized",
";",
"if",
"(",
"strings",
"has",
"text",
"(",
"out",
"token",
")",
")",
"{",
"ese",
"add",
"header",
"(",
"www",
"authenticate",
",",
"negotiate",
"auth",
"header",
"prefix",
"+",
"out",
"token",
")",
";",
"}",
"return",
"ese",
";"
]
|
[
"<",
"p",
">",
"the",
"identifier",
"(",
"id",
")",
"of",
"the",
"hsm",
"s",
"cluster",
"to",
"find",
"the",
"cluster",
"id",
"use",
"<",
"a",
">",
"describe",
"clusters",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"cluster",
"id",
"(",
"cluster",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"availability",
"zone",
"where",
"you",
"are",
"creating",
"the",
"hsm",
"to",
"find",
"the",
"cluster",
"s",
"availability",
"zones",
"use",
"<",
"a",
">",
"describe",
"clusters",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"availability",
"zone",
"(",
"availability",
"zone",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"hsm",
"s",
"ip",
"address",
"if",
"you",
"specify",
"an",
"ip",
"address",
"use",
"an",
"available",
"address",
"from",
"the",
"subnet",
"that",
"maps",
"to",
"the",
"availability",
"zone",
"where",
"you",
"are",
"creating",
"the",
"hsm",
"if",
"you",
"don",
"t",
"specify",
"an",
"ip",
"address",
"one",
"is",
"chosen",
"for",
"you",
"from",
"that",
"subnet",
"<",
"/",
"p",
">"
]
| [
"set",
"ip",
"address",
"(",
"ip",
"address",
")",
";",
"return",
"this",
";"
]
|
[
"calculates",
"the",
"imputing",
"values",
"by",
"frequencies",
"keeping",
"in",
"the",
"given",
"dataset"
]
| [
"map",
"<",
"double",
",",
"integer",
">",
"[",
"]",
"frequencies",
"=",
"dataset",
"compute",
"(",
"imputer",
"partition",
"data",
":",
":",
"values",
"by",
"frequency",
",",
"(",
"a",
",",
"b",
")",
"-",
">",
"{",
"if",
"(",
"a",
"=",
"=",
"null",
")",
"return",
"b",
";",
"if",
"(",
"b",
"=",
"=",
"null",
")",
"return",
"a",
";",
"assert",
"a",
"length",
"=",
"=",
"b",
"length",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"a",
"length",
";",
"i",
"+",
"+",
")",
"{",
"int",
"final",
"i",
"=",
"i",
";",
"a",
"[",
"i",
"]",
"for",
"each",
"(",
"(",
"k",
",",
"v",
")",
"-",
">",
"b",
"[",
"final",
"i",
"]",
"merge",
"(",
"k",
",",
"v",
",",
"(",
"f",
"1",
",",
"f",
"2",
")",
"-",
">",
"f",
"1",
"+",
"f",
"2",
")",
")",
";",
"}",
"return",
"b",
";",
"}",
")",
";",
"double",
"[",
"]",
"res",
"=",
"new",
"double",
"[",
"frequencies",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"frequencies",
"length",
";",
"i",
"+",
"+",
")",
"{",
"optional",
"<",
"map",
"entry",
"<",
"double",
",",
"integer",
">",
">",
"max",
"=",
"frequencies",
"[",
"i",
"]",
"entry",
"set",
"(",
")",
"stream",
"(",
")",
"max",
"(",
"comparator",
"comparing",
"int",
"(",
"map",
"entry",
":",
":",
"get",
"value",
")",
")",
";",
"if",
"(",
"max",
"is",
"present",
"(",
")",
")",
"res",
"[",
"i",
"]",
"=",
"max",
"get",
"(",
")",
"get",
"key",
"(",
")",
";",
"}",
"return",
"res",
";"
]
|
[
"calculates",
"the",
"imputing",
"values",
"by",
"sums",
"and",
"counts",
"keeping",
"in",
"the",
"given",
"dataset"
]
| [
"double",
"[",
"]",
"sums",
"=",
"dataset",
"compute",
"(",
"imputer",
"partition",
"data",
":",
":",
"sums",
",",
"(",
"a",
",",
"b",
")",
"-",
">",
"{",
"if",
"(",
"a",
"=",
"=",
"null",
")",
"return",
"b",
";",
"if",
"(",
"b",
"=",
"=",
"null",
")",
"return",
"a",
";",
"assert",
"a",
"length",
"=",
"=",
"b",
"length",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"a",
"length",
";",
"i",
"+",
"+",
")",
"a",
"[",
"i",
"]",
"+",
"=",
"b",
"[",
"i",
"]",
";",
"return",
"a",
";",
"}",
")",
";",
"int",
"[",
"]",
"counts",
"=",
"dataset",
"compute",
"(",
"imputer",
"partition",
"data",
":",
":",
"counts",
",",
"(",
"a",
",",
"b",
")",
"-",
">",
"{",
"if",
"(",
"a",
"=",
"=",
"null",
")",
"return",
"b",
";",
"if",
"(",
"b",
"=",
"=",
"null",
")",
"return",
"a",
";",
"assert",
"a",
"length",
"=",
"=",
"b",
"length",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"a",
"length",
";",
"i",
"+",
"+",
")",
"a",
"[",
"i",
"]",
"+",
"=",
"b",
"[",
"i",
"]",
";",
"return",
"a",
";",
"}",
")",
";",
"double",
"[",
"]",
"means",
"=",
"new",
"double",
"[",
"sums",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"means",
"length",
";",
"i",
"+",
"+",
")",
"means",
"[",
"i",
"]",
"=",
"sums",
"[",
"i",
"]",
"/",
"counts",
"[",
"i",
"]",
";",
"return",
"means",
";"
]
|
[
"sets",
"the",
"imputing",
"strategy"
]
| [
"this",
"imputing",
"stgy",
"=",
"imputing",
"stgy",
";",
"return",
"this",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.