docstring_tokens
list | code_tokens
list |
---|---|
[
"/",
"*"
] | [
"return",
"data",
"executor",
"job",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"aws",
"code",
"star",
"project",
"from",
"which",
"you",
"want",
"to",
"remove",
"a",
"team",
"member",
"<",
"/",
"p",
">"
] | [
"set",
"project",
"id",
"(",
"project",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"iam",
"user",
"or",
"group",
"whom",
"you",
"want",
"to",
"remove",
"from",
"the",
"project",
"<",
"/",
"p",
">"
] | [
"set",
"user",
"arn",
"(",
"user",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"docker",
"sub",
"-",
"command",
"string",
"being",
"used",
"e",
"g",
"run"
] | [
"return",
"this",
"command",
";"
] |
[
"add",
"command",
"command",
"with",
"arguments",
"-",
"this",
"method",
"is",
"only",
"meant",
"for",
"use",
"by",
"sub",
"-",
"classes"
] | [
"this",
"command",
"with",
"arguments",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"arguments",
")",
")",
";"
] |
[
"recreates",
"a",
"foreground",
"drawable",
"based",
"on",
"the",
"current",
"card",
"radius",
"stroke",
"color",
"and",
"width",
"and",
"sets",
"it",
"as",
"the",
"foreground"
] | [
"material",
"card",
"view",
"set",
"foreground",
"(",
"create",
"foreground",
"drawable",
"(",
")",
")",
";"
] |
[
"guarantee",
"at",
"least",
"enough",
"content",
"padding",
"to",
"account",
"for",
"the",
"stroke",
"width"
] | [
"int",
"content",
"padding",
"left",
"=",
"material",
"card",
"view",
"get",
"content",
"padding",
"left",
"(",
")",
"+",
"stroke",
"width",
"delta",
";",
"int",
"content",
"padding",
"top",
"=",
"material",
"card",
"view",
"get",
"content",
"padding",
"top",
"(",
")",
"+",
"stroke",
"width",
"delta",
";",
"int",
"content",
"padding",
"right",
"=",
"material",
"card",
"view",
"get",
"content",
"padding",
"right",
"(",
")",
"+",
"stroke",
"width",
"delta",
";",
"int",
"content",
"padding",
"bottom",
"=",
"material",
"card",
"view",
"get",
"content",
"padding",
"bottom",
"(",
")",
"+",
"stroke",
"width",
"delta",
";",
"material",
"card",
"view",
"set",
"content",
"padding",
"(",
"content",
"padding",
"left",
",",
"content",
"padding",
"top",
",",
"content",
"padding",
"right",
",",
"content",
"padding",
"bottom",
")",
";"
] |
[
"todo",
"add",
"logger",
"warnings",
"if",
"default",
"value",
"is",
"used"
] | [
"return",
"objects",
"equals",
"(",
"properties",
"get",
"(",
"property",
"strings",
"execution",
"type",
")",
",",
"property",
"strings",
"execution",
"type",
"value",
"streaming",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"new",
"execution",
"(",
"config",
"util",
"normalize",
"yaml",
"(",
"config",
")",
")",
";"
] |
[
"merges",
"two",
"executions",
"the",
"properties",
"of",
"the",
"first",
"execution",
"might",
"be",
"overwritten",
"by",
"the",
"second",
"one"
] | [
"final",
"map",
"<",
"string",
",",
"string",
">",
"new",
"properties",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
"exec",
"1",
"properties",
")",
";",
"new",
"properties",
"put",
"all",
"(",
"exec",
"2",
"properties",
")",
";",
"return",
"new",
"execution",
"(",
"new",
"properties",
")",
";"
] |
[
"the",
"callback",
"called",
"when",
"binding",
"an",
"image",
"to",
"card",
"s",
"background",
"this",
"help",
"you",
"to",
"do",
"custom",
"binding",
"logic"
] | [
"public",
"abstract",
"void",
"on",
"bind",
"background",
"view",
"(",
"view",
"layout",
"view",
",",
"card",
"card",
")",
";"
] |
[
"the",
"callback",
"called",
"when",
"unbinding",
"an",
"image",
"to",
"card",
"s",
"background",
"usually",
"it",
"is",
"the",
"time",
"of",
"the",
"card",
"scrolled",
"out",
"of",
"screen",
"this",
"help",
"you",
"to",
"do",
"custom",
"unbinding",
"logic",
"*"
] | [] |
[
"provide",
"a",
"appear",
"animator",
"for",
"fix",
"card",
"sample",
"animator",
"is",
"as",
"follow",
":"
] | [
"return",
"null",
";"
] |
[
"gets",
"the",
"start",
"of",
"this",
"time",
"interval",
"which",
"is",
"inclusive",
"as",
"a",
"date",
"time"
] | [
"return",
"new",
"date",
"time",
"(",
"get",
"start",
"millis",
"(",
")",
",",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"gets",
"the",
"end",
"of",
"this",
"time",
"interval",
"which",
"is",
"exclusive",
"as",
"a",
"date",
"time"
] | [
"return",
"new",
"date",
"time",
"(",
"get",
"end",
"millis",
"(",
")",
",",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"does",
"this",
"time",
"interval",
"contain",
"the",
"specified",
"millisecond",
"instant",
"<",
"p",
">",
"non",
"-",
"zero",
"duration",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end",
"a",
"zero",
"duration",
"interval",
"cannot",
"contain",
"anything"
] | [
"long",
"this",
"start",
"=",
"get",
"start",
"millis",
"(",
")",
";",
"long",
"this",
"end",
"=",
"get",
"end",
"millis",
"(",
")",
";",
"return",
"(",
"millis",
"instant",
">",
"=",
"this",
"start",
"&",
"&",
"millis",
"instant",
"<",
"this",
"end",
")",
";"
] |
[
"does",
"this",
"time",
"interval",
"contain",
"the",
"current",
"instant",
"<",
"p",
">",
"non",
"-",
"zero",
"duration",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end",
"a",
"zero",
"duration",
"interval",
"cannot",
"contain",
"anything"
] | [
"return",
"contains",
"(",
"date",
"time",
"utils",
"current",
"time",
"millis",
"(",
")",
")",
";"
] |
[
"does",
"this",
"time",
"interval",
"contain",
"the",
"specified",
"instant",
"<",
"p",
">",
"non",
"-",
"zero",
"duration",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end",
"a",
"zero",
"duration",
"interval",
"cannot",
"contain",
"anything",
"<",
"p",
">",
"for",
"example",
":",
"<",
"pre",
">",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"08",
":",
"59",
"=",
"false",
"(",
"before",
"start",
")",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"09",
":",
"00",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"09",
":",
"59",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"10",
":",
"00",
"=",
"false",
"(",
"equals",
"end",
")",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"10",
":",
"01",
"=",
"false",
"(",
"after",
"end",
")"
] | [
"if",
"(",
"instant",
"=",
"=",
"null",
")",
"{",
"return",
"contains",
"now",
"(",
")",
";",
"}",
"return",
"contains",
"(",
"instant",
"get",
"millis",
"(",
")",
")",
";"
] |
[
"does",
"this",
"time",
"interval",
"contain",
"the",
"specified",
"time",
"interval",
"<",
"p",
">",
"non",
"-",
"zero",
"duration",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end",
"the",
"other",
"interval",
"is",
"contained",
"if",
"this",
"interval",
"wholly",
"contains",
"starts",
"finishes",
"or",
"equals",
"it",
"a",
"zero",
"duration",
"interval",
"cannot",
"contain",
"anything",
"<",
"p",
">",
"when",
"two",
"intervals",
"are",
"compared",
"the",
"result",
"is",
"one",
"of",
"three",
"states",
":",
"(",
"a",
")",
"they",
"abut",
"(",
"b",
")",
"there",
"is",
"a",
"gap",
"between",
"them",
"(",
"c",
")",
"they",
"overlap",
"the",
"<",
"code",
">",
"contains",
"<",
"/",
"code",
">",
"method",
"is",
"not",
"related",
"to",
"these",
"states",
"in",
"particular",
"a",
"zero",
"duration",
"interval",
"is",
"contained",
"at",
"the",
"start",
"of",
"a",
"larger",
"interval",
"but",
"does",
"not",
"overlap",
"(",
"it",
"abuts",
"instead",
")",
"<",
"p",
">",
"for",
"example",
":",
"<",
"pre",
">",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"[",
"09",
":",
"00",
"to",
"09",
":",
"30",
")",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"[",
"09",
":",
"30",
"to",
"10",
":",
"00",
")",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"[",
"09",
":",
"15",
"to",
"09",
":",
"45",
")",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"contains",
"[",
"09",
":",
"00",
"to",
"09",
":",
"00",
")",
"=",
"true"
] | [
"if",
"(",
"interval",
"=",
"=",
"null",
")",
"{",
"return",
"contains",
"now",
"(",
")",
";",
"}",
"long",
"other",
"start",
"=",
"interval",
"get",
"start",
"millis",
"(",
")",
";",
"long",
"other",
"end",
"=",
"interval",
"get",
"end",
"millis",
"(",
")",
";",
"long",
"this",
"start",
"=",
"get",
"start",
"millis",
"(",
")",
";",
"long",
"this",
"end",
"=",
"get",
"end",
"millis",
"(",
")",
";",
"return",
"(",
"this",
"start",
"<",
"=",
"other",
"start",
"&",
"&",
"other",
"start",
"<",
"this",
"end",
"&",
"&",
"other",
"end",
"<",
"=",
"this",
"end",
")",
";"
] |
[
"does",
"this",
"time",
"interval",
"overlap",
"the",
"specified",
"time",
"interval",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end",
"an",
"interval",
"overlaps",
"another",
"if",
"it",
"shares",
"some",
"common",
"part",
"of",
"the",
"datetime",
"continuum",
"<",
"p",
">",
"when",
"two",
"intervals",
"are",
"compared",
"the",
"result",
"is",
"one",
"of",
"three",
"states",
":",
"(",
"a",
")",
"they",
"abut",
"(",
"b",
")",
"there",
"is",
"a",
"gap",
"between",
"them",
"(",
"c",
")",
"they",
"overlap",
"the",
"abuts",
"state",
"takes",
"precedence",
"over",
"the",
"other",
"two",
"thus",
"a",
"zero",
"duration",
"interval",
"at",
"the",
"start",
"of",
"a",
"larger",
"interval",
"abuts",
"and",
"does",
"not",
"overlap",
"<",
"p",
">",
"for",
"example",
":",
"<",
"pre",
">",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"overlaps",
"[",
"08",
":",
"00",
"to",
"08",
":",
"30",
")",
"=",
"false",
"(",
"completely",
"before",
")",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"overlaps",
"[",
"08",
":",
"00",
"to",
"09",
":",
"00",
")",
"=",
"false",
"(",
"abuts",
"before",
")",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"overlaps",
"[",
"08",
":",
"00",
"to",
"09",
":",
"30",
")",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"overlaps",
"[",
"08",
":",
"00",
"to",
"10",
":",
"00",
")",
"=",
"true",
"[",
"09",
":",
"00",
"to",
"10",
":",
"00",
")",
"overlaps",
"[",
"08",
":",
"00",
"to",
"11",
":",
"00",
")",
"=",
"true"
] | [
"long",
"this",
"start",
"=",
"get",
"start",
"millis",
"(",
")",
";",
"long",
"this",
"end",
"=",
"get",
"end",
"millis",
"(",
")",
";",
"if",
"(",
"interval",
"=",
"=",
"null",
")",
"{",
"long",
"now",
"=",
"date",
"time",
"utils",
"current",
"time",
"millis",
"(",
")",
";",
"return",
"(",
"this",
"start",
"<",
"now",
"&",
"&",
"now",
"<",
"this",
"end",
")",
";",
"}",
"else",
"{",
"long",
"other",
"start",
"=",
"interval",
"get",
"start",
"millis",
"(",
")",
";",
"long",
"other",
"end",
"=",
"interval",
"get",
"end",
"millis",
"(",
")",
";",
"return",
"(",
"this",
"start",
"<",
"other",
"end",
"&",
"&",
"other",
"start",
"<",
"this",
"end",
")",
";",
"}"
] |
[
"is",
"this",
"interval",
"equal",
"to",
"the",
"specified",
"interval",
"ignoring",
"the",
"chronology",
"<",
"p",
">",
"this",
"compares",
"the",
"underlying",
"instants",
"ignoring",
"the",
"chronology"
] | [
"return",
"get",
"start",
"millis",
"(",
")",
"=",
"=",
"other",
"get",
"start",
"millis",
"(",
")",
"&",
"&",
"get",
"end",
"millis",
"(",
")",
"=",
"=",
"other",
"get",
"end",
"millis",
"(",
")",
";"
] |
[
"is",
"this",
"time",
"interval",
"before",
"the",
"specified",
"millisecond",
"instant",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end"
] | [
"return",
"(",
"get",
"end",
"millis",
"(",
")",
"<",
"=",
"millis",
"instant",
")",
";"
] |
[
"is",
"this",
"instant",
"strictly",
"before",
"the",
"current",
"instant",
"comparing",
"solely",
"by",
"millisecond"
] | [
"return",
"is",
"before",
"(",
"date",
"time",
"utils",
"current",
"time",
"millis",
"(",
")",
")",
";"
] |
[
"is",
"this",
"time",
"interval",
"before",
"the",
"specified",
"instant",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end"
] | [
"if",
"(",
"instant",
"=",
"=",
"null",
")",
"{",
"return",
"is",
"before",
"now",
"(",
")",
";",
"}",
"return",
"is",
"before",
"(",
"instant",
"get",
"millis",
"(",
")",
")",
";"
] |
[
"is",
"this",
"time",
"interval",
"entirely",
"before",
"the",
"specified",
"instant",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end"
] | [
"if",
"(",
"interval",
"=",
"=",
"null",
")",
"{",
"return",
"is",
"before",
"now",
"(",
")",
";",
"}",
"return",
"is",
"before",
"(",
"interval",
"get",
"start",
"millis",
"(",
")",
")",
";"
] |
[
"is",
"this",
"time",
"interval",
"after",
"the",
"specified",
"millisecond",
"instant",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end"
] | [
"return",
"(",
"get",
"start",
"millis",
"(",
")",
">",
"millis",
"instant",
")",
";"
] |
[
"is",
"this",
"instant",
"strictly",
"after",
"the",
"current",
"instant",
"comparing",
"solely",
"by",
"millisecond"
] | [
"return",
"is",
"after",
"(",
"date",
"time",
"utils",
"current",
"time",
"millis",
"(",
")",
")",
";"
] |
[
"is",
"this",
"time",
"interval",
"after",
"the",
"specified",
"instant",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end"
] | [
"if",
"(",
"instant",
"=",
"=",
"null",
")",
"{",
"return",
"is",
"after",
"now",
"(",
")",
";",
"}",
"return",
"is",
"after",
"(",
"instant",
"get",
"millis",
"(",
")",
")",
";"
] |
[
"is",
"this",
"time",
"interval",
"entirely",
"after",
"the",
"specified",
"interval",
"<",
"p",
">",
"intervals",
"are",
"inclusive",
"of",
"the",
"start",
"instant",
"and",
"exclusive",
"of",
"the",
"end",
"only",
"the",
"end",
"time",
"of",
"the",
"specified",
"interval",
"is",
"used",
"in",
"the",
"comparison"
] | [
"long",
"end",
"millis",
";",
"if",
"(",
"interval",
"=",
"=",
"null",
")",
"{",
"end",
"millis",
"=",
"date",
"time",
"utils",
"current",
"time",
"millis",
"(",
")",
";",
"}",
"else",
"{",
"end",
"millis",
"=",
"interval",
"get",
"end",
"millis",
"(",
")",
";",
"}",
"return",
"(",
"get",
"start",
"millis",
"(",
")",
">",
"=",
"end",
"millis",
")",
";"
] |
[
"get",
"this",
"interval",
"as",
"an",
"immutable",
"<",
"code",
">",
"interval",
"<",
"/",
"code",
">",
"object"
] | [
"return",
"new",
"interval",
"(",
"get",
"start",
"millis",
"(",
")",
",",
"get",
"end",
"millis",
"(",
")",
",",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"get",
"this",
"time",
"interval",
"as",
"a",
"<",
"code",
">",
"mutable",
"interval",
"<",
"/",
"code",
">",
"<",
"p",
">",
"this",
"will",
"always",
"return",
"a",
"new",
"<",
"code",
">",
"mutable",
"interval",
"<",
"/",
"code",
">",
"with",
"the",
"same",
"interval"
] | [
"return",
"new",
"mutable",
"interval",
"(",
"get",
"start",
"millis",
"(",
")",
",",
"get",
"end",
"millis",
"(",
")",
",",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"gets",
"the",
"duration",
"of",
"this",
"time",
"interval",
"in",
"milliseconds",
"<",
"p",
">",
"the",
"duration",
"is",
"equal",
"to",
"the",
"end",
"millis",
"minus",
"the",
"start",
"millis"
] | [
"return",
"field",
"utils",
"safe",
"subtract",
"(",
"get",
"end",
"millis",
"(",
")",
",",
"get",
"start",
"millis",
"(",
")",
")",
";"
] |
[
"gets",
"the",
"duration",
"of",
"this",
"time",
"interval",
"<",
"p",
">",
"the",
"duration",
"is",
"equal",
"to",
"the",
"end",
"millis",
"minus",
"the",
"start",
"millis"
] | [
"long",
"dur",
"millis",
"=",
"to",
"duration",
"millis",
"(",
")",
";",
"if",
"(",
"dur",
"millis",
"=",
"=",
"0",
")",
"{",
"return",
"duration",
"zero",
";",
"}",
"else",
"{",
"return",
"new",
"duration",
"(",
"dur",
"millis",
")",
";",
"}"
] |
[
"converts",
"the",
"duration",
"of",
"the",
"interval",
"to",
"a",
"<",
"code",
">",
"period",
"<",
"/",
"code",
">",
"using",
"the",
"all",
"period",
"type",
"<",
"p",
">",
"this",
"method",
"should",
"be",
"used",
"to",
"extract",
"the",
"field",
"values",
"describing",
"the",
"difference",
"between",
"the",
"start",
"and",
"end",
"instants"
] | [
"return",
"new",
"period",
"(",
"get",
"start",
"millis",
"(",
")",
",",
"get",
"end",
"millis",
"(",
")",
",",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"converts",
"the",
"duration",
"of",
"the",
"interval",
"to",
"a",
"<",
"code",
">",
"period",
"<",
"/",
"code",
">",
"using",
"the",
"specified",
"period",
"type",
"<",
"p",
">",
"this",
"method",
"should",
"be",
"used",
"to",
"extract",
"the",
"field",
"values",
"describing",
"the",
"difference",
"between",
"the",
"start",
"and",
"end",
"instants"
] | [
"return",
"new",
"period",
"(",
"get",
"start",
"millis",
"(",
")",
",",
"get",
"end",
"millis",
"(",
")",
",",
"type",
",",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"compares",
"this",
"object",
"with",
"the",
"specified",
"object",
"for",
"equality",
"based",
"on",
"start",
"and",
"end",
"millis",
"plus",
"the",
"chronology",
"all",
"readable",
"interval",
"instances",
"are",
"accepted",
"<",
"p",
">",
"to",
"compare",
"the",
"duration",
"of",
"two",
"time",
"intervals",
"use",
"{",
"@",
"link",
"#",
"to",
"duration",
"(",
")",
"}",
"to",
"get",
"the",
"durations",
"and",
"compare",
"those"
] | [
"if",
"(",
"this",
"=",
"=",
"readable",
"interval",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"readable",
"interval",
"instanceof",
"readable",
"interval",
"=",
"=",
"false",
")",
"{",
"return",
"false",
";",
"}",
"readable",
"interval",
"other",
"=",
"(",
"readable",
"interval",
")",
"readable",
"interval",
";",
"return",
"get",
"start",
"millis",
"(",
")",
"=",
"=",
"other",
"get",
"start",
"millis",
"(",
")",
"&",
"&",
"get",
"end",
"millis",
"(",
")",
"=",
"=",
"other",
"get",
"end",
"millis",
"(",
")",
"&",
"&",
"field",
"utils",
"equals",
"(",
"get",
"chronology",
"(",
")",
",",
"other",
"get",
"chronology",
"(",
")",
")",
";"
] |
[
"hashcode",
"compatible",
"with",
"equals",
"method"
] | [
"long",
"start",
"=",
"get",
"start",
"millis",
"(",
")",
";",
"long",
"end",
"=",
"get",
"end",
"millis",
"(",
")",
";",
"int",
"result",
"=",
"97",
";",
"result",
"=",
"31",
"*",
"result",
"+",
"(",
"(",
"int",
")",
"(",
"start",
"^",
"(",
"start",
">",
">",
">",
"32",
")",
")",
")",
";",
"result",
"=",
"31",
"*",
"result",
"+",
"(",
"(",
"int",
")",
"(",
"end",
"^",
"(",
"end",
">",
">",
">",
"32",
")",
")",
")",
";",
"result",
"=",
"31",
"*",
"result",
"+",
"get",
"chronology",
"(",
")",
"hash",
"code",
"(",
")",
";",
"return",
"result",
";"
] |
[
"output",
"a",
"string",
"in",
"iso8601",
"interval",
"format",
"<",
"p",
">",
"from",
"version",
"2",
"1",
"the",
"string",
"includes",
"the",
"time",
"zone",
"offset"
] | [
"date",
"time",
"formatter",
"printer",
"=",
"i",
"s",
"o",
"date",
"time",
"format",
"date",
"time",
"(",
")",
";",
"printer",
"=",
"printer",
"with",
"chronology",
"(",
"get",
"chronology",
"(",
")",
")",
";",
"string",
"buffer",
"buf",
"=",
"new",
"string",
"buffer",
"(",
"48",
")",
";",
"printer",
"print",
"to",
"(",
"buf",
",",
"get",
"start",
"millis",
"(",
")",
")",
";",
"buf",
"append",
"(",
"'",
"/",
"'",
")",
";",
"printer",
"print",
"to",
"(",
"buf",
",",
"get",
"end",
"millis",
"(",
")",
")",
";",
"return",
"buf",
"to",
"string",
"(",
")",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"running",
"spot",
"instances",
"should",
"be",
"terminated",
"if",
"the",
"target",
"capacity",
"of",
"the",
"spot",
"fleet",
"request",
"is",
"decreased",
"below",
"the",
"current",
"size",
"of",
"the",
"spot",
"fleet",
"<",
"/",
"p",
">"
] | [
"set",
"excess",
"capacity",
"termination",
"policy",
"(",
"excess",
"capacity",
"termination",
"policy",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"running",
"spot",
"instances",
"should",
"be",
"terminated",
"if",
"the",
"target",
"capacity",
"of",
"the",
"spot",
"fleet",
"request",
"is",
"decreased",
"below",
"the",
"current",
"size",
"of",
"the",
"spot",
"fleet",
"<",
"/",
"p",
">"
] | [
"with",
"excess",
"capacity",
"termination",
"policy",
"(",
"excess",
"capacity",
"termination",
"policy",
")",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"running",
"spot",
"instances",
"should",
"be",
"terminated",
"if",
"the",
"target",
"capacity",
"of",
"the",
"spot",
"fleet",
"request",
"is",
"decreased",
"below",
"the",
"current",
"size",
"of",
"the",
"spot",
"fleet",
"<",
"/",
"p",
">"
] | [
"this",
"excess",
"capacity",
"termination",
"policy",
"=",
"excess",
"capacity",
"termination",
"policy",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"spot",
"fleet",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"spot",
"fleet",
"request",
"id",
"(",
"spot",
"fleet",
"request",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"units",
"to",
"request",
"you",
"can",
"choose",
"to",
"set",
"the",
"target",
"capacity",
"in",
"terms",
"of",
"instances",
"or",
"a",
"performance",
"characteristic",
"that",
"is",
"important",
"to",
"your",
"application",
"workload",
"such",
"as",
"v",
"c",
"p",
"us",
"memory",
"or",
"i",
"/",
"o",
"if",
"the",
"request",
"type",
"is",
"<",
"code",
">",
"maintain",
"<",
"/",
"code",
">",
"you",
"can",
"specify",
"a",
"target",
"capacity",
"of",
"0",
"and",
"add",
"capacity",
"later",
"<",
"/",
"p",
">"
] | [
"this",
"target",
"capacity",
"=",
"target",
"capacity",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"units",
"to",
"request",
"you",
"can",
"choose",
"to",
"set",
"the",
"target",
"capacity",
"in",
"terms",
"of",
"instances",
"or",
"a",
"performance",
"characteristic",
"that",
"is",
"important",
"to",
"your",
"application",
"workload",
"such",
"as",
"v",
"c",
"p",
"us",
"memory",
"or",
"i",
"/",
"o",
"if",
"the",
"request",
"type",
"is",
"<",
"code",
">",
"maintain",
"<",
"/",
"code",
">",
"you",
"can",
"specify",
"a",
"target",
"capacity",
"of",
"0",
"and",
"add",
"capacity",
"later",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"target",
"capacity",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"set",
"target",
"capacity",
"(",
"target",
"capacity",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"u",
"write",
"string",
"(",
"out",
",",
"name",
")",
";",
"u",
"write",
"collection",
"(",
"out",
",",
"fields",
")",
";",
"u",
"write",
"collection",
"(",
"out",
",",
"descendings",
")",
";",
"out",
"write",
"boolean",
"(",
"unique",
")",
";"
] |
[
"{"
] | [
"name",
"=",
"u",
"read",
"string",
"(",
"in",
")",
";",
"fields",
"=",
"u",
"read",
"list",
"(",
"in",
")",
";",
"descendings",
"=",
"u",
"read",
"list",
"(",
"in",
")",
";",
"unique",
"=",
"in",
"read",
"boolean",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"visor",
"cache",
"sql",
"index",
"metadata",
"class",
",",
"this",
")",
";"
] |
[
"read",
"only"
] | [
"path",
"r",
"=",
"unroot",
"(",
"path",
")",
";",
"file",
"system",
"provider",
"p",
"=",
"provider",
"(",
"r",
")",
";",
"return",
"p",
"new",
"file",
"channel",
"(",
"r",
",",
"collections",
"singleton",
"(",
"standard",
"open",
"option",
"read",
")",
",",
"attrs",
")",
";"
] |
[
"drains",
"an",
"input",
"stream",
"into",
"a",
"byte",
"array",
"the",
"given",
"input",
"stream",
"is",
"not",
"closed"
] | [
"list",
"<",
"byte",
"[",
"]",
">",
"previous",
"bytes",
"=",
"new",
"array",
"list",
"<",
"byte",
"[",
"]",
">",
"(",
")",
";",
"byte",
"[",
"]",
"current",
"array",
"=",
"new",
"byte",
"[",
"buffer",
"size",
"]",
";",
"int",
"current",
"index",
"=",
"0",
";",
"int",
"current",
"read",
";",
"do",
"{",
"current",
"read",
"=",
"input",
"stream",
"read",
"(",
"current",
"array",
",",
"current",
"index",
",",
"buffer",
"size",
"-",
"current",
"index",
")",
";",
"current",
"index",
"+",
"=",
"current",
"read",
">",
"0",
"?",
"current",
"read",
":",
"0",
";",
"if",
"(",
"current",
"index",
"=",
"=",
"buffer",
"size",
")",
"{",
"previous",
"bytes",
"add",
"(",
"current",
"array",
")",
";",
"current",
"array",
"=",
"new",
"byte",
"[",
"buffer",
"size",
"]",
";",
"current",
"index",
"=",
"0",
";",
"}",
"}",
"while",
"(",
"current",
"read",
"!",
"=",
"end",
"of",
"stream",
")",
";",
"byte",
"[",
"]",
"result",
"=",
"new",
"byte",
"[",
"previous",
"bytes",
"size",
"(",
")",
"*",
"buffer",
"size",
"+",
"current",
"index",
"]",
";",
"int",
"array",
"index",
"=",
"0",
";",
"for",
"(",
"byte",
"[",
"]",
"previous",
"byte",
":",
"previous",
"bytes",
")",
"{",
"system",
"arraycopy",
"(",
"previous",
"byte",
",",
"from",
"beginning",
",",
"result",
",",
"array",
"index",
"+",
"+",
"*",
"buffer",
"size",
",",
"buffer",
"size",
")",
";",
"}",
"system",
"arraycopy",
"(",
"current",
"array",
",",
"from",
"beginning",
",",
"result",
",",
"array",
"index",
"*",
"buffer",
"size",
",",
"current",
"index",
")",
";",
"return",
"result",
";"
] |
[
"duration",
"in",
"milliseconds"
] | [
"this",
"duration",
"in",
"ms",
"=",
"duration",
"in",
"ms",
";"
] |
[
"duration",
"in",
"milliseconds"
] | [
"return",
"this",
"duration",
"in",
"ms",
";"
] |
[
"duration",
"in",
"milliseconds"
] | [
"set",
"duration",
"in",
"ms",
"(",
"duration",
"in",
"ms",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"name",
"-",
"spaced",
"guid",
"(",
"for",
"example",
"us",
"-",
"east",
"-",
"1",
":",
"23ec4050",
"-",
"6aea",
"-",
"7089",
"-",
"a2dd",
"-",
"08002example",
")",
"created",
"by",
"amazon",
"cognito",
"<",
"/",
"p",
">"
] | [
"set",
"identity",
"pool",
"id",
"(",
"identity",
"pool",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"options",
"to",
"apply",
"to",
"this",
"identity",
"pool",
"for",
"push",
"synchronization",
"<",
"/",
"p",
">"
] | [
"set",
"push",
"sync",
"(",
"push",
"sync",
")",
";",
"return",
"this",
";"
] |
[
"options",
"to",
"apply",
"to",
"this",
"identity",
"pool",
"for",
"amazon",
"cognito",
"streams"
] | [
"set",
"cognito",
"streams",
"(",
"cognito",
"streams",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"continuous",
"export",
"ids",
"to",
"search",
"for",
"<",
"/",
"p",
">"
] | [
"return",
"export",
"ids",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"continuous",
"export",
"ids",
"to",
"search",
"for",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"export",
"ids",
"=",
"=",
"null",
")",
"{",
"this",
"export",
"ids",
"=",
"null",
";",
"return",
";",
"}",
"this",
"export",
"ids",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"export",
"ids",
")",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"i",
"ds",
"assigned",
"to",
"the",
"exports",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"export",
"ids",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"export",
"ids",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"export",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"export",
"ids",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"export",
"ids",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"export",
"ids",
")",
"{",
"this",
"export",
"ids",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"i",
"ds",
"assigned",
"to",
"the",
"exports",
"<",
"/",
"p",
">"
] | [
"set",
"export",
"ids",
"(",
"export",
"ids",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"number",
"between",
"1",
"and",
"100",
"specifying",
"the",
"maximum",
"number",
"of",
"continuous",
"export",
"descriptions",
"returned",
"<",
"/",
"p",
">"
] | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"token",
"from",
"the",
"previous",
"call",
"to",
"<",
"code",
">",
"describe",
"export",
"tasks",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"patch",
"baseline",
"to",
"deregister",
"the",
"patch",
"group",
"from",
"<",
"/",
"p",
">"
] | [
"set",
"baseline",
"id",
"(",
"baseline",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"patch",
"group",
"that",
"should",
"be",
"deregistered",
"from",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"set",
"patch",
"group",
"(",
"patch",
"group",
")",
";",
"return",
"this",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"helper",
"method",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"file",
"destination",
"meta",
"dir",
"=",
"new",
"file",
"(",
"data",
"dir",
",",
"destination",
")",
";",
"if",
"(",
"!",
"destination",
"meta",
"dir",
"exists",
"(",
")",
")",
"{",
"try",
"{",
"file",
"utils",
"force",
"mkdir",
"(",
"destination",
"meta",
"dir",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throw",
"new",
"canal",
"meta",
"manager",
"exception",
"(",
"e",
")",
";",
"}",
"}",
"return",
"new",
"file",
"(",
"destination",
"meta",
"dir",
",",
"data",
"file",
"name",
")",
";"
] |
[
"returns",
"a",
"new",
"hint",
"to",
"be",
"shown",
"to",
"the",
"user",
"<",
"p",
">",
"the",
"hint",
"returned",
"is",
"marked",
"as",
"read",
"on",
"the",
"list",
"and",
"will",
"not",
"be",
"returned",
"again",
"in",
"case",
"all",
"hints",
"have",
"already",
"been",
"read",
"and",
"there",
"is",
"nothing",
"left",
"returns",
"null"
] | [
"int",
"next",
"=",
"prefs",
"get",
"last",
"hint",
"number",
"(",
")",
"+",
"1",
";",
"if",
"(",
"next",
">",
"=",
"hints",
"length",
")",
"return",
"null",
";",
"prefs",
"update",
"last",
"hint",
"(",
"next",
",",
"date",
"utils",
"get",
"start",
"of",
"today",
"(",
")",
")",
";",
"return",
"hints",
"[",
"next",
"]",
";"
] |
[
"returns",
"whether",
"it",
"is",
"time",
"to",
"show",
"a",
"new",
"hint",
"or",
"not"
] | [
"long",
"last",
"hint",
"timestamp",
"=",
"prefs",
"get",
"last",
"hint",
"timestamp",
"(",
")",
";",
"return",
"(",
"date",
"utils",
"get",
"start",
"of",
"today",
"(",
")",
">",
"last",
"hint",
"timestamp",
")",
";"
] |
[
"a",
"more",
"comprehensive",
"and",
"big",
"random",
"test"
] | [
"dotest",
"(",
"200",
",",
"10000",
")",
";",
"dotest",
"(",
"1000",
",",
"20000",
")",
";",
"dotest",
"(",
"400000",
",",
"1000000",
")",
";"
] |
[
"a",
"reasonable",
"random",
"test"
] | [
"random",
"random",
"=",
"random",
"(",
")",
";",
"int",
"num",
"tests",
"=",
"at",
"least",
"(",
"3",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num",
"tests",
";",
"i",
"+",
"+",
")",
"{",
"dotest",
"(",
"test",
"util",
"next",
"int",
"(",
"random",
",",
"2",
",",
"100",
")",
",",
"test",
"util",
"next",
"int",
"(",
"random",
",",
"100",
",",
"1000",
")",
")",
";",
"}"
] |
[
"gets",
"the",
"option",
"s",
"value",
"as",
"a",
"string"
] | [
"return",
"integer",
"to",
"string",
"(",
"value",
")",
";"
] |
[
"sets",
"the",
"option",
"s",
"value",
"if",
"the",
"value",
"is",
"in",
"the",
"proper",
"range"
] | [
"return",
"set",
"(",
"integer",
"to",
"string",
"(",
"val",
")",
")",
";"
] |
[
"sets",
"the",
"option",
"s",
"value",
"after",
"parsing",
"the",
"string",
"into",
"a",
"number",
"the",
"supplied",
"value",
"can",
"be",
"in",
"decimal",
"hex",
"or",
"octal",
"formats",
"octal",
"numbers",
"must",
"be",
"preceded",
"with",
"a",
"zero",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"7",
"hex",
"values",
"must",
"start",
"with",
"0x",
"or",
"0x",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"9",
"a",
"-",
"f",
"or",
"a",
"-",
"f",
"all",
"others",
"will",
"be",
"tried",
"as",
"a",
"decimal",
"number"
] | [
"integer",
"num",
"=",
"as",
"number",
"(",
"val",
")",
";",
"if",
"(",
"num",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"in",
"range",
"(",
"num",
")",
")",
"{",
"value",
"=",
"num",
";",
"fire",
"option",
"change",
"event",
"(",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"adds",
"the",
"value",
"to",
"the",
"option",
"s",
"value",
"after",
"parsing",
"the",
"string",
"into",
"a",
"number",
"the",
"supplied",
"value",
"can",
"be",
"in",
"decimal",
"hex",
"or",
"octal",
"formats",
"octal",
"numbers",
"must",
"be",
"preceded",
"with",
"a",
"zero",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"7",
"hex",
"values",
"must",
"start",
"with",
"0x",
"or",
"0x",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"9",
"a",
"-",
"f",
"or",
"a",
"-",
"f",
"all",
"others",
"will",
"be",
"tried",
"as",
"a",
"decimal",
"number"
] | [
"integer",
"num",
"=",
"as",
"number",
"(",
"val",
")",
";",
"if",
"(",
"num",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"in",
"range",
"(",
"value",
"+",
"num",
")",
")",
"{",
"value",
"+",
"=",
"num",
";",
"fire",
"option",
"change",
"event",
"(",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"multiplies",
"the",
"value",
"by",
"the",
"option",
"s",
"value",
"after",
"parsing",
"the",
"string",
"into",
"a",
"number",
"the",
"supplied",
"value",
"can",
"be",
"in",
"decimal",
"hex",
"or",
"octal",
"formats",
"octal",
"numbers",
"must",
"be",
"preceded",
"with",
"a",
"zero",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"7",
"hex",
"values",
"must",
"start",
"with",
"0x",
"or",
"0x",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"9",
"a",
"-",
"f",
"or",
"a",
"-",
"f",
"all",
"others",
"will",
"be",
"tried",
"as",
"a",
"decimal",
"number"
] | [
"integer",
"num",
"=",
"as",
"number",
"(",
"val",
")",
";",
"if",
"(",
"num",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"in",
"range",
"(",
"value",
"*",
"num",
")",
")",
"{",
"value",
"*",
"=",
"num",
";",
"fire",
"option",
"change",
"event",
"(",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"substracts",
"the",
"value",
"from",
"the",
"option",
"s",
"value",
"after",
"parsing",
"the",
"string",
"into",
"a",
"number",
"the",
"supplied",
"value",
"can",
"be",
"in",
"decimal",
"hex",
"or",
"octal",
"formats",
"octal",
"numbers",
"must",
"be",
"preceded",
"with",
"a",
"zero",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"7",
"hex",
"values",
"must",
"start",
"with",
"0x",
"or",
"0x",
"and",
"all",
"digits",
"must",
"be",
"0",
"-",
"9",
"a",
"-",
"f",
"or",
"a",
"-",
"f",
"all",
"others",
"will",
"be",
"tried",
"as",
"a",
"decimal",
"number"
] | [
"integer",
"num",
"=",
"as",
"number",
"(",
"val",
")",
";",
"if",
"(",
"num",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"in",
"range",
"(",
"value",
"-",
"num",
")",
")",
"{",
"value",
"-",
"=",
"num",
";",
"fire",
"option",
"change",
"event",
"(",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"sets",
"the",
"option",
"to",
"its",
"default",
"value"
] | [
"if",
"(",
"dflt",
"!",
"=",
"value",
")",
"{",
"value",
"=",
"dflt",
";",
"fire",
"option",
"change",
"event",
"(",
")",
";",
"}"
] |
[
"returns",
"a",
"zero",
"balance"
] | [
"return",
"new",
"balance",
"(",
"currency",
",",
"big",
"decimal",
"zero",
",",
"big",
"decimal",
"zero",
",",
"big",
"decimal",
"zero",
",",
"big",
"decimal",
"zero",
",",
"big",
"decimal",
"zero",
",",
"big",
"decimal",
"zero",
",",
"big",
"decimal",
"zero",
")",
";"
] |
[
"returns",
"the",
"total",
"amount",
"of",
"the",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance"
] | [
"if",
"(",
"total",
"=",
"=",
"null",
")",
"{",
"return",
"available",
"add",
"(",
"frozen",
")",
"subtract",
"(",
"borrowed",
")",
"add",
"(",
"loaned",
")",
"add",
"(",
"withdrawing",
")",
"add",
"(",
"depositing",
")",
";",
"}",
"else",
"{",
"return",
"total",
";",
"}"
] |
[
"returns",
"the",
"amount",
"of",
"the",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance",
"that",
"is",
"available",
"to",
"trade"
] | [
"if",
"(",
"available",
"=",
"=",
"null",
")",
"{",
"return",
"total",
"subtract",
"(",
"frozen",
")",
"subtract",
"(",
"loaned",
")",
"add",
"(",
"borrowed",
")",
"subtract",
"(",
"withdrawing",
")",
"subtract",
"(",
"depositing",
")",
";",
"}",
"else",
"{",
"return",
"available",
";",
"}"
] |
[
"returns",
"the",
"amount",
"of",
"the",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance",
"that",
"may",
"be",
"withdrawn",
"equal",
"to",
"<",
"code",
">",
"available",
"-",
"borrowed",
"<",
"/",
"code",
">"
] | [
"return",
"get",
"available",
"(",
")",
"subtract",
"(",
"get",
"borrowed",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"frozen",
"amount",
"of",
"the",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance",
"that",
"is",
"locked",
"in",
"trading"
] | [
"if",
"(",
"frozen",
"=",
"=",
"null",
")",
"{",
"return",
"total",
"subtract",
"(",
"available",
")",
";",
"}",
"return",
"frozen",
";"
] |
[
"returns",
"the",
"borrowed",
"amount",
"of",
"the",
"available",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance",
"that",
"must",
"be",
"repaid"
] | [
"return",
"borrowed",
";"
] |
[
"returns",
"the",
"loaned",
"amount",
"of",
"the",
"total",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance",
"that",
"will",
"be",
"returned"
] | [
"return",
"loaned",
";"
] |
[
"returns",
"the",
"amount",
"of",
"the",
"<",
"code",
">",
"currency",
"<",
"/",
"code",
">",
"in",
"this",
"balance",
"that",
"is",
"locked",
"in",
"deposit"
] | [
"return",
"depositing",
";"
] |
[
"creates",
"a",
"{"
] | [
"return",
"new",
"auto",
"value",
"java",
"package",
"configuration",
"provider",
"(",
"package",
"specifications",
",",
"javacopts",
",",
"data",
")",
";"
] |
[
"package",
"specifications",
"for",
"which",
"the",
"configuration",
"should",
"be",
"applied"
] | [
"abstract",
"list",
"<",
"package",
"specification",
"provider",
">",
"package",
"specifications",
"(",
")",
";"
] |
[
"the",
"javacopts",
"for",
"this",
"configuration"
] | [
"abstract",
"list",
"<",
"string",
">",
"javacopts",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"this",
"configuration",
"matches",
"the",
"current",
"label",
":",
"that",
"is",
"if",
"the",
"label",
"s",
"package",
"is",
"contained",
"by",
"any",
"of",
"the",
"{"
] | [
"return",
"package",
"specifications",
"(",
")",
"stream",
"(",
")",
"flat",
"map",
"(",
"p",
"-",
">",
"streams",
"stream",
"(",
"p",
"get",
"package",
"specifications",
"(",
")",
")",
")",
"any",
"match",
"(",
"p",
"-",
">",
"p",
"contains",
"package",
"(",
"label",
"get",
"package",
"identifier",
"(",
")",
")",
")",
";"
] |
[
"returns",
"status",
"of",
"connection"
] | [
"return",
"this",
"connected",
";"
] |
[
"return",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"no",
"equipment",
"is",
"currently",
"running"
] | [
"return",
"running",
"equipment",
"is",
"empty",
"(",
")",
";"
] |
[
"return",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"named",
"equipment",
"is",
"running"
] | [
"return",
"running",
"equipment",
"contains",
"(",
"equipment",
")",
";"
] |
[
"iterates",
"through",
"all",
"items",
"and",
"calls",
"the",
"callback"
] | [
"for",
"(",
"astro",
"binding",
"provider",
"provider",
":",
"context",
"get",
"providers",
"(",
")",
")",
"{",
"for",
"(",
"string",
"item",
"name",
":",
"provider",
"get",
"item",
"names",
"(",
")",
")",
"{",
"astro",
"binding",
"config",
"binding",
"config",
"=",
"provider",
"get",
"binding",
"for",
"(",
"item",
"name",
")",
";",
"item",
"item",
"=",
"provider",
"get",
"item",
"(",
"item",
"name",
")",
";",
"callback",
"next",
"(",
"binding",
"config",
",",
"item",
")",
";",
"}",
"}"
] |
[
"<",
"p",
">",
"the",
"registry",
"id",
"associated",
"with",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"registry",
"id",
"(",
"registry",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"repository",
"name",
"associated",
"with",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"repository",
"name",
"(",
"repository",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"json",
"repository",
"policy",
"text",
"<",
"/",
"p",
">"
] | [
"set",
"lifecycle",
"policy",
"text",
"(",
"lifecycle",
"policy",
"text",
")",
";",
"return",
"this",
";"
] |
[
"may",
"return",
"null",
"if",
"context",
"is",
"no",
"longer",
"available"
] | [
"final",
"context",
"context",
"=",
"s",
"weak",
"context",
"get",
"(",
")",
";",
"if",
"(",
"context",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"thread",
"utils",
"running",
"on",
"ui",
"thread",
"(",
")",
")",
"{",
"return",
"context",
"get",
"system",
"service",
"(",
"name",
")",
";",
"}",
"return",
"thread",
"utils",
"run",
"on",
"ui",
"thread",
"blocking",
"no",
"exception",
"(",
"new",
"callable",
"<",
"object",
">",
"(",
")",
"{",
"@",
"override",
"public",
"object",
"call",
"(",
")",
"{",
"return",
"context",
"get",
"system",
"service",
"(",
"name",
")",
";",
"}",
"}",
")",
";"
] |
[
"helper",
"method",
"which",
"wraps",
"an",
"array",
"in",
"a",
"list"
] | [
"if",
"(",
"a",
"=",
"=",
"null",
")",
"{",
"return",
"collections",
"empty",
"list",
"(",
")",
";",
"}",
"return",
"collections",
"unmodifiable",
"list",
"(",
"arrays",
"as",
"list",
"(",
"a",
")",
")",
";"
] |
[
"get",
"the",
"list",
"of",
"file",
"names",
"recognized",
"by",
"this",
"analyzer",
"(",
"names",
"must",
"match",
"exactly",
"ignoring",
"case",
")"
] | [
"return",
"names",
";"
] |
[
"get",
"the",
"list",
"of",
"file",
"prefixes",
"recognized",
"by",
"this",
"analyzer"
] | [
"return",
"prefixes",
";"
] |
[
"get",
"the",
"list",
"of",
"file",
"extensions",
"recognized",
"by",
"this",
"analyzer"
] | [
"return",
"suffixes",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.