docstring_tokens
list | code_tokens
list |
---|---|
[
"format",
"the",
"thread",
"pool",
"info",
"object",
"for",
"this",
"executor"
]
| [
"abstract",
"string",
"format",
"info",
"(",
"thread",
"pool",
"info",
"info",
")",
";"
]
|
[
"log",
"the",
"timestamp"
]
| [
"return",
"timestamp",
";"
]
|
[
"set",
"timestamp"
]
| [
"timestamp",
"=",
"string",
";",
"set",
"updated",
"true",
"(",
")",
";"
]
|
[
"return",
"as",
"open",
"h",
"a",
"b",
"type",
"date",
"time",
"type"
]
| [
"if",
"(",
"timestamp",
"!",
"=",
"null",
")",
"{",
"return",
"date",
"time",
"type",
"value",
"of",
"(",
"timestamp",
")",
";",
"}",
"else",
"{",
"return",
"null",
";",
"}"
]
|
[
"{"
]
| [
"ignite",
"configuration",
"dflt",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"(",
"(",
"tcp",
"discovery",
"spi",
")",
"dflt",
"cfg",
"get",
"discovery",
"spi",
"(",
")",
")",
"set",
"ip",
"finder",
"(",
"ip",
"finder",
")",
";",
"dflt",
"cfg",
"set",
"communication",
"spi",
"(",
"new",
"test",
"recording",
"communication",
"spi",
"(",
")",
")",
";",
"return",
"dflt",
"cfg",
";"
]
|
[
"get",
"the",
"display",
"mode",
"of",
"the",
"current",
"pattern"
]
| [
"return",
"m",
"pattern",
"display",
"mode",
";"
]
|
[
"clear",
"the",
"pattern",
"lookup",
"table"
]
| [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"3",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"3",
";",
"j",
"+",
"+",
")",
"{",
"m",
"pattern",
"draw",
"lookup",
"[",
"i",
"]",
"[",
"j",
"]",
"=",
"false",
";",
"}",
"}"
]
|
[
"helper",
"method",
"to",
"find",
"the",
"row",
"that",
"y",
"falls",
"into"
]
| [
"final",
"float",
"square",
"height",
"=",
"m",
"square",
"height",
";",
"float",
"hit",
"size",
"=",
"square",
"height",
"*",
"m",
"hit",
"factor",
";",
"float",
"offset",
"=",
"get",
"padding",
"top",
"(",
")",
"+",
"(",
"square",
"height",
"-",
"hit",
"size",
")",
"/",
"2f",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"3",
";",
"i",
"+",
"+",
")",
"{",
"final",
"float",
"hit",
"top",
"=",
"offset",
"+",
"square",
"height",
"*",
"i",
";",
"if",
"(",
"y",
">",
"=",
"hit",
"top",
"&",
"&",
"y",
"<",
"=",
"hit",
"top",
"+",
"hit",
"size",
")",
"{",
"return",
"i",
";",
"}",
"}",
"return",
"-",
"1",
";"
]
|
[
"helper",
"method",
"to",
"find",
"the",
"column",
"x",
"fallis",
"into"
]
| [
"final",
"float",
"square",
"width",
"=",
"m",
"square",
"width",
";",
"float",
"hit",
"size",
"=",
"square",
"width",
"*",
"m",
"hit",
"factor",
";",
"float",
"offset",
"=",
"get",
"padding",
"left",
"(",
")",
"+",
"(",
"square",
"width",
"-",
"hit",
"size",
")",
"/",
"2f",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"3",
";",
"i",
"+",
"+",
")",
"{",
"final",
"float",
"hit",
"left",
"=",
"offset",
"+",
"square",
"width",
"*",
"i",
";",
"if",
"(",
"x",
">",
"=",
"hit",
"left",
"&",
"&",
"x",
"<",
"=",
"hit",
"left",
"+",
"hit",
"size",
")",
"{",
"return",
"i",
";",
"}",
"}",
"return",
"-",
"1",
";"
]
|
[
"is",
"the",
"referenced",
"authenticator",
"a",
"flow",
"?"
]
| [
"return",
"authenticator",
"flow",
";"
]
|
[
"add",
"an",
"authenticating",
"authority"
]
| [
"authenticating",
"authority",
"add",
"(",
"aa",
")",
";"
]
|
[
"add",
"authenticating",
"authority"
]
| [
"authenticating",
"authority",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"aas",
")",
")",
";"
]
|
[
"remove",
"an",
"authenticating",
"authority"
]
| [
"authenticating",
"authority",
"remove",
"(",
"aa",
")",
";"
]
|
[
"get",
"a",
"read",
"only",
"set",
"of",
"authenticating",
"authority"
]
| [
"return",
"collections",
"unmodifiable",
"set",
"(",
"authenticating",
"authority",
")",
";"
]
|
[
"get",
"the",
"sequence"
]
| [
"return",
"sequence",
";"
]
|
[
"set",
"the",
"authn",
"context",
"sequence"
]
| [
"this",
"sequence",
"=",
"sequence",
";"
]
|
[
"{"
]
| [
"return",
"collections",
"singleton",
"map",
"(",
"new",
"string",
"test",
"task",
"job",
"(",
"arg",
")",
",",
"f",
"first",
"(",
"subgrid",
")",
")",
";"
]
|
[
"{"
]
| [
"return",
"arg",
";"
]
|
[
"updates",
"the",
"store",
"definition",
"object",
"and",
"the",
"retention",
"time",
"based",
"on",
"the",
"updated",
"store",
"definition"
]
| [
"this",
"store",
"def",
"=",
"store",
"def",
";",
"if",
"(",
"store",
"def",
"has",
"retention",
"period",
"(",
")",
")",
"this",
"retention",
"time",
"ms",
"=",
"store",
"def",
"get",
"retention",
"days",
"(",
")",
"*",
"time",
"ms",
"per",
"day",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"data",
"set",
"item",
"<",
"/",
"p",
">"
]
| [
"this",
"entry",
"name",
"=",
"entry",
"name",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"data",
"set",
"item",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"entry",
"name",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"data",
"set",
"item",
"<",
"/",
"p",
">"
]
| [
"set",
"entry",
"name",
"(",
"entry",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"pre",
"-",
"signed",
"uri",
"of",
"the",
"data",
"set",
"item",
"<",
"/",
"p",
">"
]
| [
"this",
"data",
"u",
"r",
"i",
"=",
"data",
"u",
"r",
"i",
";"
]
|
[
"<",
"p",
">",
"the",
"pre",
"-",
"signed",
"uri",
"of",
"the",
"data",
"set",
"item",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"data",
"u",
"r",
"i",
";"
]
|
[
"<",
"p",
">",
"the",
"pre",
"-",
"signed",
"uri",
"of",
"the",
"data",
"set",
"item",
"<",
"/",
"p",
">"
]
| [
"set",
"data",
"u",
"r",
"i",
"(",
"data",
"u",
"r",
"i",
")",
";",
"return",
"this",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"style",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"clip",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"value",
"of",
"the",
"{"
]
| [
"return",
"ndelta",
"time",
"seconds",
"(",
"address",
"(",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"nk",
"context",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"nk",
"context",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"nk",
"context",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"nk",
"context",
"class",
",",
"address",
")",
";"
]
|
[
"like",
"{"
]
| [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"nk",
"context",
"class",
",",
"address",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{",
"@",
"link",
"nk",
"context",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
]
| [
"return",
"wrap",
"(",
"nk",
"context",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{",
"@",
"link",
"nk",
"context",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
]
| [
"return",
"wrap",
"(",
"nk",
"context",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"nk",
"input",
"create",
"(",
"struct",
"+",
"nk",
"context",
"input",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"nk",
"style",
"create",
"(",
"struct",
"+",
"nk",
"context",
"style",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"nk",
"buffer",
"create",
"(",
"struct",
"+",
"nk",
"context",
"memory",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"nk",
"clipboard",
"create",
"(",
"struct",
"+",
"nk",
"context",
"clip",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"nk",
"context",
"last",
"widget",
"state",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"nk",
"context",
"button",
"behavior",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"nk",
"configuration",
"stacks",
"create",
"(",
"struct",
"+",
"nk",
"context",
"stacks",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"unsafe",
"get",
"float",
"(",
"null",
",",
"struct",
"+",
"nk",
"context",
"delta",
"time",
"seconds",
")",
";"
]
|
[
"set",
"a",
"listener",
"to",
"interface",
"with",
"activity",
"or",
"fragment"
]
| [
"m",
"on",
"context",
"menu",
"listener",
"=",
"listener",
";"
]
|
[
"context",
"menu",
"used",
"to",
"cut",
"copy",
"or",
"paste",
"which",
"overwrites",
"the",
"consuming",
"method"
]
| [
"boolean",
"consumed",
"=",
"super",
"on",
"text",
"context",
"menu",
"item",
"(",
"id",
")",
";",
"switch",
"(",
"id",
")",
"{",
"case",
"android",
"r",
"id",
"cut",
":",
"on",
"cut",
"(",
")",
";",
"break",
";",
"case",
"android",
"r",
"id",
"copy",
":",
"on",
"copy",
"(",
")",
";",
"break",
";",
"case",
"android",
"r",
"id",
"paste",
":",
"on",
"paste",
"(",
")",
";",
"break",
";",
"}",
"return",
"consumed",
";"
]
|
[
"text",
"cut",
"from",
"w",
"p",
"edit",
"text"
]
| [
"if",
"(",
"m",
"on",
"context",
"menu",
"listener",
"!",
"=",
"null",
")",
"{",
"m",
"on",
"context",
"menu",
"listener",
"on",
"cut",
"(",
")",
";",
"}"
]
|
[
"text",
"copied",
"from",
"w",
"p",
"edit",
"text"
]
| [
"if",
"(",
"m",
"on",
"context",
"menu",
"listener",
"!",
"=",
"null",
")",
"{",
"m",
"on",
"context",
"menu",
"listener",
"on",
"copy",
"(",
")",
";",
"}"
]
|
[
"text",
"pasted",
"into",
"w",
"p",
"edit",
"text"
]
| [
"if",
"(",
"m",
"on",
"context",
"menu",
"listener",
"!",
"=",
"null",
")",
"{",
"m",
"on",
"context",
"menu",
"listener",
"on",
"paste",
"(",
")",
";",
"}"
]
|
[
"returns",
"the",
"type",
"s",
"environment"
]
| [
"return",
"f",
"environment",
";"
]
|
[
"returns",
"the",
"key",
"of",
"the",
"binding",
"from",
"which",
"this",
"type",
"got",
"constructed"
]
| [
"return",
"f",
"binding",
"key",
";"
]
|
[
"returns",
"the",
"modifiers",
"for",
"this",
"type"
]
| [
"return",
"f",
"modifiers",
";"
]
|
[
"returns",
"the",
"element",
"kind"
]
| [
"public",
"abstract",
"int",
"get",
"kind",
"(",
")",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"<",
"code",
">",
"java",
"lang",
"object",
"<",
"/",
"code",
">",
"or",
"not"
]
| [
"return",
"false",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"<",
"code",
">",
"java",
"lang",
"cloneable",
"<",
"/",
"code",
">",
"or",
"not"
]
| [
"return",
"false",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"<",
"code",
">",
"java",
"io",
"serializable",
"<",
"/",
"code",
">",
"or",
"not"
]
| [
"return",
"false",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"the",
"null",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"null",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"the",
"void",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"void",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"primitive",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"primitive",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"an",
"array",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"array",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"hierarchy",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"int",
"element",
"type",
"=",
"get",
"kind",
"(",
")",
";",
"return",
"element",
"type",
"=",
"=",
"raw",
"type",
"|",
"|",
"element",
"type",
"=",
"=",
"parameterized",
"type",
"|",
"|",
"element",
"type",
"=",
"=",
"generic",
"type",
"|",
"|",
"element",
"type",
"=",
"=",
"standard",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"standard",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"standard",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"raw",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"raw",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"parameterized",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"parameterized",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"generic",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"generic",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"type",
"variable",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"type",
"variable",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"capture",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"capture",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"wildcard",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"int",
"element",
"type",
"=",
"get",
"kind",
"(",
")",
";",
"return",
"element",
"type",
"=",
"=",
"extends",
"wildcard",
"type",
"|",
"|",
"element",
"type",
"=",
"=",
"unbound",
"wildcard",
"type",
"|",
"|",
"element",
"type",
"=",
"=",
"super",
"wildcard",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"unbound",
"wildcard",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"unbound",
"wildcard",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"an",
"extends",
"wildcard",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"extends",
"wildcard",
"type",
";"
]
|
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"given",
"type",
"represents",
"a",
"super",
"wildcard",
"type",
"otherwise",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"is",
"returned"
]
| [
"return",
"get",
"kind",
"(",
")",
"=",
"=",
"super",
"wildcard",
"type",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"class"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"class",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"interface"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"interface",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"enumeration"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"enum",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"an",
"annotation"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"annotation",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"top",
"level",
"type"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"top",
"level",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"nested",
"type"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"nested",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"member",
"type"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"member",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"a",
"local",
"type"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"local",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"whether",
"this",
"type",
"represents",
"an",
"anonymous",
"type"
]
| [
"return",
"(",
"f",
"flags",
"&",
"f",
"is",
"anonymous",
")",
"!",
"=",
"0",
";"
]
|
[
"returns",
"the",
"super",
"classes",
"of",
"this",
"type",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
]
| [
"return",
"null",
";"
]
|
[
"returns",
"the",
"interfaces",
"this",
"type",
"implements",
"or",
"extends"
]
| [
"return",
"empty",
"type",
"array",
";"
]
|
[
"{"
]
| [
"if",
"(",
"this",
"=",
"=",
"other",
")",
"return",
"true",
";",
"if",
"(",
"!",
"(",
"other",
"instanceof",
"t",
"type",
")",
")",
"return",
"false",
";",
"t",
"type",
"other",
"type",
"=",
"(",
"t",
"type",
")",
"other",
";",
"if",
"(",
"get",
"kind",
"(",
")",
"!",
"=",
"other",
"type",
"get",
"kind",
"(",
")",
")",
"return",
"false",
";",
"return",
"do",
"equals",
"(",
"other",
"type",
")",
";"
]
|
[
"performs",
"the",
"actual",
"equals",
"check"
]
| [
"protected",
"abstract",
"boolean",
"do",
"equals",
"(",
"t",
"type",
"type",
")",
";"
]
|
[
"returns",
"the",
"erasure",
"of",
"this",
"type",
"as",
"defined",
"by",
"i",
"type",
"binding",
"#",
"get",
"erasure",
"(",
")"
]
| [
"return",
"this",
";"
]
|
[
"returns",
"the",
"type",
"for",
"the",
"type",
"declaration",
"corresponding",
"to",
"this",
"type"
]
| [
"return",
"this",
";"
]
|
[
"answer",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"receiver",
"of",
"this",
"method",
"can",
"be",
"assigned",
"to",
"the",
"argument",
"lhs",
"(",
"e",
"g",
"lhs",
"=",
"this",
"is",
"a",
"valid",
"assignment",
")"
]
| [
"if",
"(",
"this",
"is",
"type",
"equivalent",
"to",
"(",
"lhs",
")",
")",
"return",
"true",
";",
"return",
"do",
"can",
"assign",
"to",
"(",
"lhs",
")",
";"
]
|
[
"returns",
"whether",
"the",
"receiver",
"type",
"is",
"type",
"equivalent",
"to",
"the",
"other",
"type",
"this",
"method",
"considers",
"the",
"erasure",
"for",
"generic",
"raw",
"and",
"parameterized",
"types"
]
| [
"return",
"this",
"equals",
"(",
"other",
")",
";"
]
|
[
"checks",
"whether",
"the",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"left",
"hand",
"side",
"type",
"interpreted",
"as",
"a",
"type",
"argument",
"of",
"a",
"parameterized",
"type",
"is",
"compatible",
"with",
"the",
"given",
"type",
"<",
"code",
">",
"rhs",
"<",
"/",
"code",
">",
"for",
"example",
"if",
"<",
"code",
">",
"list",
"&",
"lt",
";",
"this",
"&",
"gt",
";",
"=",
"list",
"&",
"lt",
";",
"rhs",
"&",
"gt",
";",
"<",
"/",
"code",
">",
"is",
"a",
"valid",
"assignment"
]
| [
"return",
"this",
"equals",
"(",
"rhs",
")",
";"
]
|
[
"hook",
"method",
"to",
"perform",
"the",
"actual",
"can",
"assign",
"test"
]
| [
"protected",
"abstract",
"boolean",
"do",
"can",
"assign",
"to",
"(",
"t",
"type",
"lhs",
")",
";"
]
|
[
"returns",
"a",
"signature",
"of",
"this",
"type",
"which",
"can",
"be",
"presented",
"to",
"the",
"user"
]
| [
"return",
"get",
"plain",
"pretty",
"signature",
"(",
")",
";"
]
|
[
"computes",
"a",
"plain",
"pretty",
"signature",
"for",
"type",
"with",
"bounds",
"(",
"e",
"g",
"type",
"variables",
"and",
"wildcards",
")",
"the",
"plain",
"signature",
"is",
"different",
"than",
"the",
"full",
"pretty",
"signature"
]
| [
"protected",
"abstract",
"string",
"get",
"plain",
"pretty",
"signature",
"(",
")",
";"
]
|
[
"{"
]
| [
"return",
"get",
"pretty",
"signature",
"(",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"price",
"in",
"us",
"dollars",
"(",
"e",
"g",
"<",
"code",
">",
"5",
"0",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"price",
"(",
"price",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"number",
"of",
"v",
"c",
"p",
"us",
"included",
"in",
"the",
"bundle",
"(",
"e",
"g",
"<",
"code",
">",
"2",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"cpu",
"count",
"(",
"cpu",
"count",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"ssd",
"(",
"e",
"g",
"<",
"code",
">",
"30",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"disk",
"size",
"in",
"gb",
"(",
"disk",
"size",
"in",
"gb",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"bundle",
"id",
"(",
"e",
"g",
"<",
"code",
">",
"micro",
"1",
"0",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"bundle",
"id",
"(",
"bundle",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"amazon",
"ec2",
"instance",
"type",
"(",
"e",
"g",
"<",
"code",
">",
"t",
"2",
"micro",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"instance",
"type",
"(",
"instance",
"type",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"the",
"bundle",
"is",
"active",
"<",
"/",
"p",
">"
]
| [
"set",
"is",
"active",
"(",
"is",
"active",
")",
";",
"return",
"this",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.