docstring_tokens list | code_tokens list |
|---|---|
[
"removes",
"keys",
"already",
"present",
"in",
"the",
"partition",
"record",
"store",
"from",
"the",
"provided",
"keys",
"list",
"this",
"is",
"done",
"by",
"sending",
"a",
"partition",
"operation",
"this",
"operation",
"is",
"supposed",
"to",
"be",
"invoked",... | [
"operation",
"service",
"operation",
"service",
"=",
"map",
"service",
"context",
"get",
"node",
"engine",
"(",
")",
"get",
"operation",
"service",
"(",
")",
";",
"operation",
"operation",
"=",
"new",
"remove",
"from",
"load",
"all",
"operation",
"(",
"name"... |
[
"loads",
"the",
"values",
"for",
"the",
"provided",
"keys",
"in",
"batches",
"and",
"invokes",
"partition",
"operations",
"to",
"put",
"the",
"loaded",
"entry",
"batches",
"into",
"the",
"record",
"store"
] | [
"queue",
"<",
"list",
"<",
"data",
">",
">",
"batch",
"chunks",
"=",
"create",
"batch",
"chunks",
"(",
"keys",
")",
";",
"int",
"size",
"=",
"batch",
"chunks",
"size",
"(",
")",
";",
"list",
"<",
"future",
">",
"futures",
"=",
"new",
"array",
"list... |
[
"returns",
"a",
"queue",
"of",
"key",
"batches"
] | [
"queue",
"<",
"list",
"<",
"data",
">",
">",
"chunks",
"=",
"new",
"linked",
"list",
"<",
"list",
"<",
"data",
">",
">",
"(",
")",
";",
"int",
"load",
"batch",
"size",
"=",
"get",
"load",
"batch",
"size",
"(",
")",
";",
"int",
"page",
"=",
"0",... |
[
"transforms",
"a",
"map",
"to",
"a",
"list",
"of",
"serialised",
"alternating",
"key",
"-",
"value",
"pairs"
] | [
"if",
"(",
"entries",
"=",
"=",
"null",
"|",
"|",
"entries",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"collections",
"empty",
"list",
"(",
")",
";",
"}",
"list",
"<",
"data",
">",
"key",
"value",
"sequence",
"=",
"new",
"array",
"list",
"<",
... |
[
"returns",
"a",
"sublist",
"(",
"page",
")",
"of",
"items",
"in",
"the",
"provided",
"list",
"the",
"start",
"and",
"end",
"index",
"of",
"the",
"sublist",
"are",
"determined",
"by",
"the",
"{",
"@",
"code",
"page",
"size",
"}",
"and",
"{",
"@",
"cod... | [
"if",
"(",
"list",
"=",
"=",
"null",
"|",
"|",
"list",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"int",
"start",
"=",
"page",
"number",
"*",
"page",
"size",
";",
"int",
"end",
"=",
"math",
"min",
"(",
"start",
"+",
"page",
... |
[
"invokes",
"an",
"operation",
"to",
"put",
"the",
"provided",
"key",
"-",
"value",
"pairs",
"to",
"the",
"partition",
"record",
"store"
] | [
"operation",
"service",
"operation",
"service",
"=",
"map",
"service",
"context",
"get",
"node",
"engine",
"(",
")",
"get",
"operation",
"service",
"(",
")",
";",
"operation",
"operation",
"=",
"create",
"operation",
"(",
"key",
"value",
"sequence",
")",
";"... |
[
"returns",
"an",
"operation",
"to",
"put",
"the",
"provided",
"key",
"-",
"value",
"pairs",
"into",
"the",
"partition",
"record",
"store"
] | [
"node",
"engine",
"node",
"engine",
"=",
"map",
"service",
"context",
"get",
"node",
"engine",
"(",
")",
";",
"map",
"operation",
"provider",
"operation",
"provider",
"=",
"map",
"service",
"context",
"get",
"map",
"operation",
"provider",
"(",
"name",
")",
... |
[
"removes",
"unloadable",
"keys",
"from",
"the",
"provided",
"key",
"collection"
] | [
"if",
"(",
"keys",
"=",
"=",
"null",
"|",
"|",
"keys",
"is",
"empty",
"(",
")",
")",
"{",
"return",
";",
"}",
"iterator",
"<",
"data",
">",
"iterator",
"=",
"keys",
"iterator",
"(",
")",
";",
"while",
"(",
"iterator",
"has",
"next",
"(",
")",
"... |
[
"returns",
"the",
"size",
"of",
"the",
"key",
"batch",
"for",
"which",
"values",
"are",
"loaded",
"each",
"partition",
"may",
"load",
"this",
"many",
"values",
"at",
"any",
"moment",
"independently",
"of",
"other",
"value",
"loading",
"tasks",
"on",
"other",... | [
"return",
"map",
"service",
"context",
"get",
"node",
"engine",
"(",
")",
"get",
"properties",
"(",
")",
"get",
"integer",
"(",
"group",
"property",
"map",
"load",
"chunk",
"size",
")",
";"
] |
[
"s",
"q",
"l",
"server",
"parse",
"parameter",
"statement",
"support",
"out",
"type"
] | [
"if",
"(",
"lexer",
"token",
"(",
")",
"=",
"=",
"token",
"rparen",
"|",
"|",
"lexer",
"token",
"(",
")",
"=",
"=",
"token",
"rbracket",
")",
"{",
"return",
";",
"}",
"if",
"(",
"lexer",
"token",
"(",
")",
"=",
"=",
"token",
"eof",
")",
"{",
... |
[
"public",
"for",
"testing",
"purposes"
] | [
"return",
"storage",
"access",
";"
] |
[
"call",
"it",
"when",
"you",
"finish",
"the",
"activity",
"when",
"you",
"call",
"this",
"better",
"don",
"t",
"call",
"some",
"kind",
"of",
"functions",
"like",
"refresh",
"header",
"because",
"the",
"reference",
"of",
"m",
"header",
"views",
"is",
"null"... | [
"if",
"(",
"m",
"header",
"views",
"!",
"=",
"null",
")",
"{",
"m",
"header",
"views",
"clear",
"(",
")",
";",
"m",
"header",
"views",
"=",
"null",
";",
"}",
"if",
"(",
"m",
"foot",
"view",
"instanceof",
"loading",
"more",
"footer",
")",
"{",
"("... |
[
"set",
"the",
"number",
"to",
"control",
"call",
"load",
"more",
"see",
"the",
"demo",
"on",
"linear",
"activity"
] | [
"this",
"limit",
"number",
"to",
"call",
"load",
"more",
"=",
"limit",
"number",
"to",
"call",
"load",
"more",
";"
] |
[
"have",
"no",
"data",
"load",
"back",
"from",
"server",
"anymore",
"do",
"not",
"use",
"this"
] | [
"this",
"m",
"empty",
"view",
"=",
"empty",
"view",
";",
"m",
"data",
"observer",
"on",
"changed",
"(",
")",
";"
] |
[
"example",
":",
"list",
"data",
"remove",
"(",
"position",
")",
";",
"you",
"can",
"also",
"see",
"a",
"demo",
"on",
"linear",
"activity"
] | [
"if",
"(",
"m",
"wrap",
"adapter",
"adapter",
"=",
"=",
"null",
")",
"return",
";",
"int",
"header",
"size",
"=",
"get",
"headers",
"including",
"refresh",
"count",
"(",
")",
";",
"int",
"adj",
"pos",
"=",
"position",
"+",
"header",
"size",
";",
"m",... |
[
"some",
"times",
"we",
"need",
"to",
"override",
"this"
] | [
"if",
"(",
"is",
"header",
"(",
"position",
")",
"|",
"|",
"is",
"refresh",
"header",
"(",
"position",
")",
")",
"{",
"return",
";",
"}",
"int",
"adj",
"position",
"=",
"position",
"-",
"(",
"get",
"headers",
"count",
"(",
")",
"+",
"1",
")",
";"... |
[
"draws",
"horizontal",
"or",
"vertical",
"dividers",
"onto",
"the",
"parent",
"recycler",
"view"
] | [
"if",
"(",
"m",
"orientation",
"=",
"=",
"linear",
"layout",
"manager",
"horizontal",
")",
"{",
"draw",
"horizontal",
"dividers",
"(",
"canvas",
",",
"parent",
")",
";",
"}",
"else",
"if",
"(",
"m",
"orientation",
"=",
"=",
"linear",
"layout",
"manager",... |
[
"determines",
"the",
"size",
"and",
"location",
"of",
"offsets",
"between",
"items",
"in",
"the",
"parent",
"recycler",
"view"
] | [
"super",
"get",
"item",
"offsets",
"(",
"out",
"rect",
",",
"view",
",",
"parent",
",",
"state",
")",
";",
"if",
"(",
"parent",
"get",
"child",
"adapter",
"position",
"(",
"view",
")",
"<",
"=",
"m",
"wrap",
"adapter",
"get",
"headers",
"count",
"(",... |
[
"adds",
"dividers",
"to",
"a",
"recycler",
"view",
"with",
"a",
"linear",
"layout",
"manager",
"or",
"its",
"subclass",
"oriented",
"horizontally"
] | [
"int",
"parent",
"top",
"=",
"parent",
"get",
"padding",
"top",
"(",
")",
";",
"int",
"parent",
"bottom",
"=",
"parent",
"get",
"height",
"(",
")",
"-",
"parent",
"get",
"padding",
"bottom",
"(",
")",
";",
"int",
"child",
"count",
"=",
"parent",
"get... |
[
"adds",
"dividers",
"to",
"a",
"recycler",
"view",
"with",
"a",
"linear",
"layout",
"manager",
"or",
"its",
"subclass",
"oriented",
"vertically"
] | [
"int",
"parent",
"left",
"=",
"parent",
"get",
"padding",
"left",
"(",
")",
";",
"int",
"parent",
"right",
"=",
"parent",
"get",
"width",
"(",
")",
"-",
"parent",
"get",
"padding",
"right",
"(",
")",
";",
"int",
"child",
"count",
"=",
"parent",
"get"... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"resource",
"that",
"is",
"using",
"the",
"service",
"-",
"linked",
"role",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"resources",
"=",
"=",
"null",
")",
"{",
"resources",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"resources",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"resource",
"that",
"is",
"using",
"the",
"service",
"-",
"linked",
"role",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"resources",
"=",
"=",
"null",
")",
"{",
"this",
"resources",
"=",
"null",
";",
"return",
";",
"}",
"this",
"resources",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"resources",
")",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"resource",
":",
"<",
"code",
">",
"bundle",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"conversion",
"-",
"task",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"customer",
"-",
"gateway",
"<",
"/",
"code"... | [
"if",
"(",
"this",
"resources",
"=",
"=",
"null",
")",
"{",
"set",
"resources",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"resources",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":... |
[
"<",
"p",
">",
"the",
"type",
"of",
"resource",
":",
"<",
"code",
">",
"bundle",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"conversion",
"-",
"task",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"customer",
"-",
"gateway",
"<",
"/",
"code"... | [
"set",
"resources",
"(",
"resources",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"results",
"to",
"return",
"in",
"a",
"single",
"call",
"to",
"retrieve",
"the",
"remaining",
"results",
"make",
"another",
"call",
"with",
"the",
"returned",
"next",
"token",
"value",
"<",
"/",
"p",
">"
] | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"token",
"to",
"request",
"the",
"next",
"page",
"of",
"results",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"build",
"a",
"new",
"{"
] | [
"typeref",
"data",
"schema",
"new",
"schema",
"=",
"new",
"typeref",
"data",
"schema",
"(",
"new",
"name",
"(",
"original",
"schema",
"get",
"full",
"name",
"(",
")",
")",
")",
";",
"if",
"(",
"original",
"schema",
"get",
"properties",
"(",
")",
"!",
... |
[
"add",
"a",
"block",
"to",
"the",
"list",
"of",
"pending",
"replications"
] | [
"synchronized",
"(",
"pending",
"replications",
")",
"{",
"pending",
"block",
"info",
"found",
"=",
"pending",
"replications",
"get",
"(",
"block",
")",
";",
"if",
"(",
"found",
"=",
"=",
"null",
")",
"{",
"pending",
"replications",
"put",
"(",
"block",
... |
[
"remove",
"the",
"record",
"about",
"the",
"given",
"block",
"from",
"pending",
"replications"
] | [
"synchronized",
"(",
"pending",
"replications",
")",
"{",
"pending",
"replications",
"remove",
"(",
"block",
")",
";",
"}"
] |
[
"the",
"total",
"number",
"of",
"blocks",
"that",
"are",
"undergoing",
"replication"
] | [
"return",
"pending",
"replications",
"size",
"(",
")",
";"
] |
[
"how",
"many",
"copies",
"of",
"this",
"block",
"is",
"pending",
"replication",
"?"
] | [
"synchronized",
"(",
"pending",
"replications",
")",
"{",
"pending",
"block",
"info",
"found",
"=",
"pending",
"replications",
"get",
"(",
"block",
")",
";",
"if",
"(",
"found",
"!",
"=",
"null",
")",
"{",
"return",
"found",
"get",
"num",
"replicas",
"("... |
[
"returns",
"a",
"list",
"of",
"blocks",
"that",
"have",
"timed",
"out",
"their",
"replication",
"requests",
"returns",
"null",
"if",
"no",
"blocks",
"have",
"timed",
"out"
] | [
"synchronized",
"(",
"timed",
"out",
"items",
")",
"{",
"if",
"(",
"timed",
"out",
"items",
"size",
"(",
")",
"<",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}",
"block",
"info",
"[",
"]",
"block",
"list",
"=",
"timed",
"out",
"items",
"to",
"ar... |
[
"/",
"*",
"shuts",
"down",
"the",
"pending",
"replication",
"monitor",
"thread",
"waits",
"for",
"the",
"thread",
"to",
"exit"
] | [
"fs",
"running",
"=",
"false",
";",
"if",
"(",
"timer",
"thread",
"=",
"=",
"null",
")",
"return",
";",
"timer",
"thread",
"interrupt",
"(",
")",
";",
"try",
"{",
"timer",
"thread",
"join",
"(",
"3000",
")",
";",
"}",
"catch",
"(",
"interrupted",
"... |
[
"invokes",
"{"
] | [
"for",
"(",
"record",
"listener",
"listener",
":",
"listeners",
")",
"{",
"listener",
"record",
"read",
"(",
"this",
",",
"record",
")",
";",
"}"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"amazon",
"-",
"side",
"-",
"asn",
"<",
"/",
"code",
">",
"-",
"the",
"autonomous",
"system",
"number",
"(",
... | [
"if",
"(",
"filters",
"=",
"=",
"null",
")",
"{",
"filters",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"filter",
">",
"(",
")",
";",
"}",
"return",
"filters",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"amazon",
"-",
"side",
"-",
"asn",
"<",
"/",
"code",
">",
"-",
"the",
"autonomous",
"system",
"number",
"(",
... | [
"if",
"(",
"filters",
"=",
"=",
"null",
")",
"{",
"this",
"filters",
"=",
"null",
";",
"return",
";",
"}",
"this",
"filters",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"filter",
">",
"(",
"filters",
")",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{"... | [
"if",
"(",
"this",
"filters",
"=",
"=",
"null",
")",
"{",
"set",
"filters",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"filter",
">",
"(",
"filters",
"length",
")",
")",
";",
"}",
"for",
"(",
"filter",
"ele",
":",
"... |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"<",
"/",
"p",
">"
] | [
"set",
"filters",
"(",
"filters",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"import",
"image",
"task",
"i",
"ds",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"task",
"ids",
"=",
"=",
"null",
")",
"{",
"import",
"task",
"ids",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"import",
"task",
"ids",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"import",
"image",
"task",
"i",
"ds",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"task",
"ids",
"=",
"=",
"null",
")",
"{",
"this",
"import",
"task",
"ids",
"=",
"null",
";",
"return",
";",
"}",
"this",
"import",
"task",
"ids",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"strin... |
[
"<",
"p",
">",
"a",
"list",
"of",
"import",
"snapshot",
"task",
"i",
"ds",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
... | [
"if",
"(",
"this",
"import",
"task",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"import",
"task",
"ids",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"import",
"task",
"ids",
"length",
")",
")",
";",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"import",
"snapshot",
"task",
"i",
"ds",
"<",
"/",
"p",
">"
] | [
"set",
"import",
"task",
"ids",
"(",
"import",
"task",
"ids",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"results",
"to",
"return",
"in",
"a",
"single",
"call",
"to",
"retrieve",
"the",
"remaining",
"results",
"make",
"another",
"call",
"with",
"the",
"returned",
"<",
"code",
">",
"next",
"token",
"<",
"/",
... | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"token",
"that",
"indicates",
"the",
"next",
"page",
"of",
"results",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"returns",
"a",
"view",
"property",
"animator",
"object",
"which",
"can",
"be",
"used",
"to",
"animate",
"specific",
"properties",
"on",
"this",
"view"
] | [
"view",
"property",
"animator",
"animator",
"=",
"animators",
"get",
"(",
"view",
")",
";",
"if",
"(",
"animator",
"=",
"=",
"null",
")",
"{",
"final",
"int",
"version",
"=",
"integer",
"value",
"of",
"(",
"build",
"version",
"sdk",
")",
";",
"if",
"... |
[
"sets",
"the",
"duration",
"for",
"the",
"underlying",
"animator",
"that",
"animates",
"the",
"requested",
"properties",
"by",
"default",
"the",
"animator",
"uses",
"the",
"default",
"value",
"for",
"value",
"animator",
"calling",
"this",
"method",
"will",
"caus... | [
"public",
"abstract",
"view",
"property",
"animator",
"set",
"duration",
"(",
"long",
"duration",
")",
";"
] |
[
"the",
"amount",
"of",
"time",
"in",
"milliseconds",
"to",
"delay",
"starting",
"the",
"animation",
"after",
"{",
"@",
"link",
"#",
"start",
"(",
")",
"}",
"is",
"called"
] | [
"public",
"abstract",
"long",
"get",
"start",
"delay",
"(",
")",
";"
] |
[
"sets",
"the",
"start",
"delay",
"for",
"the",
"underlying",
"animator",
"that",
"animates",
"the",
"requested",
"properties",
"by",
"default",
"the",
"animator",
"uses",
"the",
"default",
"value",
"for",
"value",
"animator",
"calling",
"this",
"method",
"will",... | [
"public",
"abstract",
"view",
"property",
"animator",
"set",
"start",
"delay",
"(",
"long",
"start",
"delay",
")",
";"
] |
[
"sets",
"the",
"interpolator",
"for",
"the",
"underlying",
"animator",
"that",
"animates",
"the",
"requested",
"properties",
"by",
"default",
"the",
"animator",
"uses",
"the",
"default",
"interpolator",
"for",
"value",
"animator",
"calling",
"this",
"method",
"wil... | [
"public",
"abstract",
"view",
"property",
"animator",
"set",
"interpolator",
"(",
"/",
"*",
"time",
"*",
"/",
"interpolator",
"interpolator",
")",
";"
] |
[
"sets",
"a",
"listener",
"for",
"events",
"in",
"the",
"underlying",
"animators",
"that",
"run",
"the",
"property",
"animations"
] | [
"public",
"abstract",
"view",
"property",
"animator",
"set",
"listener",
"(",
"animator",
"animator",
"listener",
"listener",
")",
";"
] |
[
"starts",
"the",
"joy",
"component"
] | [
"public",
"abstract",
"void",
"start",
"(",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
"cancel... | [
"public",
"abstract",
"view",
"property",
"animator",
"x",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
"cancel... | [
"public",
"abstract",
"view",
"property",
"animator",
"x",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
"cancel... | [
"public",
"abstract",
"view",
"property",
"animator",
"y",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
"cancel... | [
"public",
"abstract",
"view",
"property",
"animator",
"y",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"rotation",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
... | [
"public",
"abstract",
"view",
"property",
"animator",
"rotation",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"rotation",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
... | [
"public",
"abstract",
"view",
"property",
"animator",
"rotation",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"rotation",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"... | [
"public",
"abstract",
"view",
"property",
"animator",
"rotation",
"x",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"rotation",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"... | [
"public",
"abstract",
"view",
"property",
"animator",
"rotation",
"x",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"rotation",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"... | [
"public",
"abstract",
"view",
"property",
"animator",
"rotation",
"y",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"rotation",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"... | [
"public",
"abstract",
"view",
"property",
"animator",
"rotation",
"y",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"translation",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
... | [
"public",
"abstract",
"view",
"property",
"animator",
"translation",
"x",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"translation",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
... | [
"public",
"abstract",
"view",
"property",
"animator",
"translation",
"x",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"translation",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
... | [
"public",
"abstract",
"view",
"property",
"animator",
"translation",
"y",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"translation",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
... | [
"public",
"abstract",
"view",
"property",
"animator",
"translation",
"y",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"scale",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be"... | [
"public",
"abstract",
"view",
"property",
"animator",
"scale",
"x",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"scale",
"x",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be"... | [
"public",
"abstract",
"view",
"property",
"animator",
"scale",
"x",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"scale",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be"... | [
"public",
"abstract",
"view",
"property",
"animator",
"scale",
"y",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"scale",
"y",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be"... | [
"public",
"abstract",
"view",
"property",
"animator",
"scale",
"y",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"alpha",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"to",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
"ca... | [
"public",
"abstract",
"view",
"property",
"animator",
"alpha",
"(",
"float",
"value",
")",
";"
] |
[
"this",
"method",
"will",
"cause",
"the",
"view",
"s",
"<",
"code",
">",
"alpha",
"<",
"/",
"code",
">",
"property",
"to",
"be",
"animated",
"by",
"the",
"specified",
"value",
"animations",
"already",
"running",
"on",
"the",
"property",
"will",
"be",
"ca... | [
"public",
"abstract",
"view",
"property",
"animator",
"alpha",
"by",
"(",
"float",
"value",
")",
";"
] |
[
"<",
"p",
">",
"a",
"unique",
"identifier",
"for",
"the",
"built",
"-",
"in",
"intent",
"to",
"find",
"the",
"signature",
"for",
"an",
"intent",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"developer",
"amazon",
"com",
"/",
"public",
"/",
... | [
"return",
"this",
"signature",
";"
] |
[
"<",
"p",
">",
"a",
"unique",
"identifier",
"for",
"the",
"built",
"-",
"in",
"slot",
"type",
"to",
"find",
"the",
"signature",
"for",
"a",
"slot",
"type",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"developer",
"amazon",
"com",
"/",
"pu... | [
"set",
"signature",
"(",
"signature",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"identifiers",
"for",
"the",
"locales",
"that",
"the",
"intent",
"supports",
"<",
"/",
"p",
">"
] | [
"return",
"supported",
"locales",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"identifiers",
"for",
"the",
"locales",
"that",
"the",
"intent",
"supports",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"supported",
"locales",
"=",
"=",
"null",
")",
"{",
"this",
"supported",
"locales",
"=",
"null",
";",
"return",
";",
"}",
"this",
"supported",
"locales",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"supported",
"loc... |
[
"<",
"p",
">",
"a",
"list",
"of",
"target",
"locales",
"for",
"the",
"slot",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
... | [
"if",
"(",
"this",
"supported",
"locales",
"=",
"=",
"null",
")",
"{",
"set",
"supported",
"locales",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"supported",
"locales",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"e... |
[
"<",
"p",
">",
"a",
"list",
"of",
"target",
"locales",
"for",
"the",
"slot",
"<",
"/",
"p",
">"
] | [
"set",
"supported",
"locales",
"(",
"supported",
"locales",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"target",
"locales",
"for",
"the",
"slot",
"<",
"/",
"p",
">"
] | [
"java",
"util",
"array",
"list",
"<",
"string",
">",
"supported",
"locales",
"copy",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"supported",
"locales",
"length",
")",
";",
"for",
"(",
"locale",
"value",
":",
"supported",
"local... |
[
"checks",
"if",
"the",
"word",
"contained",
"in",
"the",
"leading",
"portion",
"of",
"char",
"[",
"]",
"array",
"ends",
"with",
"the",
"suffix",
"given",
"as",
"parameter"
] | [
"final",
"int",
"suffix",
"len",
"=",
"suffix",
"length",
"(",
")",
";",
"if",
"(",
"suffix",
"len",
">",
"len",
")",
"return",
"false",
";",
"for",
"(",
"int",
"i",
"=",
"suffix",
"len",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",... |
[
"copy",
"information",
"from",
"the",
"meta",
"-",
"data",
"input",
"to",
"the",
"dialog",
"fields"
] | [
"w",
"name",
"set",
"text",
"(",
"const",
"null",
"to",
"empty",
"(",
"job",
"entry",
"get",
"name",
"(",
")",
")",
")",
";",
"w",
"server",
"name",
"set",
"text",
"(",
"const",
"nvl",
"(",
"job",
"entry",
"get",
"server",
"name",
"(",
")",
",",
... |
[
"indexed",
"field",
"we",
"are",
"reading"
] | [
"public",
"abstract",
"string",
"get",
"field",
"(",
")",
";"
] |
[
"build",
"a",
"map",
"of",
"terms",
"to",
"{"
] | [
"map",
"<",
"term",
",",
"term",
"states",
">",
"terms",
"=",
"new",
"tree",
"map",
"<",
">",
"(",
")",
";",
"for",
"(",
"span",
"weight",
"w",
":",
"weights",
")",
"{",
"w",
"extract",
"term",
"states",
"(",
"terms",
")",
";",
"}",
"return",
"... |
[
"build",
"a",
"map",
"of",
"terms",
"to",
"{"
] | [
"map",
"<",
"term",
",",
"term",
"states",
">",
"terms",
"=",
"new",
"tree",
"map",
"<",
">",
"(",
")",
";",
"for",
"(",
"span",
"weight",
"w",
":",
"weights",
")",
"{",
"w",
"extract",
"term",
"states",
"(",
"terms",
")",
";",
"}",
"return",
"... |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"aws",
"amazon",
"com",
"/",
"documentation",
"/",
"lambda",
"/",
">",
"aws",
"lambda",
"<",
"/",
"a",
">",
"function",
"that",
"is",
"used",
"to",
"preproce... | [
"set",
"resource",
"a",
"r",
"n",
"(",
"resource",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"iam",
"role",
"that",
"is",
"used",
"to",
"access",
"the",
"aws",
"lambda",
"function",
"<",
"/",
"p",
">"
] | [
"set",
"role",
"a",
"r",
"n",
"(",
"role",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"merged",
"list",
"which",
"contains",
"all",
"the",
"elements",
"of",
"l",
"1",
"and",
"l",
"2"
] | [
"list",
"<",
"string",
">",
"ret",
"=",
"new",
"array",
"list",
"<",
"string",
">",
"(",
"l",
"1",
"size",
"(",
")",
"+",
"l",
"2",
"size",
"(",
")",
")",
";",
"ret",
"add",
"all",
"(",
"l",
"1",
")",
";",
"ret",
"add",
"all",
"(",
"l",
"... |
[
"function",
"to",
"test",
"whether",
"a",
"dir",
"is",
"working",
"correctly",
"by",
"actually",
"creating",
"a",
"random",
"directory"
] | [
"string",
"random",
"dir",
"name",
"=",
"random",
"string",
"utils",
"random",
"alphanumeric",
"(",
"5",
")",
";",
"file",
"target",
"=",
"new",
"file",
"(",
"dir",
",",
"random",
"dir",
"name",
")",
";",
"int",
"i",
"=",
"0",
";",
"while",
"(",
"t... |
[
"add",
"a",
"collection",
"of",
"values",
"to",
"the",
"calculator",
"the",
"values",
"to",
"be",
"added",
"can",
"be",
"combined",
"by",
"the",
"caller",
"and",
"added",
"in",
"a",
"single",
"call",
"to",
"this",
"method",
"or",
"added",
"in",
"multiple... | [
"count",
"+",
"=",
"field",
"values",
"size",
"(",
")",
";",
"for",
"(",
"string",
"field",
"value",
":",
"field",
"values",
")",
"{",
"counts",
"by",
"string",
"value",
"compute",
"(",
"field",
"value",
",",
"(",
"k",
",",
"v",
")",
"-",
">",
"(... |
[
"calculate",
"field",
"statistics",
"based",
"on",
"the",
"previously",
"accepted",
"values"
] | [
"if",
"(",
"counts",
"by",
"numeric",
"value",
"!",
"=",
"null",
"&",
"&",
"counts",
"by",
"numeric",
"value",
"is",
"empty",
"(",
")",
"=",
"=",
"false",
")",
"{",
"return",
"new",
"field",
"stats",
"(",
"count",
",",
"counts",
"by",
"numeric",
"v... |
[
"returns",
"the",
"nanosecond",
"-",
"based",
"timestamp",
"of",
"when",
"this",
"socket",
"was",
"created"
] | [
"return",
"create",
"timestamp",
";"
] |
[
"checks",
"whether",
"seeking",
"backward",
"can",
"be",
"performed",
"due",
"to",
"different",
"frame",
"disposal",
"methods",
"it",
"is",
"not",
"supported",
"now"
] | [
"return",
"false",
";"
] |
[
"sets",
"the",
"component",
"that",
"handles",
"markers"
] | [
"this",
"has",
"text",
"markers",
"=",
"has",
"text",
"markers",
";"
] |
[
"returns",
"true",
"if",
"field",
"guid",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"guid",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"secret",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"secret",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"guid",
":",
"return",
"is",
"set",
"guid",
"(",
")",
";",
"case",
"secret",
":",
"r... |
[
"guaranteed",
"to",
"throw",
"an",
"exception",
"and",
"leave",
"the",
"underlying",
"data",
"unmodified"
] | [
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
")",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"is",
"bound",
"to",
"a",
"view",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"bound",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"is",
"unbound",
"from",
"a",
"view",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"unbound",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"visibility",
"state",
"has",
"changed",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"visibility",
"state",
"changed",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"visibility",
"has",
"changed",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"visibility",
"changed",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.