docstring_tokens list | code_tokens list |
|---|---|
[
"serializes",
"the",
"value",
"of",
"this",
"object",
"to",
"byte",
"buffer",
"putting",
"only",
"32",
"bits",
"data"
] | [
"assert",
"(",
"this",
"mag",
"get",
"v",
"3",
"(",
")",
"=",
"=",
"0",
"&",
"&",
"this",
"mag",
"get",
"v",
"2",
"(",
")",
"=",
"=",
"0",
"&",
"&",
"this",
"mag",
"get",
"v",
"1",
"(",
")",
"=",
"=",
"0",
"&",
"&",
"this",
"mag",
"get"... |
[
"specialized",
"version"
] | [
"return",
"this",
"negative",
"=",
"=",
"o",
"negative",
"&",
"&",
"mag",
"equals",
"(",
"o",
"mag",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"this",
"{"
] | [
"return",
"long",
"value",
"(",
")",
";"
] |
[
"calculates",
"addition",
"and",
"puts",
"the",
"result",
"into",
"the",
"given",
"object",
"this",
"method",
"is",
"static",
"and",
"not",
"destructive",
"(",
"except",
"the",
"result",
"object",
")"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"add",
"destructive",
"(",
"right",
")",
";"
] |
[
"calculates",
"addition",
"and",
"stores",
"the",
"result",
"into",
"this",
"object",
"this",
"method",
"is",
"destructive"
] | [
"if",
"(",
"this",
"negative",
"=",
"=",
"right",
"negative",
")",
"{",
"this",
"mag",
"add",
"destructive",
"(",
"right",
"mag",
")",
";",
"if",
"(",
"this",
"mag",
"get",
"v",
"3",
"(",
")",
"<",
"0",
")",
"{",
"sql",
"math",
"util",
"throw",
... |
[
"calculates",
"subtraction",
"and",
"puts",
"the",
"result",
"into",
"the",
"given",
"object",
"this",
"method",
"is",
"static",
"and",
"not",
"destructive",
"(",
"except",
"the",
"result",
"object",
")"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"subtract",
"destructive",
"(",
"right",
")",
";"
] |
[
"calculates",
"subtraction",
"and",
"stores",
"the",
"result",
"into",
"this",
"object",
"this",
"method",
"is",
"destructive"
] | [
"if",
"(",
"this",
"negative",
"!",
"=",
"right",
"negative",
")",
"{",
"this",
"mag",
"add",
"destructive",
"(",
"right",
"mag",
")",
";",
"if",
"(",
"this",
"mag",
"get",
"v",
"3",
"(",
")",
"<",
"0",
")",
"{",
"sql",
"math",
"util",
"throw",
... |
[
"performs",
"multiplication"
] | [
"this",
"mag",
"multiply",
"destructive",
"(",
"right",
"mag",
")",
";",
"this",
"negative",
"=",
"this",
"negative",
"^",
"right",
"negative",
";",
"if",
"(",
"this",
"mag",
"get",
"v",
"3",
"(",
")",
"<",
"0",
")",
"{",
"sql",
"math",
"util",
"th... |
[
"performs",
"multiplication"
] | [
"if",
"(",
"right",
"<",
"0",
")",
"{",
"this",
"mag",
"multiply",
"destructive",
"(",
"-",
"right",
")",
";",
"this",
"negative",
"=",
"!",
"this",
"negative",
";",
"}",
"else",
"{",
"this",
"mag",
"multiply",
"destructive",
"(",
"right",
")",
";",
... |
[
"divides",
"this",
"value",
"with",
"the",
"given",
"value",
"this",
"version",
"is",
"destructive",
"meaning",
"it",
"modifies",
"this",
"object"
] | [
"int",
"ret",
";",
"if",
"(",
"right",
"<",
"0",
")",
"{",
"ret",
"=",
"this",
"mag",
"divide",
"destructive",
"(",
"-",
"right",
")",
";",
"this",
"negative",
"=",
"!",
"this",
"negative",
";",
"}",
"else",
"{",
"ret",
"=",
"this",
"mag",
"divid... |
[
"reverses",
"the",
"sign",
"of",
"this",
"object",
"this",
"method",
"is",
"destructive"
] | [
"this",
"negative",
"=",
"!",
"this",
"negative",
";"
] |
[
"makes",
"this",
"object",
"positive",
"this",
"method",
"is",
"destructive"
] | [
"this",
"negative",
"=",
"false",
";"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"negate",
"destructive",
"(",
")",
";"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"abs",
"destructive",
"(",
")",
";"
] |
[
"adds",
"one",
"to",
"this",
"value",
"this",
"version",
"is",
"destructive",
"meaning",
"it",
"modifies",
"this",
"object"
] | [
"if",
"(",
"!",
"this",
"negative",
")",
"{",
"if",
"(",
"this",
"mag",
"equals",
"(",
"sql",
"math",
"util",
"fullbits",
"32",
",",
"sql",
"math",
"util",
"fullbits",
"32",
",",
"sql",
"math",
"util",
"fullbits",
"32",
",",
"sql",
"math",
"util",
... |
[
"subtracts",
"one",
"from",
"this",
"value",
"this",
"version",
"is",
"destructive",
"meaning",
"it",
"modifies",
"this",
"object"
] | [
"if",
"(",
"this",
"negative",
")",
"{",
"if",
"(",
"this",
"mag",
"equals",
"(",
"sql",
"math",
"util",
"fullbits",
"32",
",",
"sql",
"math",
"util",
"fullbits",
"32",
",",
"sql",
"math",
"util",
"fullbits",
"32",
",",
"sql",
"math",
"util",
"fullbi... |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"increment",
"destructive",
"(",
")",
";"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"decrement",
"destructive",
"(",
")",
";"
] |
[
"right",
"-",
"shift",
"for",
"the",
"given",
"number",
"of",
"bits",
"this",
"bit",
"-",
"shift",
"is",
"equivalent",
"to",
"java",
"s",
"signed",
"bit",
"shift",
"&",
"gt",
";",
"&",
"gt",
";",
"this",
"version",
"is",
"destructive",
"meaning",
"it",... | [
"this",
"mag",
"shift",
"right",
"destructive",
"(",
"bits",
",",
"round",
"up",
")",
";",
"if",
"(",
"this",
"mag",
"is",
"zero",
"(",
")",
"&",
"&",
"this",
"negative",
")",
"{",
"this",
"negative",
"=",
"false",
";",
"}"
] |
[
"left",
"-",
"shift",
"for",
"the",
"given",
"number",
"of",
"bits",
"this",
"bit",
"-",
"shift",
"is",
"equivalent",
"to",
"java",
"s",
"signed",
"bit",
"shift",
"&",
"lt",
";",
"&",
"lt",
";",
"this",
"method",
"does",
"not",
"throw",
"an",
"error"... | [
"this",
"mag",
"shift",
"left",
"destructive",
"(",
"bits",
")",
";",
"if",
"(",
"this",
"mag",
"get",
"v",
"3",
"(",
")",
"<",
"0",
")",
"{",
"sql",
"math",
"util",
"throw",
"overflow",
"exception",
"(",
")",
";",
"}",
"assert",
"(",
"this",
"ma... |
[
"scale",
"down",
"the",
"value",
"for",
"10",
"*",
"*",
"ten",
"scale",
"(",
"this",
":",
"=",
"this",
"/",
"10",
"*",
"*",
"ten",
"scale",
")",
"this",
"method",
"rounds",
"-",
"up",
"eg",
"44",
"/",
"10",
"=",
"4",
"45",
"/",
"10",
"=",
"5"... | [
"this",
"mag",
"scale",
"down",
"ten",
"destructive",
"(",
"ten",
"scale",
")",
";",
"if",
"(",
"this",
"mag",
"is",
"zero",
"(",
")",
"&",
"&",
"this",
"negative",
")",
"{",
"this",
"negative",
"=",
"false",
";",
"}"
] |
[
"scale",
"up",
"the",
"value",
"for",
"10",
"*",
"*",
"ten",
"scale",
"(",
"this",
":",
"=",
"this",
"*",
"10",
"*",
"*",
"ten",
"scale",
")",
"scaling",
"up",
"does",
"throw",
"an",
"error",
"when",
"an",
"overflow",
"occurs",
"for",
"example",
"4... | [
"this",
"mag",
"scale",
"up",
"ten",
"destructive",
"(",
"ten",
"scale",
")",
";",
"if",
"(",
"this",
"mag",
"get",
"v",
"3",
"(",
")",
"<",
"0",
")",
"{",
"sql",
"math",
"util",
"throw",
"overflow",
"exception",
"(",
")",
";",
"}"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"shift",
"right",
"destructive",
"(",
"bits",
",",
"round",
"up",
")",
";"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"shift",
"left",
"destructive",
"(",
"bits",
")",
";"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"scale",
"down",
"ten",
"destructive",
"(",
"ten",
"scale",
")",
";"
] |
[
"this",
"version",
"returns",
"the",
"result",
"as",
"a",
"new",
"object",
"not",
"modifying",
"the",
"give",
"objects"
] | [
"result",
"update",
"(",
"left",
")",
";",
"result",
"scale",
"up",
"ten",
"destructive",
"(",
"ten",
"scale",
")",
";"
] |
[
"convert",
"this",
"object",
"to",
"{",
"@",
"link",
"big",
"integer",
"}",
"do",
"not",
"use",
"this",
"method",
"in",
"a",
"performance",
"sensitive",
"place"
] | [
"big",
"integer",
"big",
"int",
"=",
"this",
"mag",
"to",
"big",
"integer",
"slow",
"(",
")",
";",
"return",
"this",
"negative",
"?",
"big",
"int",
"negate",
"(",
")",
":",
"big",
"int",
";"
] |
[
"}"
] | [
"return",
"focus",
";"
] |
[
"set",
"the",
"style",
"to",
"use",
"to",
"format",
"date",
"values",
"<",
"p",
">",
"if",
"not",
"specified",
"date",
"format",
"s",
"default",
"style",
"will",
"be",
"used"
] | [
"this",
"style",
"=",
"style",
";"
] |
[
"enables",
"the",
"verbose",
"log",
"for",
"the",
"adapter"
] | [
"this",
"m",
"verbose",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"sets",
"an",
"type",
"instance",
"cache",
"to",
"this",
"fast",
"adapter",
"instance",
"the",
"cache",
"will",
"manage",
"the",
"type",
"instances",
"to",
"create",
"new",
"views",
"more",
"efficient",
"normally",
"an",
"shared",
"cache",
"is",
"used",
"ove... | [
"this",
"m",
"type",
"instance",
"cache",
"=",
"m",
"type",
"instance",
"cache",
";"
] |
[
"creates",
"a",
"new",
"fast",
"adapter",
"with",
"the",
"provided",
"adapters",
"if",
"adapters",
"is",
"null",
"a",
"default",
"item",
"adapter",
"is",
"defined"
] | [
"return",
"with",
"(",
"adapters",
",",
"null",
")",
";"
] |
[
"add",
"s",
"a",
"new",
"adapter",
"at",
"the",
"specific",
"position"
] | [
"m",
"adapters",
"add",
"(",
"index",
",",
"adapter",
")",
";",
"adapter",
"with",
"fast",
"adapter",
"(",
"this",
")",
";",
"adapter",
"map",
"possible",
"types",
"(",
"adapter",
"get",
"adapter",
"items",
"(",
")",
")",
";",
"for",
"(",
"int",
"i",... |
[
"tries",
"to",
"get",
"an",
"adapter",
"by",
"a",
"specific",
"order"
] | [
"if",
"(",
"m",
"adapters",
"size",
"(",
")",
"<",
"=",
"order",
")",
"{",
"return",
"null",
";",
"}",
"return",
"m",
"adapters",
"get",
"(",
"order",
")",
";"
] |
[
"adds",
"a",
"new",
"event",
"hook",
"for",
"an",
"item",
"note",
":",
"this",
"has",
"to",
"be",
"called",
"before",
"adding",
"the",
"first",
"items",
"as",
"this",
"won",
"t",
"be",
"called",
"anymore",
"after",
"the",
"view",
"holders",
"were",
"cr... | [
"return",
"with",
"event",
"hook",
"(",
"event",
"hook",
")",
";"
] |
[
"adds",
"a",
"new",
"event",
"hook",
"for",
"an",
"item",
"note",
":",
"this",
"has",
"to",
"be",
"called",
"before",
"adding",
"the",
"first",
"items",
"as",
"this",
"won",
"t",
"be",
"called",
"anymore",
"after",
"the",
"view",
"holders",
"were",
"cr... | [
"if",
"(",
"event",
"hooks",
"=",
"=",
"null",
")",
"{",
"event",
"hooks",
"=",
"new",
"linked",
"list",
"<",
">",
"(",
")",
";",
"}",
"event",
"hooks",
"add",
"(",
"event",
"hook",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"new",
"event",
"hooks",
"for",
"an",
"item",
"note",
":",
"this",
"has",
"to",
"be",
"called",
"before",
"adding",
"the",
"first",
"items",
"as",
"this",
"won",
"t",
"be",
"called",
"anymore",
"after",
"the",
"view",
"holders",
"were",
"created"... | [
"if",
"(",
"event",
"hooks",
"=",
"=",
"null",
")",
"{",
"return",
"this",
";",
"}",
"if",
"(",
"this",
"event",
"hooks",
"=",
"=",
"null",
")",
"{",
"this",
"event",
"hooks",
"=",
"new",
"linked",
"list",
"<",
">",
"(",
")",
";",
"}",
"this",
... |
[
"define",
"the",
"on",
"click",
"listener",
"which",
"will",
"be",
"used",
"for",
"a",
"single",
"item"
] | [
"this",
"m",
"on",
"click",
"listener",
"=",
"on",
"click",
"listener",
";",
"return",
"this",
";"
] |
[
"define",
"the",
"on",
"pre",
"click",
"listener",
"which",
"will",
"be",
"used",
"for",
"a",
"single",
"item",
"and",
"is",
"called",
"after",
"all",
"internal",
"methods",
"are",
"done"
] | [
"this",
"m",
"on",
"pre",
"click",
"listener",
"=",
"on",
"pre",
"click",
"listener",
";",
"return",
"this",
";"
] |
[
"define",
"the",
"on",
"long",
"click",
"listener",
"which",
"will",
"be",
"used",
"for",
"a",
"single",
"item"
] | [
"this",
"m",
"on",
"long",
"click",
"listener",
"=",
"on",
"long",
"click",
"listener",
";",
"return",
"this",
";"
] |
[
"define",
"the",
"on",
"long",
"click",
"listener",
"which",
"will",
"be",
"used",
"for",
"a",
"single",
"item",
"and",
"is",
"called",
"after",
"all",
"internal",
"methods",
"are",
"done"
] | [
"this",
"m",
"on",
"pre",
"long",
"click",
"listener",
"=",
"on",
"pre",
"long",
"click",
"listener",
";",
"return",
"this",
";"
] |
[
"define",
"the",
"touch",
"listener",
"which",
"will",
"be",
"used",
"for",
"a",
"single",
"item"
] | [
"this",
"m",
"on",
"touch",
"listener",
"=",
"on",
"touch",
"listener",
";",
"return",
"this",
";"
] |
[
"allows",
"you",
"to",
"set",
"a",
"custom",
"on",
"create",
"view",
"holder",
"listener",
"which",
"will",
"be",
"used",
"before",
"and",
"after",
"the",
"view",
"holder",
"is",
"created",
"you",
"may",
"check",
"the",
"on",
"create",
"view",
"holder",
... | [
"this",
"m",
"on",
"create",
"view",
"holder",
"listener",
"=",
"on",
"create",
"view",
"holder",
"listener",
";",
"return",
"this",
";"
] |
[
"allows",
"you",
"to",
"set",
"an",
"custom",
"on",
"bind",
"view",
"holder",
"listener",
"which",
"is",
"used",
"to",
"bind",
"the",
"view",
"this",
"will",
"overwrite",
"the",
"libraries",
"behavior",
"you",
"may",
"check",
"the",
"on",
"bind",
"view",
... | [
"this",
"m",
"on",
"bind",
"view",
"holder",
"listener",
"=",
"on",
"bind",
"view",
"holder",
"listener",
";",
"return",
"this",
";"
] |
[
"select",
"between",
"the",
"different",
"selection",
"behaviors",
"there",
"are",
"now",
"2",
"different",
"variants",
"of",
"selection",
"you",
"can",
"toggle",
"this",
"via",
"with",
"select",
"with",
"item",
"update",
"(",
"boolean",
")",
"(",
"where",
"... | [
"m",
"select",
"extension",
"with",
"select",
"with",
"item",
"update",
"(",
"select",
"with",
"item",
"update",
")",
";",
"return",
"this",
";"
] |
[
"enable",
"this",
"if",
"you",
"want",
"multi",
"selection",
"possible",
"in",
"the",
"list"
] | [
"m",
"select",
"extension",
"with",
"multi",
"select",
"(",
"multi",
"select",
")",
";",
"return",
"this",
";"
] |
[
"disable",
"this",
"if",
"you",
"want",
"the",
"selection",
"on",
"a",
"single",
"tap"
] | [
"m",
"select",
"extension",
"with",
"select",
"on",
"long",
"click",
"(",
"select",
"on",
"long",
"click",
")",
";",
"return",
"this",
";"
] |
[
"if",
"false",
"a",
"user",
"can",
"t",
"deselect",
"an",
"item",
"via",
"click",
"(",
"you",
"can",
"still",
"do",
"this",
"programmatically",
")"
] | [
"m",
"select",
"extension",
"with",
"allow",
"deselection",
"(",
"allow",
"deselection",
")",
";",
"return",
"this",
";"
] |
[
"set",
"to",
"true",
"if",
"you",
"want",
"the",
"fast",
"adapter",
"to",
"forward",
"all",
"calls",
"from",
"on",
"bind",
"view",
"holder",
"(",
"final",
"recycler",
"view",
"view",
"holder",
"holder",
"int",
"position",
")",
"to",
"on",
"bind",
"view",... | [
"this",
"m",
"legacy",
"bind",
"view",
"mode",
"=",
"legacy",
"bind",
"view",
"mode",
";",
"return",
"this",
";"
] |
[
"if",
"set",
"to",
"false",
"will",
"not",
"attach",
"any",
"listeners",
"to",
"the",
"list",
"click",
"events",
"will",
"have",
"to",
"be",
"handled",
"manually",
"it",
"is",
"important",
"to",
"remember",
"if",
"deactivated",
"no",
"listeners",
"won",
"t... | [
"this",
"m",
"attach",
"default",
"listeners",
"=",
"m",
"attach",
"default",
"listeners",
";",
"return",
"this",
";"
] |
[
"set",
"a",
"listener",
"that",
"get",
"s",
"notified",
"whenever",
"an",
"item",
"is",
"selected",
"or",
"deselected"
] | [
"m",
"select",
"extension",
"with",
"selection",
"listener",
"(",
"selection",
"listener",
")",
";",
"return",
"this",
";"
] |
[
"re",
"-",
"selects",
"all",
"elements",
"stored",
"in",
"the",
"saved",
"instance",
"state",
"important",
"!",
"call",
"this",
"method",
"only",
"after",
"all",
"items",
"where",
"added",
"to",
"the",
"adapters",
"again",
"otherwise",
"it",
"may",
"select",... | [
"return",
"with",
"saved",
"instance",
"state",
"(",
"saved",
"instance",
"state",
",",
"\"",
"\"",
")",
";"
] |
[
"re",
"-",
"selects",
"all",
"elements",
"stored",
"in",
"the",
"saved",
"instance",
"state",
"important",
"!",
"call",
"this",
"method",
"only",
"after",
"all",
"items",
"where",
"added",
"to",
"the",
"adapters",
"again",
"otherwise",
"it",
"may",
"select",... | [
"for",
"(",
"i",
"adapter",
"extension",
"<",
"item",
">",
"ext",
":",
"m",
"extensions",
"values",
"(",
")",
")",
"{",
"ext",
"with",
"saved",
"instance",
"state",
"(",
"saved",
"instance",
"state",
",",
"prefix",
")",
";",
"}",
"return",
"this",
";... |
[
"gets",
"the",
"type",
"instance",
"remembered",
"within",
"the",
"fast",
"adapter",
"for",
"an",
"item"
] | [
"return",
"get",
"type",
"instance",
"cache",
"(",
")",
"get",
"(",
"type",
")",
";"
] |
[
"clears",
"the",
"internal",
"mapper",
"-",
"be",
"sure",
"to",
"remap",
"everything",
"before",
"going",
"on"
] | [
"get",
"type",
"instance",
"cache",
"(",
")",
"clear",
"(",
")",
";"
] |
[
"helper",
"method",
"to",
"get",
"the",
"position",
"from",
"a",
"holder",
"overwrite",
"this",
"if",
"you",
"have",
"an",
"adapter",
"adding",
"additional",
"items",
"inbetwean"
] | [
"return",
"holder",
"get",
"adapter",
"position",
"(",
")",
";"
] |
[
"searches",
"for",
"the",
"given",
"item",
"and",
"calculates",
"its",
"global",
"position"
] | [
"int",
"position",
"=",
"0",
";",
"for",
"(",
"i",
"adapter",
"<",
"item",
">",
"adapter",
":",
"m",
"adapters",
")",
"{",
"if",
"(",
"adapter",
"get",
"order",
"(",
")",
"<",
"0",
")",
"{",
"continue",
";",
"}",
"int",
"relative",
"position",
"=... |
[
"internal",
"method",
"to",
"get",
"the",
"item",
"as",
"item",
"holder",
"which",
"comes",
"with",
"the",
"relative",
"position",
"within",
"its",
"adapter",
"finds",
"the",
"responsible",
"adapter",
"for",
"the",
"given",
"position"
] | [
"if",
"(",
"position",
"<",
"0",
"|",
"|",
"position",
">",
"=",
"get",
"item",
"count",
"(",
")",
")",
"{",
"return",
"new",
"relative",
"info",
"<",
">",
"(",
")",
";",
"}",
"relative",
"info",
"<",
"item",
">",
"relative",
"info",
"=",
"new",
... |
[
"finds",
"the",
"int",
"item",
"id",
"from",
"the",
"i",
"item",
"which",
"exists",
"at",
"the",
"given",
"position"
] | [
"return",
"get",
"item",
"(",
"position",
")",
"get",
"identifier",
"(",
")",
";"
] |
[
"calculates",
"the",
"total",
"item",
"count",
"over",
"all",
"registered",
"adapters"
] | [
"return",
"m",
"global",
"size",
";"
] |
[
"add",
"the",
"values",
"to",
"the",
"bundle",
"for",
"save",
"instance",
"state"
] | [
"return",
"save",
"instance",
"state",
"(",
"saved",
"instance",
"state",
",",
"\"",
"\"",
")",
";"
] |
[
"toggles",
"the",
"selection",
"of",
"the",
"item",
"at",
"the",
"given",
"position"
] | [
"m",
"select",
"extension",
"toggle",
"selection",
"(",
"position",
")",
";"
] |
[
"selects",
"all",
"items",
"at",
"the",
"positions",
"in",
"the",
"iteratable"
] | [
"m",
"select",
"extension",
"select",
"(",
"positions",
")",
";"
] |
[
"selects",
"an",
"item",
"and",
"remembers",
"its",
"position",
"in",
"the",
"selections",
"list"
] | [
"m",
"select",
"extension",
"select",
"(",
"position",
",",
"false",
",",
"false",
")",
";"
] |
[
"selects",
"an",
"item",
"and",
"remembers",
"its",
"position",
"in",
"the",
"selections",
"list"
] | [
"m",
"select",
"extension",
"select",
"(",
"position",
",",
"fire",
"event",
",",
"false",
")",
";"
] |
[
"selects",
"an",
"item",
"and",
"remembers",
"its",
"position",
"in",
"the",
"selections",
"list"
] | [
"m",
"select",
"extension",
"select",
"(",
"position",
",",
"fire",
"event",
",",
"consider",
"selectable",
"flag",
")",
";"
] |
[
"deselects",
"all",
"selections"
] | [
"m",
"select",
"extension",
"deselect",
"(",
")",
";"
] |
[
"select",
"all",
"items"
] | [
"m",
"select",
"extension",
"select",
"(",
"false",
")",
";"
] |
[
"select",
"all",
"items"
] | [
"m",
"select",
"extension",
"select",
"(",
"consider",
"selectable",
"flag",
")",
";"
] |
[
"deselects",
"all",
"items",
"at",
"the",
"positions",
"in",
"the",
"iteratable"
] | [
"m",
"select",
"extension",
"deselect",
"(",
"positions",
")",
";"
] |
[
"deselects",
"an",
"item",
"and",
"removes",
"its",
"position",
"in",
"the",
"selections",
"list"
] | [
"m",
"select",
"extension",
"deselect",
"(",
"position",
")",
";"
] |
[
"deselects",
"an",
"item",
"and",
"removes",
"its",
"position",
"in",
"the",
"selections",
"list",
"also",
"takes",
"an",
"iterator",
"to",
"remove",
"items",
"from",
"the",
"map"
] | [
"m",
"select",
"extension",
"deselect",
"(",
"position",
",",
"entries",
")",
";"
] |
[
"deletes",
"all",
"current",
"selected",
"items"
] | [
"return",
"m",
"select",
"extension",
"delete",
"all",
"selected",
"items",
"(",
")",
";"
] |
[
"wraps",
"notify",
"item",
"inserted"
] | [
"notify",
"adapter",
"item",
"range",
"inserted",
"(",
"position",
",",
"1",
")",
";"
] |
[
"wraps",
"notify",
"item",
"removed"
] | [
"notify",
"adapter",
"item",
"range",
"removed",
"(",
"position",
",",
"1",
")",
";"
] |
[
"wraps",
"notify",
"item",
"changed"
] | [
"notify",
"adapter",
"item",
"changed",
"(",
"position",
",",
"null",
")",
";"
] |
[
"wraps",
"notify",
"item",
"changed"
] | [
"notify",
"adapter",
"item",
"range",
"changed",
"(",
"position",
",",
"1",
",",
"payload",
")",
";"
] |
[
"wraps",
"notify",
"item",
"range",
"changed"
] | [
"notify",
"adapter",
"item",
"range",
"changed",
"(",
"position",
",",
"item",
"count",
",",
"null",
")",
";"
] |
[
"util",
"function",
"which",
"recursively",
"iterates",
"over",
"all",
"items",
"and",
"sub",
"items",
"of",
"the",
"given",
"adapter",
"it",
"executes",
"the",
"given",
"predicate",
"on",
"every",
"item",
"and",
"will",
"either",
"stop",
"if",
"that",
"func... | [
"return",
"recursive",
"(",
"predicate",
",",
"0",
",",
"stop",
"on",
"match",
")",
";"
] |
[
"binds",
"the",
"data",
"of",
"this",
"item",
"onto",
"the",
"view",
"holder"
] | [
"public",
"abstract",
"void",
"bind",
"view",
"(",
"item",
"item",
",",
"list",
"<",
"object",
">",
"payloads",
")",
";"
] |
[
"view",
"needs",
"to",
"release",
"resources",
"when",
"its",
"recycled"
] | [
"public",
"abstract",
"void",
"unbind",
"view",
"(",
"item",
"item",
")",
";"
] |
[
"view",
"got",
"attached",
"to",
"the",
"window"
] | [] |
[
"view",
"got",
"detached",
"from",
"the",
"window"
] | [] |
[
"view",
"is",
"in",
"a",
"transient",
"state",
"and",
"could",
"not",
"be",
"recycled"
] | [
"return",
"false",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"aws",
"account",
"that",
"owns",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"this",
"owner",
"account",
"=",
"owner",
"account",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"aws",
"account",
"that",
"owns",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"owner",
"account",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"aws",
"account",
"that",
"owns",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"owner",
"account",
"(",
"owner",
"account",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"connection",
"id",
"(",
"connection",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"connection",
"name",
"(",
"connection",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"connection",
"the",
"following",
"are",
"the",
"possible",
"values",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ordering",
"<",
"/",
"code",
">",
":",
... | [
"this",
"connection",
"state",
"=",
"connection",
"state",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"connection",
"the",
"following",
"are",
"the",
"possible",
"values",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ordering",
"<",
"/",
"code",
">",
":",
... | [
"return",
"this",
"connection",
"state",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"connection",
"the",
"following",
"are",
"the",
"possible",
"values",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ordering",
"<",
"/",
"code",
">",
":",
... | [
"set",
"connection",
"state",
"(",
"connection",
"state",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"connection",
"the",
"following",
"are",
"the",
"possible",
"values",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ordering",
"<",
"/",
"code",
">",
":",
... | [
"with",
"connection",
"state",
"(",
"connection",
"state",
")",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"connection",
"the",
"following",
"are",
"the",
"possible",
"values",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ordering",
"<",
"/",
"code",
">",
":",
... | [
"this",
"connection",
"state",
"=",
"connection",
"state",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"region",
"where",
"the",
"connection",
"is",
"located",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"region",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"region",
"where",
"the",
"connection",
"is",
"located",
"<",
"/",
"p",
">"
] | [
"set",
"region",
"(",
"region",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"location",
"of",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"location",
"(",
"location",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"bandwidth",
"of",
"the",
"connection",
"<",
"/",
"p",
">"
] | [
"set",
"bandwidth",
"(",
"bandwidth",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vlan",
"<",
"/",
"p",
">"
] | [
"this",
"vlan",
"=",
"vlan",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vlan",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"vlan",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.