docstring_tokens
list
code_tokens
list
[ "performs", "routine", "cleanup", "following", "a", "read", "normally", "cleanup", "happens", "during", "writes", "if", "cleanup", "is", "not", "observed", "after", "a", "sufficient", "number", "of", "reads", "try", "cleaning", "up", "from", "the", "read", "thread" ]
[ "if", "(", "(", "read", "count", "increment", "and", "get", "(", ")", "&", "drain", "threshold", ")", "=", "=", "0", ")", "{", "clean", "up", "(", ")", ";", "}" ]
[ "performs", "routine", "cleanup", "prior", "to", "executing", "a", "write", "this", "should", "be", "called", "every", "time", "a", "write", "thread", "acquires", "the", "segment", "lock", "immediately", "after", "acquiring", "the", "lock", "<", "p", ">", "<", "p", ">", "post", "-", "condition", ":", "expire", "entries", "has", "been", "run" ]
[ "run", "locked", "cleanup", "(", "now", ")", ";" ]
[ "performs", "routine", "cleanup", "following", "a", "write" ]
[]
[ "loading", "cache", "methods" ]
[ "return", "local", "cache", "get", "or", "load", "(", "key", ")", ";" ]
[ "returns", "true", "if", "field", "query", "type", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "query", "type", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "query", "source", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "query", "source", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "time", "interval", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "time", "interval", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "duration", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "duration", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "filter", "query", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "filter", "query", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "aggregations", "info", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "aggregations", "info", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "group", "by", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "group", "by", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "selections", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "selections", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "filter", "sub", "query", "map", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "filter", "sub", "query", "map", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "bucket", "hash", "key", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "bucket", "hash", "key", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "response", "format", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "response", "format", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "debug", "options", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "debug", "options", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "query", "options", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "query", "options", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "having", "filter", "query", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "having", "filter", "query", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "having", "filter", "sub", "query", "map", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "having", "filter", "sub", "query", "map", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "corresponding", "to", "field", "i", "d", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "if", "(", "field", "=", "=", "null", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "}", "switch", "(", "field", ")", "{", "case", "query", "type", ":", "return", "is", "set", "query", "type", "(", ")", ";", "case", "query", "source", ":", "return", "is", "set", "query", "source", "(", ")", ";", "case", "time", "interval", ":", "return", "is", "set", "time", "interval", "(", ")", ";", "case", "duration", ":", "return", "is", "set", "duration", "(", ")", ";", "case", "filter", "query", ":", "return", "is", "set", "filter", "query", "(", ")", ";", "case", "aggregations", "info", ":", "return", "is", "set", "aggregations", "info", "(", ")", ";", "case", "group", "by", ":", "return", "is", "set", "group", "by", "(", ")", ";", "case", "selections", ":", "return", "is", "set", "selections", "(", ")", ";", "case", "filter", "sub", "query", "map", ":", "return", "is", "set", "filter", "sub", "query", "map", "(", ")", ";", "case", "bucket", "hash", "key", ":", "return", "is", "set", "bucket", "hash", "key", "(", ")", ";", "case", "enable", "trace", ":", "return", "is", "set", "enable", "trace", "(", ")", ";", "case", "response", "format", ":", "return", "is", "set", "response", "format", "(", ")", ";", "case", "debug", "options", ":", "return", "is", "set", "debug", "options", "(", ")", ";", "case", "query", "options", ":", "return", "is", "set", "query", "options", "(", ")", ";", "case", "having", "filter", "query", ":", "return", "is", "set", "having", "filter", "query", "(", ")", ";", "case", "having", "filter", "sub", "query", "map", ":", "return", "is", "set", "having", "filter", "sub", "query", "map", "(", ")", ";", "}", "throw", "new", "illegal", "state", "exception", "(", ")", ";" ]
[ "make", "sense", "to", "run", "this", "op", "on", "an", "enm", "?" ]
[ "if", "(", "string", "utils", "is", "null", "or", "empty", "(", "l", ")", ")", "return", "string", "utils", "is", "null", "or", "empty", "(", "r", ")", "?", "0", ":", "1", ";", "else", "return", "l", "equals", "(", "r", ")", "?", "0", ":", "1", ";" ]
[ "query", "methods", "using", "streaming", "need", "to", "be", "used", "inside", "a", "surrounding", "transaction", "to", "keep", "the", "connection", "open", "while", "the", "stream", "is", "consumed", "we", "simulate", "that", "not", "being", "the", "case", "by", "actively", "disabling", "the", "transaction", "here" ]
[ "repository", "find", "all", "by", "lastname", "is", "not", "null", "(", ")", ";" ]
[ "required", "implementations" ]
[ "return", "stateful", "remove", "(", ")", ";" ]
[ "check", "that", "the", "empty", "string", "doesn", "t", "cause", "issues" ]
[ "analyzer", "a", "=", "new", "analyzer", "(", ")", "{", "@", "override", "protected", "token", "stream", "components", "create", "components", "(", "string", "field", "name", ")", "{", "tokenizer", "tokenizer", "=", "new", "keyword", "tokenizer", "(", ")", ";", "return", "new", "token", "stream", "components", "(", "tokenizer", ",", "new", "scandinavian", "folding", "filter", "(", "tokenizer", ")", ")", ";", "}", "}", ";", "check", "one", "term", "(", "a", ",", "\"", "\"", ",", "\"", "\"", ")", ";", "a", "close", "(", ")", ";" ]
[ "blast", "some", "random", "strings", "through", "the", "analyzer" ]
[ "check", "random", "data", "(", "random", "(", ")", ",", "analyzer", ",", "1000", "*", "random", "multiplier", ")", ";" ]
[ "gets", "a", "tag", "uri", "with", "the", "specified", "tag", "title" ]
[ "return", "tag", "cache", "get", "u", "r", "i", "by", "title", "(", "title", ")", ";" ]
[ "gets", "a", "tag", "by", "the", "specified", "tag", "uri" ]
[ "final", "string", "uri", "=", "u", "r", "ls", "encode", "(", "tag", "u", "r", "i", ")", ";", "final", "query", "query", "=", "new", "query", "(", ")", "set", "filter", "(", "new", "property", "filter", "(", "tag", "tag", "uri", ",", "filter", "operator", "equal", ",", "uri", ")", ")", "add", "sort", "(", "tag", "tag", "reference", "cnt", ",", "sort", "direction", "descending", ")", "set", "page", "count", "(", "1", ")", ";", "final", "j", "s", "o", "n", "object", "result", "=", "get", "(", "query", ")", ";", "final", "j", "s", "o", "n", "array", "array", "=", "result", "opt", "j", "s", "o", "n", "array", "(", "keys", "results", ")", ";", "if", "(", "0", "=", "=", "array", "length", "(", ")", ")", "{", "return", "null", ";", "}", "return", "array", "opt", "j", "s", "o", "n", "object", "(", "0", ")", ";" ]
[ "gets", "most", "used", "tags", "with", "the", "specified", "number" ]
[ "final", "query", "query", "=", "new", "query", "(", ")", "add", "sort", "(", "tag", "tag", "reference", "cnt", ",", "sort", "direction", "descending", ")", "set", "current", "page", "num", "(", "1", ")", "set", "page", "size", "(", "num", ")", "set", "page", "count", "(", "1", ")", ";", "return", "get", "list", "(", "query", ")", ";" ]
[ "average", "bitrate", "in", "bits", "/", "second", "valid", "bitrates", "depend", "on", "the", "coding", "mode" ]
[ "set", "bitrate", "(", "bitrate", ")", ";", "return", "this", ";" ]
[ "sets", "the", "dolby", "dynamic", "range", "compression", "profile" ]
[ "this", "drc", "line", "=", "drc", "line", ";" ]
[ "sets", "the", "dolby", "dynamic", "range", "compression", "profile" ]
[ "return", "this", "drc", "line", ";" ]
[ "sets", "the", "dolby", "dynamic", "range", "compression", "profile" ]
[ "set", "drc", "line", "(", "drc", "line", ")", ";", "return", "this", ";" ]
[ "sets", "the", "dolby", "dynamic", "range", "compression", "profile" ]
[ "this", "drc", "line", "=", "drc", "line", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "sets", "the", "profile", "for", "heavy", "dolby", "dynamic", "range", "compression", "ensures", "that", "the", "instantaneous", "signal", "peaks", "do", "not", "exceed", "specified", "levels" ]
[ "this", "drc", "rf", "=", "drc", "rf", ";" ]
[ "sets", "the", "profile", "for", "heavy", "dolby", "dynamic", "range", "compression", "ensures", "that", "the", "instantaneous", "signal", "peaks", "do", "not", "exceed", "specified", "levels" ]
[ "return", "this", "drc", "rf", ";" ]
[ "sets", "the", "profile", "for", "heavy", "dolby", "dynamic", "range", "compression", "ensures", "that", "the", "instantaneous", "signal", "peaks", "do", "not", "exceed", "specified", "levels" ]
[ "set", "drc", "rf", "(", "drc", "rf", ")", ";", "return", "this", ";" ]
[ "sets", "the", "profile", "for", "heavy", "dolby", "dynamic", "range", "compression", "ensures", "that", "the", "instantaneous", "signal", "peaks", "do", "not", "exceed", "specified", "levels" ]
[ "this", "drc", "rf", "=", "drc", "rf", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "initialize", "the", "marshal", "tester", "for", "use", "configuring", "it", "to", "load", "json", "resources", "as", "utf", "-", "8" ]
[ "this", "initialize", "(", "resource", "load", "class", ",", "null", ")", ";" ]
[ "initialize", "the", "marshal", "tester", "for", "use" ]
[ "if", "(", "this", "loader", "=", "=", "null", ")", "{", "this", "loader", "=", "new", "json", "loader", "(", "resource", "load", "class", ",", "charset", ")", ";", "}" ]
[ "create", "json", "content", "from", "the", "specified", "string", "source", "the", "source", "can", "contain", "the", "json", "itself", "or", "if", "it", "ends", "with", "{" ]
[ "verify", "(", ")", ";", "return", "get", "json", "content", "(", "this", "loader", "get", "json", "(", "source", ")", ")", ";" ]
[ "create", "json", "content", "from", "the", "specified", "resource", "path" ]
[ "verify", "(", ")", ";", "return", "get", "json", "content", "(", "this", "loader", "get", "json", "(", "path", ",", "resource", "load", "class", ")", ")", ";" ]
[ "create", "json", "content", "from", "the", "specified", "json", "bytes" ]
[ "verify", "(", ")", ";", "return", "get", "json", "content", "(", "this", "loader", "get", "json", "(", "source", ")", ")", ";" ]
[ "create", "json", "content", "from", "the", "specified", "json", "file" ]
[ "verify", "(", ")", ";", "return", "get", "json", "content", "(", "this", "loader", "get", "json", "(", "source", ")", ")", ";" ]
[ "create", "json", "content", "from", "the", "specified", "json", "input", "stream" ]
[ "verify", "(", ")", ";", "return", "get", "json", "content", "(", "this", "loader", "get", "json", "(", "source", ")", ")", ";" ]
[ "create", "json", "content", "from", "the", "specified", "json", "resource" ]
[ "verify", "(", ")", ";", "return", "get", "json", "content", "(", "this", "loader", "get", "json", "(", "source", ")", ")", ";" ]
[ "push", "element", "x", "to", "the", "back", "of", "queue" ]
[ "stack", "push", "(", "x", ")", ";" ]
[ "removes", "the", "element", "from", "in", "front", "of", "queue", "and", "returns", "that", "element" ]
[ "stack", "<", "integer", ">", "aux", "stack", "=", "new", "stack", "<", ">", "(", ")", ";", "while", "(", "!", "stack", "is", "empty", "(", ")", ")", "{", "aux", "stack", "push", "(", "stack", "pop", "(", ")", ")", ";", "}", "int", "result", "=", "aux", "stack", "pop", "(", ")", ";", "while", "(", "!", "aux", "stack", "is", "empty", "(", ")", ")", "{", "stack", "push", "(", "aux", "stack", "pop", "(", ")", ")", ";", "}", "return", "result", ";" ]
[ "get", "the", "front", "element" ]
[ "stack", "<", "integer", ">", "aux", "stack", "=", "new", "stack", "<", ">", "(", ")", ";", "while", "(", "!", "stack", "is", "empty", "(", ")", ")", "{", "aux", "stack", "push", "(", "stack", "pop", "(", ")", ")", ";", "}", "int", "result", "=", "aux", "stack", "peek", "(", ")", ";", "while", "(", "!", "aux", "stack", "is", "empty", "(", ")", ")", "{", "stack", "push", "(", "aux", "stack", "pop", "(", ")", ")", ";", "}", "return", "result", ";" ]
[ "returns", "whether", "the", "queue", "is", "empty" ]
[ "return", "stack", "is", "empty", "(", ")", ";" ]
[ "todo", "implement", "object", "series" ]
[ "double", "[", "]", "values", "=", "new", "double", "[", "this", "rows", "size", "(", ")", "]", ";", "int", "i", "=", "0", ";", "for", "(", "object", "[", "]", "r", ":", "this", "rows", ")", "{", "values", "[", "i", "+", "+", "]", "=", "to", "double", "(", "r", "[", "column", "index", "]", ")", ";", "}", "return", "double", "series", "build", "from", "(", "values", ")", ";" ]
[ "returns", "a", "double", "series", "wrapping", "the", "values", "array" ]
[ "return", "double", "series", "build", "from", "(", "values", ")", ";" ]
[ "returns", "a", "long", "series", "wrapping", "the", "values", "array" ]
[ "return", "long", "series", "build", "from", "(", "values", ")", ";" ]
[ "returns", "a", "string", "series", "wrapping", "the", "values", "array" ]
[ "return", "string", "series", "build", "from", "(", "values", ")", ";" ]
[ "returns", "a", "boolean", "series", "wrapping", "the", "values", "array" ]
[ "return", "boolean", "series", "build", "from", "(", "values", ")", ";" ]
[ "returns", "a", "boolean", "series", "wrapping", "the", "values", "array", "(", "as", "converted", "to", "byte", ")" ]
[ "return", "boolean", "series", "builder", "(", ")", "add", "boolean", "values", "(", "values", ")", "build", "(", ")", ";" ]
[ "returns", "a", "object", "series", "wrapping", "the", "values", "array" ]
[ "return", "object", "series", "builder", "(", ")", "add", "values", "(", "values", ")", "build", "(", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "data", "frame" ]
[ "return", "new", "builder", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "data", "frame" ]
[ "return", "new", "builder", "(", "series", "names", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "double", "series" ]
[ "return", "double", "series", "builder", "(", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "long", "series" ]
[ "return", "long", "series", "builder", "(", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "string", "series" ]
[ "return", "string", "series", "builder", "(", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "boolean", "series" ]
[ "return", "boolean", "series", "builder", "(", ")", ";" ]
[ "returns", "a", "builder", "instance", "for", "object", "series" ]
[ "return", "object", "series", "builder", "(", ")", ";" ]
[ "sets", "the", "index", "name", "to", "the", "specified", "series", "name", "in", "-", "place" ]
[ "return", "this", "set", "index", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "sets", "the", "index", "name", "to", "the", "specified", "series", "name", "in", "-", "place" ]
[ "assert", "series", "exist", "(", "series", "names", ")", ";", "this", "index", "names", "clear", "(", ")", ";", "this", "index", "names", "add", "all", "(", "series", "names", ")", ";", "return", "this", ";" ]
[ "resets", "the", "index", "name", "to", "{", "@", "code", "null", "}", "in", "-", "place" ]
[ "this", "index", "names", "clear", "(", ")", ";", "return", "this", ";" ]
[ "returns", "the", "series", "referenced", "by", "index", "names" ]
[ "list", "<", "series", ">", "series", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "string", "name", ":", "this", "index", "names", ")", "series", "add", "(", "this", "get", "(", "name", ")", ")", ";", "return", "series", ";" ]
[ "returns", "{", "@", "code", "true", "}", "if", "a", "valid", "index", "name", "is", "set", "otherwise", "returns", "{", "@", "code", "false", "}" ]
[ "return", "!", "this", "index", "names", "is", "empty", "(", ")", ";" ]
[ "returns", "the", "series", "name", "of", "the", "index", "or", "{", "@", "code", "null", "}", "if", "no", "index", "name", "is", "set" ]
[ "return", "new", "array", "list", "<", ">", "(", "this", "index", "names", ")", ";" ]
[ "returns", "the", "row", "count", "of", "the", "data", "frame" ]
[ "if", "(", "this", "series", "is", "empty", "(", ")", ")", "return", "0", ";", "return", "this", "series", "values", "(", ")", "iterator", "(", ")", "next", "(", ")", "size", "(", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "sliced", "from", "index", "{", "@", "code", "from", "}", "(", "inclusive", ")", "to", "index", "{", "@", "code", "to", "}", "(", "exclusive", ")" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "df", "series", "clear", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "series", ">", "e", ":", "this", "series", "entry", "set", "(", ")", ")", "{", "df", "add", "series", "(", "e", "get", "key", "(", ")", ",", "e", "get", "value", "(", ")", "slice", "(", "from", ",", "to", ")", ")", ";", "}", "return", "df", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "any", "elements", "before", "index", "{", "@", "code", "n", "}", "if", "{", "@", "code", "n", "}", "is", "{", "@", "code", "0", "}", "the", "entire", "data", "frame", "is", "returned", "if", "{", "@", "code", "n", "}", "is", "greater", "than", "the", "data", "frame", "size", "an", "empty", "data", "frame", "is", "returned" ]
[ "return", "this", "slice", "(", "from", ",", "this", "size", "(", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "omitting", "any", "elements", "equal", "to", "or", "after", "index", "{", "@", "code", "n", "}", "if", "{", "@", "code", "n", "}", "is", "equal", "or", "greater", "than", "the", "data", "frame", "size", "the", "entire", "series", "is", "returned", "if", "{", "@", "code", "n", "}", "is", "{", "@", "code", "0", "}", "an", "empty", "data", "frame", "is", "returned" ]
[ "return", "this", "slice", "(", "0", ",", "to", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "including", "only", "the", "series", "in", "{", "@", "code", "series", "names", "}" ]
[ "return", "this", "slice", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "including", "only", "the", "series", "in", "{", "@", "code", "series", "names", "}" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", ")", ";", "list", "<", "string", ">", "index", "=", "new", "array", "list", "<", ">", "(", ")", ";", "df", "series", "clear", "(", ")", ";", "for", "(", "string", "name", ":", "series", "names", ")", "{", "df", "add", "series", "(", "name", ",", "this", "get", "(", "name", ")", "copy", "(", ")", ")", ";", "if", "(", "this", "index", "names", "contains", "(", "name", ")", ")", "index", "add", "(", "name", ")", ";", "}", "df", "set", "index", "(", "index", ")", ";", "return", "df", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "containing", "(", "up", "to", ")", "{", "@", "code", "n", "}", "first", "rows" ]
[ "return", "this", "slice", "(", "0", ",", "n", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "data", "frame", "containing", "(", "up", "to", ")", "{", "@", "code", "n", "}", "last", "rows" ]
[ "return", "this", "slice", "(", "this", "size", "(", ")", "-", "n", ",", "this", "size", "(", ")", ")", ";" ]
[ "returns", "{", "@", "code", "true", "}", "is", "the", "data", "frame", "does", "not", "hold", "any", "rows", "otherwise", "returns", "{", "@", "code", "false", "}" ]
[ "return", "this", "size", "(", ")", "<", "=", "0", ";" ]
[ "returns", "a", "deep", "copy", "of", "the", "data", "frame", "duplicates", "each", "series", "as", "well", "as", "the", "data", "frame", "itself", "<", "br", "/", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "use", "caution", "when", "applying", "this", "to", "large", "data", "frames" ]
[ "data", "frame", "df", "=", "new", "data", "frame", "(", "this", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "series", ">", "e", ":", "this", "series", "entry", "set", "(", ")", ")", "{", "df", "add", "series", "(", "e", "get", "key", "(", ")", ",", "e", "get", "value", "(", ")", "copy", "(", ")", ")", ";", "}", "return", "df", ";" ]
[ "adds", "a", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "wraps", "{", "@", "code", "values", "}", "with", "a", "series", "before", "adding", "it", "to", "the", "data", "frame", "with", "semantics", "similar", "to", "{", "@", "code", "add", "series", "(", "string", "series", "name", "series", "series", ")", "}" ]
[ "return", "add", "series", "(", "series", "name", ",", "data", "frame", "to", "series", "(", "values", ")", ")", ";" ]
[ "adds", "a", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "wraps", "{", "@", "code", "values", "}", "with", "a", "series", "before", "adding", "it", "to", "the", "data", "frame", "with", "semantics", "similar", "to", "{", "@", "code", "add", "series", "(", "string", "series", "name", "series", "series", ")", "}" ]
[ "return", "add", "series", "(", "series", "name", ",", "data", "frame", "to", "series", "(", "values", ")", ")", ";" ]
[ "adds", "a", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "wraps", "{", "@", "code", "values", "}", "with", "a", "series", "before", "adding", "it", "to", "the", "data", "frame", "with", "semantics", "similar", "to", "{", "@", "code", "add", "series", "(", "string", "series", "name", "series", "series", ")", "}" ]
[ "return", "add", "series", "(", "series", "name", ",", "data", "frame", "to", "series", "(", "values", ")", ")", ";" ]
[ "adds", "a", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "wraps", "{", "@", "code", "values", "}", "with", "a", "series", "before", "adding", "it", "to", "the", "data", "frame", "with", "semantics", "similar", "to", "{", "@", "code", "add", "series", "(", "string", "series", "name", "series", "series", ")", "}" ]
[ "return", "add", "series", "(", "series", "name", ",", "data", "frame", "to", "series", "(", "values", ")", ")", ";" ]
[ "adds", "a", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "wraps", "{", "@", "code", "values", "}", "with", "a", "series", "before", "adding", "it", "to", "the", "data", "frame", "with", "semantics", "similar", "to", "{", "@", "code", "add", "series", "(", "string", "series", "name", "series", "series", ")", "}" ]
[ "return", "add", "series", "(", "series", "name", ",", "data", "frame", "to", "series", "(", "values", ")", ")", ";" ]
[ "adds", "a", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "wraps", "{", "@", "code", "values", "}", "with", "a", "series", "before", "adding", "it", "to", "the", "data", "frame", "with", "semantics", "similar", "to", "{", "@", "code", "add", "series", "(", "string", "series", "name", "series", "series", ")", "}" ]
[ "return", "add", "series", "(", "series", "name", ",", "data", "frame", "to", "series", "objects", "(", "values", ")", ")", ";" ]
[ "adds", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "the", "series", "are", "copied", "from", "a", "source", "data", "frame", "and", "aligned", "based", "on", "the", "indexes", "if", "the", "indexes", "match", "the", "series", "are", "copied", "directly", "otherwise", "the", "method", "performs", "a", "left", "join", "to", "align", "series", "from", "the", "source", "with", "the", "destination", "s", "(", "this", ")", "index" ]
[ "return", "this", "add", "series", "(", "source", ",", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "adds", "new", "series", "to", "the", "data", "frame", "in", "-", "place", "all", "series", "from", "the", "source", "data", "frame", "(", "excluding", "the", "index", ")", "are", "added", "to", "the", "destination", "(", "this", ")", "with", "{", "@", "code", "add", "series", "(", "data", "frame", "source", "string", "series", "names", ")", "}", "semantics" ]
[ "collection", "<", "string", ">", "series", "names", "=", "new", "hash", "set", "<", ">", "(", "source", "get", "series", "names", "(", ")", ")", ";", "for", "(", "string", "name", ":", "source", "index", "names", ")", "series", "names", "remove", "(", "name", ")", ";", "return", "this", "add", "series", "(", "source", ",", "series", "names", ")", ";" ]
[ "removes", "a", "series", "from", "the", "data", "frame", "in", "-", "place" ]
[ "return", "this", "drop", "series", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "removes", "a", "series", "from", "the", "data", "frame", "in", "-", "place" ]
[ "assert", "series", "exist", "(", "series", "names", ")", ";", "for", "(", "string", "name", ":", "series", "names", ")", "{", "this", "series", "remove", "(", "name", ")", ";", "this", "index", "names", "remove", "(", "name", ")", ";", "}", "return", "this", ";" ]
[ "retains", "a", "series", "from", "the", "data", "frame", "in", "-", "place" ]
[ "return", "this", "retain", "series", "(", "arrays", "as", "list", "(", "series", "names", ")", ")", ";" ]
[ "retains", "a", "series", "from", "the", "data", "frame", "in", "-", "place" ]
[ "assert", "series", "exist", "(", "series", "names", ")", ";", "set", "<", "string", ">", "deleted", "=", "new", "hash", "set", "<", ">", "(", "this", "series", "key", "set", "(", ")", ")", ";", "deleted", "remove", "all", "(", "series", "names", ")", ";", "for", "(", "string", "name", ":", "deleted", ")", "{", "this", "series", "remove", "(", "name", ")", ";", "this", "index", "names", "remove", "(", "name", ")", ";", "}", "return", "this", ";" ]
[ "renames", "a", "series", "in", "the", "data", "frame", "in", "-", "place", "if", "a", "series", "with", "name", "{", "@", "code", "new", "name", "}", "already", "exists", "it", "is", "replaced", "by", "the", "series", "referenced", "by", "{", "@", "code", "old", "name", "}" ]
[ "series", "s", "=", "assert", "series", "exists", "(", "old", "name", ")", ";", "list", "<", "string", ">", "index", "names", "=", "new", "array", "list", "<", ">", "(", "this", "index", "names", ")", ";", "this", "drop", "series", "(", "old", "name", ")", "add", "series", "(", "new", "name", ",", "s", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "index", "names", "size", "(", ")", ";", "i", "+", "+", ")", "if", "(", "index", "names", "get", "(", "i", ")", "equals", "(", "old", "name", ")", ")", "index", "names", "set", "(", "i", ",", "new", "name", ")", ";", "this", "index", "names", "clear", "(", ")", ";", "this", "index", "names", "add", "all", "(", "index", "names", ")", ";", "return", "this", ";" ]
[ "converts", "a", "series", "in", "the", "data", "frame", "to", "a", "new", "type", "the", "data", "frame", "is", "modified", "in", "-", "place", "but", "the", "series", "is", "allocated", "new", "memory" ]
[ "this", "series", "put", "(", "series", "name", ",", "assert", "series", "exists", "(", "series", "name", ")", "get", "(", "type", ")", ")", ";", "return", "this", ";" ]
[ "returns", "the", "set", "of", "names", "of", "series", "contained", "in", "the", "data", "frame" ]
[ "return", "collections", "unmodifiable", "set", "(", "this", "series", "key", "set", "(", ")", ")", ";" ]
[ "returns", "a", "copy", "of", "the", "mapping", "of", "series", "names", "to", "series", "encapsulated", "by", "this", "data", "frame" ]
[ "return", "collections", "unmodifiable", "map", "(", "this", "series", ")", ";" ]
[ "returns", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", ";" ]
[ "returns", "{", "@", "code", "true", "}", "if", "the", "data", "frame", "contains", "a", "series", "{", "@", "code", "series", "name", "}", "otherwise", "return", "{", "@", "code", "false", "}" ]
[ "return", "this", "series", "contains", "key", "(", "series", "name", ")", ";" ]
[ "returns", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "if", "the", "series", "native", "type", "is", "not", "{", "@", "code", "double", "series", "}", "it", "is", "converted", "transparently" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", "get", "doubles", "(", ")", ";" ]
[ "returns", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "if", "the", "series", "native", "type", "is", "not", "{", "@", "code", "long", "series", "}", "it", "is", "converted", "transparently" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", "get", "longs", "(", ")", ";" ]
[ "returns", "the", "series", "referenced", "by", "{", "@", "code", "series", "name", "}", "if", "the", "series", "native", "type", "is", "not", "{", "@", "code", "string", "series", "}", "it", "is", "converted", "transparently" ]
[ "return", "assert", "series", "exists", "(", "series", "name", ")", "get", "strings", "(", ")", ";" ]