docstring_tokens
list
code_tokens
list
[ "returns", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "if", "the", "series", "native", "type", "is", "not", "{", "@", "code", "boolean", "series", "}", "it", "is", "converted", "transparently" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", "get", "booleans", "(", ")", ";" ]
[ "returns", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "if", "the", "series", "native", "type", "is", "not", "{", "@", "code", "object", "series", "}", "it", "is", "converted", "transparently" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", "get", "objects", "(", ")", ";" ]
[ "applies", "{", "@", "code", "function", "}", "to", "the", "series", "referenced", "by", "{", "@", "code", "series", "names", "}", "row", "by", "row", "and", "returns", "the", "results", "as", "a", "new", "series", "the", "series", "values", "are", "mapped", "to", "arguments", "of", "{", "@", "code", "function", "}", "in", "the", "same", "order", "as", "they", "appear", "in", "{", "@", "code", "series", "names", "}", "if", "the", "series", "native", "types", "do", "not", "match", "the", "required", "input", "types", "of", "{", "@", "code", "function", "}", "the", "series", "are", "converted", "transparently", "the", "native", "type", "of", "the", "returned", "series", "is", "determined", "by", "{", "@", "code", "function", "}", "s", "output", "type" ]
[ "return", "map", "(", "function", ",", "names", "2series", "(", "series", "names", ")", ")", ";" ]
[ "applies", "{", "@", "code", "function", "}", "to", "the", "series", "referenced", "by", "{", "@", "code", "series", "names", "}", "row", "by", "row", "and", "adds", "the", "result", "to", "the", "data", "frame", "as", "a", "new", "series", "with", "name", "{", "@", "code", "output", "name", "}", "the", "series", "values", "are", "mapped", "to", "arguments", "of", "{", "@", "code", "function", "}", "in", "the", "same", "order", "as", "they", "appear", "in", "{", "@", "code", "series", "names", "}", "if", "the", "series", "native", "types", "do", "not", "match", "the", "required", "input", "types", "of", "{", "@", "code", "function", "}", "the", "series", "are", "converted", "transparently", "the", "native", "type", "of", "the", "returned", "series", "is", "determined", "by", "{", "@", "code", "function", "}", "s", "output", "type" ]
[ "return", "this", "add", "series", "(", "output", "name", ",", "map", "(", "function", ",", "names", "2series", "(", "input", "names", ")", ")", ")", ";" ]
[ "applies", "{", "@", "code", "function", "}", "to", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "row", "by", "row", "and", "adds", "the", "result", "to", "the", "data", "frame", "as", "a", "new", "series", "with", "the", "same", "name", "if", "the", "series", "native", "types", "do", "not", "match", "the", "required", "input", "types", "of", "{", "@", "code", "function", "}", "the", "series", "are", "converted", "transparently", "the", "native", "type", "of", "the", "returned", "series", "is", "determined", "by", "{", "@", "code", "function", "}", "s", "output", "type" ]
[ "return", "this", "add", "series", "(", "series", "name", ",", "map", "(", "function", ",", "this", "get", "(", "series", "name", ")", ")", ")", ";" ]
[ "applies", "{", "@", "code", "function", "}", "to", "{", "@", "code", "series", "}", "row", "by", "row", "and", "returns", "the", "results", "as", "a", "new", "series", "the", "series", "values", "are", "mapped", "to", "arguments", "of", "{", "@", "code", "function", "}", "in", "the", "same", "order", "as", "they", "appear", "in", "{", "@", "code", "series", "}", "if", "the", "series", "native", "types", "do", "not", "match", "the", "required", "input", "types", "of", "{", "@", "code", "function", "}", "the", "series", "are", "converted", "transparently", "the", "native", "type", "of", "the", "returned", "series", "is", "determined", "by", "{", "@", "code", "function", "}", "s", "output", "type" ]
[ "return", "series", "map", "(", "function", ",", "series", ")", ";" ]
[ "applies", "{", "@", "code", "double", "expression", "}", "compiled", "to", "an", "expression", "to", "the", "series", "referenced", "by", "{", "@", "code", "series", "names", "}", "row", "by", "row", "and", "returns", "the", "results", "as", "a", "new", "series", "the", "series", "values", "are", "mapped", "to", "variables", "in", "{", "@", "code", "double", "expression", "}", "by", "series", "names", "all", "series", "contained", "in", "the", "data", "frame", "can", "be", "referenced", "by", "the", "expression", "the", "series", "are", "converted", "to", "{", "@", "code", "double", "series", "}", "transparently", "and", "the", "results", "are", "returned", "as", "double", "series", "as", "well" ]
[ "set", "<", "string", ">", "variables", "=", "extract", "series", "names", "(", "double", "expression", ")", ";", "return", "this", "map", "(", "double", "expression", ",", "variables", "to", "array", "(", "new", "string", "[", "variables", "size", "(", ")", "]", ")", ")", ";" ]
[ "returns", "a", "projection", "of", "the", "data", "frame" ]
[ "data", "frame", "new", "data", "frame", "=", "new", "data", "frame", "(", "this", ")", ";", "new", "data", "frame", "series", "clear", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "series", ">", "e", ":", "this", "series", "entry", "set", "(", ")", ")", "{", "new", "data", "frame", "add", "series", "(", "e", "get", "key", "(", ")", ",", "e", "get", "value", "(", ")", "project", "(", "from", "index", ")", ")", ";", "}", "return", "new", "data", "frame", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "sorted", "by", "series", "values", "referenced", "by", "its", "index" ]
[ "return", "this", "sorted", "by", "(", "this", "index", "names", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "sorted", "by", "series", "values", "referenced", "by", "{", "@", "code", "series", "names", "}", "the", "resulting", "sorted", "order", "is", "the", "equivalent", "of", "applying", "a", "stable", "sort", "to", "the", "nth", "series", "first", "and", "then", "sorting", "iteratively", "by", "series", "until", "the", "1st", "series" ]
[ "return", "this", "sorted", "by", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "the", "order", "of", "values", "in", "the", "series", "reversed" ]
[ "data", "frame", "new", "data", "frame", "=", "new", "data", "frame", "(", "this", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "series", ">", "e", ":", "this", "series", "entry", "set", "(", ")", ")", "{", "new", "data", "frame", "add", "series", "(", "e", "get", "key", "(", ")", ",", "e", "get", "value", "(", ")", "reverse", "(", ")", ")", ";", "}", "return", "new", "data", "frame", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "rows", "filtered", "by", "series", "values", "referenced", "by", "{", "@", "code", "series", "name", "}", "if", "the", "value", "referenced", "by", "{", "@", "code", "series", "name", "}", "associated", "with", "a", "row", "is", "{", "@", "code", "true", "}", "the", "row", "is", "copied", "otherwise", "it", "is", "set", "to", "{", "@", "code", "null", "}" ]
[ "return", "this", "filter", "(", "this", "get", "booleans", "(", "series", "name", ")", ")", ";" ]
[ "sets", "the", "values", "of", "the", "series", "references", "by", "{", "@", "code", "series", "name", "}", "and", "masked", "by", "{", "@", "code", "mask", "}", "to", "the", "corresponding", "values", "in", "{", "@", "code", "values", "}", "uses", "a", "copy", "of", "the", "affected", "series" ]
[ "return", "this", "add", "series", "(", "series", "name", ",", "this", "get", "(", "series", "name", ")", "set", "(", "mask", ",", "values", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "the", "labels", "provided", "by", "{", "@", "code", "labels", "}", "row", "by", "row", "the", "size", "of", "{", "@", "code", "labels", "}", "must", "match", "the", "size", "of", "the", "data", "frame" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "value", "from", "(", "labels", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "the", "labels", "provided", "by", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "row", "by", "row" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "series", "name", ",", "this", ",", "grouping", "grouping", "by", "value", "from", "(", "this", "get", "(", "series", "name", ")", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "the", "labels", "provided", "by", "the", "series", "referenced", "by", "{", "@", "code", "series", "names", "}", "row", "by", "row", "the", "method", "can", "group", "across", "multiple", "columns", "it", "returns", "the", "key", "column", "as", "object", "series", "of", "{", "@", "code", "tuples", "}", "constructed", "from", "the", "input", "columns" ]
[ "return", "this", "group", "by", "value", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "the", "labels", "provided", "by", "the", "series", "referenced", "by", "{", "@", "code", "series", "names", "}", "row", "by", "row", "the", "method", "can", "group", "across", "multiple", "columns", "it", "returns", "the", "key", "column", "as", "object", "series", "of", "{", "@", "code", "tuples", "}", "constructed", "from", "the", "input", "columns" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "value", "from", "(", "names", "2series", "(", "series", "names", ")", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "the", "labels", "provided", "by", "{", "@", "code", "labels", "}", "row", "by", "row", "the", "size", "of", "{", "@", "code", "labels", "}", "must", "match", "the", "size", "of", "the", "data", "frame" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "interval", "from", "(", "labels", ",", "interval", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "the", "labels", "provided", "by", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "row", "by", "row" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "series", "name", ",", "this", ",", "grouping", "grouping", "by", "interval", "from", "(", "this", "get", "(", "series", "name", ")", ",", "interval", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "items", "counts" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "count", "from", "(", "count", ",", "this", "size", "(", ")", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "partition", "counts" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "partitions", "from", "(", "partition", "count", ",", "this", "size", "(", ")", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "a", "moving", "window" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "moving", "window", "from", "(", "window", "size", ",", "this", "size", "(", ")", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "an", "expanding", "window" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "expanding", "window", "from", "(", "this", "size", "(", ")", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "an", "time", "period" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "period", "from", "(", "timestamps", "get", "longs", "(", ")", ",", "origin", ",", "period", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "an", "time", "period" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "period", "from", "(", "timestamps", "get", "longs", "(", ")", ",", "timezone", ",", "period", ")", ")", ";" ]
[ "returns", "a", "data", "frame", "grouping", "based", "on", "an", "time", "period" ]
[ "return", "new", "grouping", "data", "frame", "grouping", "(", "grouping", "group", "key", ",", "this", ",", "grouping", "grouping", "by", "period", "from", "(", "assert", "series", "exists", "(", "series", "name", ")", "get", "longs", "(", ")", ",", "timezone", ",", "period", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "rows", "that", "contain", "a", "{", "@", "code", "null", "}", "value", "in", "any", "series" ]
[ "return", "this", "drop", "null", "(", "new", "array", "list", "<", ">", "(", "this", "get", "series", "names", "(", ")", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "rows", "that", "contain", "a", "{", "@", "code", "null", "}", "value", "in", "any", "given", "series" ]
[ "return", "this", "drop", "null", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "rows", "that", "contain", "a", "{", "@", "code", "null", "}", "value", "in", "any", "given", "series" ]
[ "boolean", "series", "is", "null", "=", "boolean", "series", "fill", "values", "(", "this", "size", "(", ")", ",", "false", ")", ";", "for", "(", "series", "s", ":", "assert", "series", "exist", "(", "series", "names", ")", ")", "{", "is", "null", "=", "is", "null", "or", "(", "s", "is", "null", "(", ")", ")", ";", "}", "int", "[", "]", "from", "index", "=", "new", "int", "[", "is", "null", "count", "(", "false", ")", "]", ";", "int", "count", "not", "null", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "this", "size", "(", ")", ";", "i", "+", "+", ")", "{", "if", "(", "boolean", "series", "is", "false", "(", "is", "null", "get", "boolean", "(", "i", ")", ")", ")", "{", "from", "index", "[", "count", "not", "null", "+", "+", "]", "=", "i", ";", "}", "}", "return", "this", "project", "(", "arrays", "copy", "of", "(", "from", "index", ",", "count", "not", "null", ")", ")", ";" ]
[ "returns", "{", "@", "code", "true", "}", "if", "series", "{", "@", "code", "series", "name", "}", "value", "at", "{", "@", "code", "index", "}", "is", "null" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", "is", "null", "(", "index", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "series", "that", "contain", "a", "{", "@", "code", "null", "}", "value" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "df", "series", "clear", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "series", ">", "e", ":", "this", "get", "series", "(", ")", "entry", "set", "(", ")", ")", "{", "if", "(", "!", "e", "get", "value", "(", ")", "has", "null", "(", ")", ")", "df", "add", "series", "(", "e", "get", "key", "(", ")", ",", "e", "get", "value", "(", ")", ")", ";", "}", "return", "df", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "series", "that", "contain", "only", "{", "@", "code", "null", "}", "values" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "df", "series", "clear", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "series", ">", "e", ":", "this", "get", "series", "(", ")", "entry", "set", "(", ")", ")", "{", "if", "(", "!", "e", "get", "value", "(", ")", "all", "null", "(", ")", ")", "df", "add", "series", "(", "e", "get", "key", "(", ")", ",", "e", "get", "value", "(", ")", ")", ";", "}", "return", "df", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "series", "{", "@", "code", "series", "names", "}", "replacing", "{", "@", "code", "null", "}", "values", "with", "its", "native", "default", "value" ]
[ "return", "this", "fill", "null", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "series", "{", "@", "code", "series", "names", "}", "replacing", "{", "@", "code", "null", "}", "values", "with", "its", "native", "default", "value" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "for", "(", "string", "name", ":", "series", "names", ")", "df", "add", "series", "(", "name", ",", "assert", "series", "exists", "(", "name", ")", "fill", "null", "(", ")", ")", ";", "return", "df", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "series", "{", "@", "code", "series", "names", "}", "replacing", "{", "@", "code", "null", "}", "values", "via", "forward", "fill" ]
[ "return", "this", "fill", "null", "forward", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "series", "{", "@", "code", "series", "names", "}", "replacing", "{", "@", "code", "null", "}", "values", "via", "forward", "fill" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "for", "(", "string", "name", ":", "series", "names", ")", "df", "add", "series", "(", "name", ",", "assert", "series", "exists", "(", "name", ")", "fill", "null", "forward", "(", ")", ")", ";", "return", "df", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "series", "{", "@", "code", "series", "names", "}", "replacing", "{", "@", "code", "null", "}", "values", "via", "back", "fill" ]
[ "return", "this", "fill", "null", "backward", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "series", "{", "@", "code", "series", "names", "}", "replacing", "{", "@", "code", "null", "}", "values", "via", "back", "fill" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "for", "(", "string", "name", ":", "series", "names", ")", "df", "add", "series", "(", "name", ",", "assert", "series", "exists", "(", "name", ")", "fill", "null", "backward", "(", ")", ")", ";", "return", "df", ";" ]
[ "performs", "an", "inner", "join", "on", "the", "index", "column", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "assert", "index", "(", "this", ",", "other", ")", ";", "return", "this", "join", "inner", "(", "other", ",", "this", "index", "names", ",", "other", "index", "names", ")", ";" ]
[ "performs", "an", "inner", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "this", "join", "inner", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "an", "inner", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "this", "join", "inner", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "an", "inner", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "inner", ")", ";" ]
[ "performs", "an", "inner", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "inner", ")", ";" ]
[ "performs", "a", "left", "outer", "join", "on", "the", "index", "column", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "assert", "index", "(", "this", ",", "other", ")", ";", "return", "this", "join", "left", "(", "other", ",", "this", "index", "names", ",", "other", "index", "names", ")", ";" ]
[ "performs", "a", "left", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "this", "join", "left", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "a", "left", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "this", "join", "left", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "a", "left", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "left", ")", ";" ]
[ "performs", "a", "left", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "left", ")", ";" ]
[ "performs", "a", "right", "outer", "join", "on", "the", "index", "column", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "assert", "index", "(", "this", ",", "other", ")", ";", "return", "this", "join", "right", "(", "other", ",", "this", "index", "names", ",", "other", "index", "names", ")", ";" ]
[ "performs", "a", "right", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "this", "join", "right", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "a", "right", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "this", "join", "right", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "a", "right", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "right", ")", ";" ]
[ "performs", "a", "right", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "right", ")", ";" ]
[ "performs", "an", "outer", "join", "on", "the", "index", "column", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "assert", "index", "(", "this", ",", "other", ")", ";", "return", "this", "join", "outer", "(", "other", ",", "this", "index", "names", ",", "other", "index", "names", ")", ";" ]
[ "performs", "an", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "this", "join", "outer", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "an", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "}", "columns", "of", "two", "data", "frames", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "this", "join", "outer", "(", "other", ",", "on", "series", ",", "on", "series", ")", ";" ]
[ "performs", "an", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "string", "[", "]", "string", "[", "]", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "outer", ")", ";" ]
[ "performs", "an", "outer", "join", "on", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "this", "data", "frame", "and", "the", "{", "@", "code", "on", "series", "left", "}", "columns", "of", "the", "{", "@", "code", "other", "}", "data", "frame", "@", "see", "data", "frame", "#", "join", "(", "data", "frame", "data", "frame", "list", "list", "series", "join", "type", ")" ]
[ "return", "data", "frame", "join", "(", "this", ",", "other", ",", "on", "series", "left", ",", "on", "series", "right", ",", "series", "join", "type", "outer", ")", ";" ]
[ "performs", "a", "join", "between", "two", "data", "frames", "and", "returns", "the", "result", "as", "a", "new", "data", "frame", "the", "join", "can", "be", "performed", "across", "multiple", "series", "if", "(", "non", "-", "joined", ")", "series", "with", "the", "same", "name", "exist", "in", "both", "data", "frames", "their", "names", "are", "appended", "with", "{", "@", "code", "column", "join", "left", "}", "and", "{", "@", "code", "column", "join", "right", "}", "in", "the", "returned", "data", "frame" ]
[ "return", "join", "(", "left", ",", "right", ",", "arrays", "as", "list", "(", "on", "series", "left", ")", ",", "arrays", "as", "list", "(", "on", "series", "right", ")", ",", "join", "type", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "data", "from", "{", "@", "code", "others", "}", "appended", "at", "the", "end", "matches", "series", "by", "names", "and", "uses", "the", "native", "type", "of", "the", "original", "(", "this", ")", "data", "frame", "if", "{", "@", "code", "others", "}", "do", "not", "contain", "series", "with", "matching", "names", "a", "sequence", "of", "{", "@", "code", "nulls", "}", "is", "appended", "any", "series", "in", "{", "@", "code", "other", "}", "that", "are", "not", "matched", "by", "name", "are", "discarded" ]
[ "return", "this", "append", "(", "arrays", "as", "list", "(", "others", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "with", "data", "from", "{", "@", "code", "others", "}", "appended", "at", "the", "end", "matches", "series", "by", "names", "and", "uses", "the", "native", "type", "of", "the", "original", "(", "this", ")", "data", "frame", "if", "{", "@", "code", "others", "}", "do", "not", "contain", "series", "with", "matching", "names", "a", "sequence", "of", "{", "@", "code", "nulls", "}", "is", "appended", "any", "series", "in", "{", "@", "code", "other", "}", "that", "are", "not", "matched", "by", "name", "are", "discarded" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "df", "series", "clear", "(", ")", ";", "for", "(", "string", "name", ":", "this", "get", "series", "names", "(", ")", ")", "{", "series", "builder", "builder", "=", "this", "get", "(", "name", ")", "get", "builder", "(", ")", ";", "builder", "add", "series", "(", "this", "get", "(", "name", ")", ")", ";", "for", "(", "data", "frame", "other", ":", "others", ")", "{", "if", "(", "other", "contains", "(", "name", ")", ")", "{", "builder", "add", "series", "(", "other", "get", "(", "name", ")", ")", ";", "}", "else", "{", "builder", "add", "series", "(", "boolean", "series", "nulls", "(", "other", "size", "(", ")", ")", ")", ";", "}", "}", "df", "add", "series", "(", "name", ",", "builder", "build", "(", ")", ")", ";", "}", "return", "df", ";" ]
[ "returns", "a", "new", "data", "frame", "concatenated", "from", "a", "list", "of", "given", "data", "frames", "returns", "an", "empty", "data", "frame", "on", "empty", "input", "otherwise", "follows", "the", "conventions", "of", "{", "@", "code", "append", "(", ")", "}" ]
[ "return", "concatenate", "(", "arrays", "as", "list", "(", "dataframes", ")", ")", ";" ]
[ "returns", "a", "new", "data", "frame", "concatenated", "from", "a", "list", "of", "given", "data", "frames", "returns", "an", "empty", "data", "frame", "on", "empty", "input", "otherwise", "follows", "the", "conventions", "of", "{", "@", "code", "append", "(", ")", "}" ]
[ "if", "(", "dataframes", "is", "empty", "(", ")", ")", "{", "return", "new", "data", "frame", "(", ")", ";", "}", "if", "(", "dataframes", "size", "(", ")", "=", "=", "1", ")", "{", "return", "dataframes", "get", "(", "0", ")", ";", "}", "data", "frame", "first", "=", "dataframes", "get", "(", "0", ")", ";", "list", "<", "data", "frame", ">", "others", "=", "dataframes", "sub", "list", "(", "1", ",", "dataframes", "size", "(", ")", ")", ";", "return", "first", "append", "(", "others", ")", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "attachment", "set", "if", "an", "<", "code", ">", "attachment", "set", "id", "<", "/", "code", ">", "is", "not", "specified", "a", "new", "attachment", "set", "is", "created", "and", "the", "id", "of", "the", "set", "is", "returned", "in", "the", "response", "if", "an", "<", "code", ">", "attachment", "set", "id", "<", "/", "code", ">", "is", "specified", "the", "attachments", "are", "added", "to", "the", "specified", "set", "if", "it", "exists", "<", "/", "p", ">" ]
[ "set", "attachment", "set", "id", "(", "attachment", "set", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "one", "or", "more", "attachments", "to", "add", "to", "the", "set", "the", "limit", "is", "3", "attachments", "per", "set", "and", "the", "size", "limit", "is", "5", "mb", "per", "attachment", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "attachments", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "attachments", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "attachments", "=", "=", "null", ")", "{", "set", "attachments", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "attachment", ">", "(", "attachments", "length", ")", ")", ";", "}", "for", "(", "attachment", "ele", ":", "attachments", ")", "{", "this", "attachments", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "one", "or", "more", "attachments", "to", "add", "to", "the", "set", "the", "limit", "is", "3", "attachments", "per", "set", "and", "the", "size", "limit", "is", "5", "mb", "per", "attachment", "<", "/", "p", ">" ]
[ "set", "attachments", "(", "attachments", ")", ";", "return", "this", ";" ]
[ "implemented", "in", "color", "chooser", "android", "cc" ]
[ "private", "native", "void", "native", "on", "color", "chosen", "(", "int", "native", "color", "chooser", "android", ",", "int", "color", ")", ";" ]
[ "returns", "the", "default", "warning", "level", "in", "bytes" ]
[ "return", "mb", "in", "bytes", "*", "m", "context", "get", "resources", "(", ")", "get", "integer", "(", "r", "integer", "default", "data", "warning", "level", "mb", ")", ";" ]
[ "get", "the", "atn", "state", "number", "the", "parser", "was", "in", "at", "the", "time", "the", "error", "occurred", "for", "{", "@", "link", "no", "viable", "alt", "exception", "}", "and", "{", "@", "link", "lexer", "no", "viable", "alt", "exception", "}", "exceptions", "this", "is", "the", "{", "@", "link", "decision", "state", "}", "number", "for", "others", "it", "is", "the", "state", "whose", "outgoing", "edge", "we", "couldn", "t", "match" ]
[ "return", "offending", "state", ";" ]
[ "gets", "the", "set", "of", "input", "symbols", "which", "could", "potentially", "follow", "the", "previously", "matched", "symbol", "at", "the", "time", "this", "exception", "was", "thrown" ]
[ "if", "(", "recognizer", "!", "=", "null", ")", "{", "return", "recognizer", "get", "a", "t", "n", "(", ")", "get", "expected", "tokens", "(", "offending", "state", ",", "ctx", ")", ";", "}", "return", "null", ";" ]
[ "gets", "the", "{", "@", "link", "rule", "context", "}", "at", "the", "time", "this", "exception", "was", "thrown" ]
[ "return", "ctx", ";" ]
[ "gets", "the", "input", "stream", "which", "is", "the", "symbol", "source", "for", "the", "recognizer", "where", "this", "exception", "was", "thrown" ]
[ "return", "input", ";" ]
[ "gets", "the", "{", "@", "link", "recognizer", "}", "where", "this", "exception", "occurred" ]
[ "return", "recognizer", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "return", "model", "package", "literals", "dual", "button", "led", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "logger", "old", "logger", "=", "logger", ";", "logger", "=", "new", "logger", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "logger", ",", "old", "logger", ",", "logger", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "string", "old", "uid", "=", "uid", ";", "uid", "=", "new", "uid", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "uid", ",", "old", "uid", ",", "uid", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "boolean", "old", "poll", "=", "poll", ";", "poll", "=", "new", "poll", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "poll", ",", "old", "poll", ",", "poll", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "atomic", "boolean", "old", "enabled", "a", "=", "enabled", "a", ";", "enabled", "a", "=", "new", "enabled", "a", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "enabled", "a", ",", "old", "enabled", "a", ",", "enabled", "a", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "string", "old", "sub", "id", "=", "sub", "id", ";", "sub", "id", "=", "new", "sub", "id", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "sub", "id", ",", "old", "sub", "id", ",", "sub", "id", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "e", "container", "feature", "i", "d", "(", ")", "!", "=", "model", "package", "dual", "button", "led", "mbrick", ")", "return", "null", ";", "return", "(", "m", "bricklet", "dual", "button", ")", "e", "container", "(", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "e", "container", "feature", "i", "d", "(", ")", "!", "=", "model", "package", "dual", "button", "led", "mbrick", ")", "return", "null", ";", "return", "(", "m", "bricklet", "dual", "button", ")", "e", "internal", "container", "(", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "msgs", "=", "e", "basic", "set", "container", "(", "(", "internal", "e", "object", ")", "new", "mbrick", ",", "model", "package", "dual", "button", "led", "mbrick", ",", "msgs", ")", ";", "return", "msgs", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "high", "low", "value", "old", "digital", "state", "=", "digital", "state", ";", "digital", "state", "=", "new", "digital", "state", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "digital", "state", ",", "old", "digital", "state", ",", "digital", "state", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "return", "tf", "config", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "dual", "button", "l", "e", "d", "configuration", "old", "tf", "config", "=", "tf", "config", ";", "tf", "config", "=", "new", "tf", "config", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "{", "e", "notification", "impl", "notification", "=", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "tf", "config", ",", "old", "tf", "config", ",", "new", "tf", "config", ")", ";", "if", "(", "msgs", "=", "=", "null", ")", "msgs", "=", "notification", ";", "else", "msgs", "add", "(", "notification", ")", ";", "}", "return", "msgs", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "new", "tf", "config", "!", "=", "tf", "config", ")", "{", "notification", "chain", "msgs", "=", "null", ";", "if", "(", "tf", "config", "!", "=", "null", ")", "msgs", "=", "(", "(", "internal", "e", "object", ")", "tf", "config", ")", "e", "inverse", "remove", "(", "this", ",", "eopposite", "feature", "base", "-", "model", "package", "dual", "button", "led", "tf", "config", ",", "null", ",", "msgs", ")", ";", "if", "(", "new", "tf", "config", "!", "=", "null", ")", "msgs", "=", "(", "(", "internal", "e", "object", ")", "new", "tf", "config", ")", "e", "inverse", "add", "(", "this", ",", "eopposite", "feature", "base", "-", "model", "package", "dual", "button", "led", "tf", "config", ",", "null", ",", "msgs", ")", ";", "msgs", "=", "basic", "set", "tf", "config", "(", "new", "tf", "config", ",", "msgs", ")", ";", "if", "(", "msgs", "!", "=", "null", ")", "msgs", "dispatch", "(", ")", ";", "}", "else", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "tf", "config", ",", "new", "tf", "config", ",", "new", "tf", "config", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "string", "old", "device", "type", "=", "device", "type", ";", "device", "type", "=", "new", "device", "type", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "device", "type", ",", "old", "device", "type", ",", "device", "type", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "return", "position", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "dual", "button", "device", "position", "old", "position", "=", "position", ";", "position", "=", "new", "position", "=", "=", "null", "?", "position", "edefault", ":", "new", "position", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package", "dual", "button", "led", "position", ",", "old", "position", ",", "position", ")", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "try", "{", "short", "led", "=", "position", "=", "=", "dual", "button", "device", "position", "left", "?", "bricklet", "dual", "button", "led", "left", ":", "bricklet", "dual", "button", "led", "right", ";", "tinkerforge", "device", "set", "selected", "l", "e", "d", "state", "(", "led", ",", "get", "state", "4", "value", "(", "digital", "state", ")", ")", ";", "}", "catch", "(", "timeout", "exception", "e", ")", "{", "tinkerforge", "error", "handler", "handle", "error", "(", "this", ",", "tinkerforge", "error", "handler", "tf", "timeout", "exception", ",", "e", ")", ";", "}", "catch", "(", "not", "connected", "exception", "e", ")", "{", "tinkerforge", "error", "handler", "handle", "error", "(", "this", ",", "tinkerforge", "error", "handler", "tf", "not", "connection", "exception", ",", "e", ")", ";", "}" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "try", "{", "l", "e", "d", "state", "led", "state", "=", "tinkerforge", "device", "get", "l", "e", "d", "state", "(", ")", ";", "short", "led", "=", "position", "=", "=", "dual", "button", "device", "position", "left", "?", "led", "state", "led", "l", ":", "led", "state", "led", "r", ";", "set", "digital", "state", "(", "get", "value", "4", "state", "(", "led", ")", ")", ";", "}", "catch", "(", "timeout", "exception", "e", ")", "{", "tinkerforge", "error", "handler", "handle", "error", "(", "this", ",", "tinkerforge", "error", "handler", "tf", "timeout", "exception", ",", "e", ")", ";", "}", "catch", "(", "not", "connected", "exception", "e", ")", "{", "tinkerforge", "error", "handler", "handle", "error", "(", "this", ",", "tinkerforge", "error", "handler", "tf", "not", "connection", "exception", ",", "e", ")", ";", "}" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "set", "enabled", "a", "(", "new", "atomic", "boolean", "(", ")", ")", ";", "logger", "=", "logger", "factory", "get", "logger", "(", "dual", "button", "led", "impl", "class", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "listener", "!", "=", "null", ")", "{", "tinkerforge", "device", "remove", "state", "changed", "listener", "(", "listener", ")", ";", "}", "tinkerforge", "device", "=", "null", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "if", "(", "e", "internal", "container", "(", ")", "!", "=", "null", ")", "msgs", "=", "e", "basic", "remove", "from", "container", "(", "msgs", ")", ";", "return", "basic", "set", "mbrick", "(", "(", "m", "bricklet", "dual", "button", ")", "other", "end", ",", "msgs", ")", ";", "}", "return", "super", "e", "inverse", "add", "(", "other", "end", ",", "feature", "i", "d", ",", "msgs", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "return", "basic", "set", "mbrick", "(", "null", ",", "msgs", ")", ";", "case", "model", "package", "dual", "button", "led", "tf", "config", ":", "return", "basic", "set", "tf", "config", "(", "null", ",", "msgs", ")", ";", "}", "return", "super", "e", "inverse", "remove", "(", "other", "end", ",", "feature", "i", "d", ",", "msgs", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "e", "container", "feature", "i", "d", "(", ")", ")", "{", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "return", "e", "internal", "container", "(", ")", "e", "inverse", "remove", "(", "this", ",", "model", "package", "msub", "device", "holder", "msubdevices", ",", "m", "sub", "device", "holder", "class", ",", "msgs", ")", ";", "}", "return", "super", "e", "basic", "remove", "from", "container", "feature", "(", "msgs", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "dual", "button", "led", "logger", ":", "return", "get", "logger", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "uid", ":", "return", "get", "uid", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "poll", ":", "return", "is", "poll", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "enabled", "a", ":", "return", "get", "enabled", "a", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "sub", "id", ":", "return", "get", "sub", "id", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "if", "(", "resolve", ")", "return", "get", "mbrick", "(", ")", ";", "return", "basic", "get", "mbrick", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "digital", "state", ":", "return", "get", "digital", "state", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "tf", "config", ":", "return", "get", "tf", "config", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "device", "type", ":", "return", "get", "device", "type", "(", ")", ";", "case", "model", "package", "dual", "button", "led", "position", ":", "return", "get", "position", "(", ")", ";", "}", "return", "super", "e", "get", "(", "feature", "i", "d", ",", "resolve", ",", "core", "type", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "dual", "button", "led", "logger", ":", "set", "logger", "(", "(", "logger", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "uid", ":", "set", "uid", "(", "(", "string", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "poll", ":", "set", "poll", "(", "(", "boolean", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "enabled", "a", ":", "set", "enabled", "a", "(", "(", "atomic", "boolean", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "sub", "id", ":", "set", "sub", "id", "(", "(", "string", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "set", "mbrick", "(", "(", "m", "bricklet", "dual", "button", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "digital", "state", ":", "set", "digital", "state", "(", "(", "high", "low", "value", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "tf", "config", ":", "set", "tf", "config", "(", "(", "dual", "button", "l", "e", "d", "configuration", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "device", "type", ":", "set", "device", "type", "(", "(", "string", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "position", ":", "set", "position", "(", "(", "dual", "button", "device", "position", ")", "new", "value", ")", ";", "return", ";", "}", "super", "e", "set", "(", "feature", "i", "d", ",", "new", "value", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "dual", "button", "led", "logger", ":", "set", "logger", "(", "logger", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "uid", ":", "set", "uid", "(", "uid", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "poll", ":", "set", "poll", "(", "poll", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "enabled", "a", ":", "set", "enabled", "a", "(", "enabled", "a", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "sub", "id", ":", "set", "sub", "id", "(", "sub", "id", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "set", "mbrick", "(", "(", "m", "bricklet", "dual", "button", ")", "null", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "digital", "state", ":", "set", "digital", "state", "(", "digital", "state", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "tf", "config", ":", "set", "tf", "config", "(", "(", "dual", "button", "l", "e", "d", "configuration", ")", "null", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "device", "type", ":", "set", "device", "type", "(", "device", "type", "edefault", ")", ";", "return", ";", "case", "model", "package", "dual", "button", "led", "position", ":", "set", "position", "(", "position", "edefault", ")", ";", "return", ";", "}", "super", "e", "unset", "(", "feature", "i", "d", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "dual", "button", "led", "logger", ":", "return", "logger", "edefault", "=", "=", "null", "?", "logger", "!", "=", "null", ":", "!", "logger", "edefault", "equals", "(", "logger", ")", ";", "case", "model", "package", "dual", "button", "led", "uid", ":", "return", "uid", "edefault", "=", "=", "null", "?", "uid", "!", "=", "null", ":", "!", "uid", "edefault", "equals", "(", "uid", ")", ";", "case", "model", "package", "dual", "button", "led", "poll", ":", "return", "poll", "!", "=", "poll", "edefault", ";", "case", "model", "package", "dual", "button", "led", "enabled", "a", ":", "return", "enabled", "a", "edefault", "=", "=", "null", "?", "enabled", "a", "!", "=", "null", ":", "!", "enabled", "a", "edefault", "equals", "(", "enabled", "a", ")", ";", "case", "model", "package", "dual", "button", "led", "sub", "id", ":", "return", "sub", "id", "edefault", "=", "=", "null", "?", "sub", "id", "!", "=", "null", ":", "!", "sub", "id", "edefault", "equals", "(", "sub", "id", ")", ";", "case", "model", "package", "dual", "button", "led", "mbrick", ":", "return", "basic", "get", "mbrick", "(", ")", "!", "=", "null", ";", "case", "model", "package", "dual", "button", "led", "digital", "state", ":", "return", "digital", "state", "edefault", "=", "=", "null", "?", "digital", "state", "!", "=", "null", ":", "!", "digital", "state", "edefault", "equals", "(", "digital", "state", ")", ";", "case", "model", "package", "dual", "button", "led", "tf", "config", ":", "return", "tf", "config", "!", "=", "null", ";", "case", "model", "package", "dual", "button", "led", "device", "type", ":", "return", "device", "type", "edefault", "=", "=", "null", "?", "device", "type", "!", "=", "null", ":", "!", "device", "type", "edefault", "equals", "(", "device", "type", ")", ";", "case", "model", "package", "dual", "button", "led", "position", ":", "return", "position", "!", "=", "position", "edefault", ";", "}", "return", "super", "e", "is", "set", "(", "feature", "i", "d", ")", ";" ]