docstring_tokens
list
code_tokens
list
[ "/", "*", "todo", ":", "improve", "this", "and", "other", "implementations", "and", "move", "out", "of", "this", "framework", "for", "wider", "use" ]
[ "helpers", "assert", "equal", "ignoring", "order", "(", "expected", ",", "actual", "contents", "(", ")", ")", ";" ]
[ "asserts", "that", "the", "collection", "under", "test", "contains", "exactly", "the", "elements", "it", "was", "initialized", "with", "plus", "the", "given", "elements", "according", "to", "{", "@", "link", "#", "expect", "contents", "(", "java", "util", "collection", ")", "}", "in", "other", "words", "for", "the", "default", "{", "@", "code", "expect", "contents", "(", ")", "}", "implementation", "the", "number", "of", "occurrences", "of", "each", "given", "element", "has", "increased", "by", "one", "since", "the", "test", "collection", "was", "created", "and", "the", "number", "of", "occurrences", "of", "all", "other", "elements", "has", "not", "changed" ]
[ "list", "<", "e", ">", "expected", "=", "helpers", "copy", "to", "list", "(", "get", "sample", "elements", "(", ")", ")", ";", "expected", "add", "all", "(", "arrays", "as", "list", "(", "elements", ")", ")", ";", "expect", "contents", "(", "expected", ")", ";" ]
[ "helper", "methods", "to", "improve", "readability", "of", "derived", "classes" ]
[ "return", "get", "subject", "generator", "(", ")", "get", "collection", "size", "(", ")", "get", "num", "elements", "(", ")", ";" ]
[ "returns", "the", "{" ]
[ "list", "<", "e", ">", "list", "=", "new", "array", "list", "<", "e", ">", "(", ")", ";", "for", "(", "e", "e", ":", "get", "subject", "generator", "(", ")", "order", "(", "new", "array", "list", "<", "e", ">", "(", "get", "sample", "elements", "(", ")", ")", ")", ")", "{", "list", "add", "(", "e", ")", ";", "}", "return", "collections", "unmodifiable", "list", "(", "list", ")", ";" ]
[ "returns", "a", "result", "of", "safe", "addition", "of", "two", "{" ]
[ "long", "res", "=", "(", "long", ")", "a", "+", "(", "long", ")", "b", ";", "return", "res", ">", "integer", "max", "value", "?", "integer", "max", "value", ":", "(", "int", ")", "res", ";" ]
[ "iterates", "through", "the", "stack", "trace", "looking", "for", "the", "actual", "cause", "of", "the", "deferred", "group", "exception", "these", "traces", "can", "be", "huge", "and", "truncated", "in", "the", "logs", "so", "it", "s", "really", "useful", "to", "be", "able", "to", "spit", "out", "the", "source" ]
[ "throwable", "ex", "=", "e", ";", "while", "(", "ex", "get", "class", "(", ")", "equals", "(", "deferred", "group", "exception", "class", ")", ")", "{", "if", "(", "ex", "get", "cause", "(", ")", "=", "=", "null", ")", "{", "break", ";", "}", "else", "{", "ex", "=", "ex", "get", "cause", "(", ")", ";", "}", "}", "return", "ex", ";" ]
[ "returns", "the", "som", "map", "grid" ]
[ "return", "neurons", ";" ]
[ "returns", "the", "u", "-", "matrix", "of", "som", "map", "for", "visualization" ]
[ "return", "umatrix", ";" ]
[ "returns", "the", "best", "matched", "unit", "for", "each", "sample" ]
[ "return", "bmu", ";" ]
[ "returns", "the", "number", "of", "samples", "in", "each", "unit" ]
[ "return", "voronoi", ";" ]
[ "clustering", "the", "neurons", "into", "k", "groups", "and", "then", "assigns", "the", "samples", "in", "each", "neuron", "to", "the", "corresponding", "cluster" ]
[ "int", "n", "=", "width", "*", "height", ";", "double", "[", "]", "[", "]", "units", "=", "new", "double", "[", "n", "]", "[", "d", "]", ";", "for", "(", "int", "i", "=", "0", ",", "l", "=", "0", ";", "i", "<", "height", ";", "i", "+", "+", ")", "{", "for", "(", "int", "j", "=", "0", ";", "j", "<", "width", ";", "j", "+", "+", ",", "l", "+", "+", ")", "{", "units", "[", "l", "]", "=", "neurons", "[", "i", "]", "[", "j", "]", ";", "}", "}", "double", "[", "]", "[", "]", "proximity", "=", "new", "double", "[", "n", "]", "[", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "+", "+", ")", "{", "proximity", "[", "i", "]", "=", "new", "double", "[", "i", "+", "1", "]", ";", "for", "(", "int", "j", "=", "0", ";", "j", "<", "i", ";", "j", "+", "+", ")", "{", "proximity", "[", "i", "]", "[", "j", "]", "=", "math", "distance", "(", "units", "[", "i", "]", ",", "units", "[", "j", "]", ")", ";", "}", "}", "linkage", "linkage", "=", "new", "u", "p", "g", "m", "a", "linkage", "(", "proximity", ")", ";", "hierarchical", "clustering", "hc", "=", "new", "hierarchical", "clustering", "(", "linkage", ")", ";", "y", "=", "hc", "partition", "(", "k", ")", ";", "int", "[", "]", "cluster", "=", "new", "int", "[", "bmu", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "cluster", "length", ";", "i", "+", "+", ")", "{", "cluster", "[", "i", "]", "=", "y", "[", "bmu", "[", "i", "]", "[", "0", "]", "*", "width", "+", "bmu", "[", "i", "]", "[", "1", "]", "]", ";", "}", "return", "cluster", ";" ]
[ "cluster", "a", "new", "instance", "to", "the", "nearest", "neuron", "for", "clustering", "purpose", "one", "should", "build", "a", "sufficient", "large", "map", "to", "capture", "the", "structure", "of", "data", "space", "then", "the", "neurons", "of", "map", "can", "be", "clustered", "into", "a", "small", "number", "of", "clusters", "finally", "the", "sample", "should", "be", "assign", "to", "the", "cluster", "of", "its", "nearest", "neurons" ]
[ "double", "best", "=", "double", "max", "value", ";", "int", "ii", "=", "-", "1", ",", "jj", "=", "-", "1", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "height", ";", "i", "+", "+", ")", "{", "for", "(", "int", "j", "=", "0", ";", "j", "<", "width", ";", "j", "+", "+", ")", "{", "double", "dist", "=", "math", "squared", "distance", "(", "neurons", "[", "i", "]", "[", "j", "]", ",", "x", ")", ";", "if", "(", "dist", "<", "best", ")", "{", "best", "=", "dist", ";", "ii", "=", "i", ";", "jj", "=", "j", ";", "}", "}", "}", "if", "(", "y", "=", "=", "null", ")", "{", "return", "ii", "*", "width", "+", "jj", ";", "}", "else", "{", "return", "y", "[", "ii", "*", "width", "+", "jj", "]", ";", "}" ]
[ "<", "code", ">", "bool", "mute", "=", "1", ";", "<", "/", "code", ">" ]
[ "return", "mute", ";" ]
[ "api" ]
[ "return", "uri", "builder", ";" ]
[ "<", "p", ">", "/", "proc", "/", "[", "pid", "]", "/", "cgroup", "(", "since", "linux", "2", "6", "24", ")", "<", "/", "p", ">" ]
[ "return", "cgroup", "get", "(", "pid", ")", ";" ]
[ "<", "p", ">", "/", "proc", "/", "[", "pid", "]", "/", "stat", "<", "/", "p", ">" ]
[ "return", "stat", "get", "(", "pid", ")", ";" ]
[ "<", "p", ">", "provides", "information", "about", "memory", "usage", "measured", "in", "pages", "<", "/", "p", ">" ]
[ "return", "statm", "get", "(", "pid", ")", ";" ]
[ "<", "p", ">", "/", "proc", "/", "[", "pid", "]", "/", "status", "<", "/", "p", ">" ]
[ "return", "status", "get", "(", "pid", ")", ";" ]
[ "return", "a", "reference", "to", "the", "internal", "array", "representing", "matrix", "values", "modifying", "this", "array", "will", "also", "change", "the", "matrix" ]
[ "return", "m", "mat", ";" ]
[ "returns", "the", "value", "for", "a", "given", "row", "and", "column" ]
[ "return", "m", "mat", "[", "x", "*", "3", "+", "y", "]", ";" ]
[ "sets", "the", "value", "for", "a", "given", "row", "and", "column" ]
[ "m", "mat", "[", "x", "*", "3", "+", "y", "]", "=", "v", ";" ]
[ "sets", "the", "matrix", "values", "to", "identity" ]
[ "m", "mat", "[", "0", "]", "=", "1", ";", "m", "mat", "[", "1", "]", "=", "0", ";", "m", "mat", "[", "2", "]", "=", "0", ";", "m", "mat", "[", "3", "]", "=", "0", ";", "m", "mat", "[", "4", "]", "=", "1", ";", "m", "mat", "[", "5", "]", "=", "0", ";", "m", "mat", "[", "6", "]", "=", "0", ";", "m", "mat", "[", "7", "]", "=", "0", ";", "m", "mat", "[", "8", "]", "=", "1", ";" ]
[ "sets", "the", "values", "of", "the", "matrix", "to", "those", "of", "the", "parameter" ]
[ "system", "arraycopy", "(", "src", "get", "array", "(", ")", ",", "0", ",", "m", "mat", ",", "0", ",", "m", "mat", "length", ")", ";" ]
[ "sets", "current", "values", "to", "be", "a", "rotation", "matrix", "of", "certain", "angle", "about", "a", "given", "axis" ]
[ "float", "c", ",", "s", ";", "rot", "*", "=", "(", "float", ")", "(", "java", "lang", "math", "pi", "/", "180", "0f", ")", ";", "c", "=", "(", "float", ")", "java", "lang", "math", "cos", "(", "rot", ")", ";", "s", "=", "(", "float", ")", "java", "lang", "math", "sin", "(", "rot", ")", ";", "float", "len", "=", "(", "float", ")", "java", "lang", "math", "sqrt", "(", "x", "*", "x", "+", "y", "*", "y", "+", "z", "*", "z", ")", ";", "if", "(", "!", "(", "len", "!", "=", "1", ")", ")", "{", "float", "recip", "len", "=", "1", "f", "/", "len", ";", "x", "*", "=", "recip", "len", ";", "y", "*", "=", "recip", "len", ";", "z", "*", "=", "recip", "len", ";", "}", "float", "nc", "=", "1", "0f", "-", "c", ";", "float", "xy", "=", "x", "*", "y", ";", "float", "yz", "=", "y", "*", "z", ";", "float", "zx", "=", "z", "*", "x", ";", "float", "xs", "=", "x", "*", "s", ";", "float", "ys", "=", "y", "*", "s", ";", "float", "zs", "=", "z", "*", "s", ";", "m", "mat", "[", "0", "]", "=", "x", "*", "x", "*", "nc", "+", "c", ";", "m", "mat", "[", "3", "]", "=", "xy", "*", "nc", "-", "zs", ";", "m", "mat", "[", "6", "]", "=", "zx", "*", "nc", "+", "ys", ";", "m", "mat", "[", "1", "]", "=", "xy", "*", "nc", "+", "zs", ";", "m", "mat", "[", "4", "]", "=", "y", "*", "y", "*", "nc", "+", "c", ";", "m", "mat", "[", "7", "]", "=", "yz", "*", "nc", "-", "xs", ";", "m", "mat", "[", "2", "]", "=", "zx", "*", "nc", "-", "ys", ";", "m", "mat", "[", "5", "]", "=", "yz", "*", "nc", "+", "xs", ";", "m", "mat", "[", "8", "]", "=", "z", "*", "z", "*", "nc", "+", "c", ";" ]
[ "makes", "the", "upper", "2x", "2", "a", "rotation", "matrix", "of", "the", "given", "angle" ]
[ "load", "identity", "(", ")", ";", "float", "c", ",", "s", ";", "rot", "*", "=", "(", "float", ")", "(", "java", "lang", "math", "pi", "/", "180", "0f", ")", ";", "c", "=", "(", "float", ")", "java", "lang", "math", "cos", "(", "rot", ")", ";", "s", "=", "(", "float", ")", "java", "lang", "math", "sin", "(", "rot", ")", ";", "m", "mat", "[", "0", "]", "=", "c", ";", "m", "mat", "[", "1", "]", "=", "-", "s", ";", "m", "mat", "[", "3", "]", "=", "s", ";", "m", "mat", "[", "4", "]", "=", "c", ";" ]
[ "makes", "the", "upper", "2x", "2", "a", "scale", "matrix", "of", "given", "dimensions" ]
[ "load", "identity", "(", ")", ";", "m", "mat", "[", "0", "]", "=", "x", ";", "m", "mat", "[", "4", "]", "=", "y", ";" ]
[ "sets", "current", "values", "to", "be", "a", "scale", "matrix", "of", "given", "dimensions" ]
[ "load", "identity", "(", ")", ";", "m", "mat", "[", "0", "]", "=", "x", ";", "m", "mat", "[", "4", "]", "=", "y", ";", "m", "mat", "[", "8", "]", "=", "z", ";" ]
[ "sets", "current", "values", "to", "be", "a", "translation", "matrix", "of", "given", "dimensions" ]
[ "load", "identity", "(", ")", ";", "m", "mat", "[", "6", "]", "=", "x", ";", "m", "mat", "[", "7", "]", "=", "y", ";" ]
[ "sets", "current", "values", "to", "be", "the", "result", "of", "multiplying", "two", "given", "matrices" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "3", ";", "i", "+", "+", ")", "{", "float", "ri", "0", "=", "0", ";", "float", "ri", "1", "=", "0", ";", "float", "ri", "2", "=", "0", ";", "for", "(", "int", "j", "=", "0", ";", "j", "<", "3", ";", "j", "+", "+", ")", "{", "float", "rhs", "ij", "=", "rhs", "get", "(", "i", ",", "j", ")", ";", "ri", "0", "+", "=", "lhs", "get", "(", "j", ",", "0", ")", "*", "rhs", "ij", ";", "ri", "1", "+", "=", "lhs", "get", "(", "j", ",", "1", ")", "*", "rhs", "ij", ";", "ri", "2", "+", "=", "lhs", "get", "(", "j", ",", "2", ")", "*", "rhs", "ij", ";", "}", "set", "(", "i", ",", "0", ",", "ri", "0", ")", ";", "set", "(", "i", ",", "1", ",", "ri", "1", ")", ";", "set", "(", "i", ",", "2", ",", "ri", "2", ")", ";", "}" ]
[ "post", "-", "multiplies", "the", "current", "matrix", "by", "a", "given", "parameter" ]
[ "matrix", "3f", "tmp", "=", "new", "matrix", "3f", "(", ")", ";", "tmp", "load", "multiply", "(", "this", ",", "rhs", ")", ";", "load", "(", "tmp", ")", ";" ]
[ "modifies", "the", "current", "matrix", "by", "post", "-", "multiplying", "it", "with", "a", "rotation", "matrix", "of", "certain", "angle", "about", "a", "given", "axis" ]
[ "matrix", "3f", "tmp", "=", "new", "matrix", "3f", "(", ")", ";", "tmp", "load", "rotate", "(", "rot", ",", "x", ",", "y", ",", "z", ")", ";", "multiply", "(", "tmp", ")", ";" ]
[ "modifies", "the", "upper", "2x", "2", "of", "the", "current", "matrix", "by", "post", "-", "multiplying", "it", "with", "a", "rotation", "matrix", "of", "given", "angle" ]
[ "matrix", "3f", "tmp", "=", "new", "matrix", "3f", "(", ")", ";", "tmp", "load", "rotate", "(", "rot", ")", ";", "multiply", "(", "tmp", ")", ";" ]
[ "modifies", "the", "upper", "2x", "2", "of", "the", "current", "matrix", "by", "post", "-", "multiplying", "it", "with", "a", "scale", "matrix", "of", "given", "dimensions" ]
[ "matrix", "3f", "tmp", "=", "new", "matrix", "3f", "(", ")", ";", "tmp", "load", "scale", "(", "x", ",", "y", ")", ";", "multiply", "(", "tmp", ")", ";" ]
[ "modifies", "the", "current", "matrix", "by", "post", "-", "multiplying", "it", "with", "a", "scale", "matrix", "of", "given", "dimensions" ]
[ "matrix", "3f", "tmp", "=", "new", "matrix", "3f", "(", ")", ";", "tmp", "load", "scale", "(", "x", ",", "y", ",", "z", ")", ";", "multiply", "(", "tmp", ")", ";" ]
[ "modifies", "the", "current", "matrix", "by", "post", "-", "multiplying", "it", "with", "a", "translation", "matrix", "of", "given", "dimensions" ]
[ "matrix", "3f", "tmp", "=", "new", "matrix", "3f", "(", ")", ";", "tmp", "load", "translate", "(", "x", ",", "y", ")", ";", "multiply", "(", "tmp", ")", ";" ]
[ "sets", "the", "current", "matrix", "to", "its", "transpose" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "2", ";", "+", "+", "i", ")", "{", "for", "(", "int", "j", "=", "i", "+", "1", ";", "j", "<", "3", ";", "+", "+", "j", ")", "{", "float", "temp", "=", "m", "mat", "[", "i", "*", "3", "+", "j", "]", ";", "m", "mat", "[", "i", "*", "3", "+", "j", "]", "=", "m", "mat", "[", "j", "*", "3", "+", "i", "]", ";", "m", "mat", "[", "j", "*", "3", "+", "i", "]", "=", "temp", ";", "}", "}" ]
[ "<", "p", ">", "the", "node", "type", "that", "the", "cluster", "will", "have", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">" ]
[ "this", "target", "node", "type", "=", "target", "node", "type", ";" ]
[ "<", "p", ">", "the", "node", "type", "that", "the", "cluster", "will", "have", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">" ]
[ "return", "this", "target", "node", "type", ";" ]
[ "<", "p", ">", "the", "node", "type", "that", "the", "cluster", "will", "have", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">" ]
[ "set", "target", "node", "type", "(", "target", "node", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "nodes", "that", "the", "cluster", "will", "have", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">" ]
[ "this", "target", "number", "of", "nodes", "=", "target", "number", "of", "nodes", ";" ]
[ "<", "p", ">", "the", "number", "of", "nodes", "that", "the", "cluster", "will", "have", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">" ]
[ "return", "this", "target", "number", "of", "nodes", ";" ]
[ "<", "p", ">", "the", "number", "of", "nodes", "that", "the", "cluster", "will", "have", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">" ]
[ "set", "target", "number", "of", "nodes", "(", "target", "number", "of", "nodes", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "cluster", "type", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "multi", "-", "node", "<", "/", "code", ">", "|", "<", "code", ">", "single", "-", "node", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "target", "cluster", "type", "=", "target", "cluster", "type", ";" ]
[ "<", "p", ">", "the", "cluster", "type", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "multi", "-", "node", "<", "/", "code", ">", "|", "<", "code", ">", "single", "-", "node", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "return", "this", "target", "cluster", "type", ";" ]
[ "<", "p", ">", "the", "cluster", "type", "after", "the", "resize", "operation", "is", "complete", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "multi", "-", "node", "<", "/", "code", ">", "|", "<", "code", ">", "single", "-", "node", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "target", "cluster", "type", "(", "target", "cluster", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "resize", "operation", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "none", "<", "/", "code", ">", "|", "<", "code", ">", "in", "progress", "<", "/", "code", ">", "|", "<", "code", ">", "failed", "<", "/", "code", ">", "|", "<", "code", ">", "succeeded", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "status", "(", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "been", "completely", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "if", "(", "import", "tables", "completed", "=", "=", "null", ")", "{", "import", "tables", "completed", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", ")", ";", "}", "return", "import", "tables", "completed", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "been", "completely", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "if", "(", "import", "tables", "completed", "=", "=", "null", ")", "{", "this", "import", "tables", "completed", "=", "null", ";", "return", ";", "}", "this", "import", "tables", "completed", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "import", "tables", "completed", ")", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "been", "completely", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "import", "tables", "completed", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "import", "tables", "completed", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "import", "tables", "completed", "=", "=", "null", ")", "{", "set", "import", "tables", "completed", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "import", "tables", "completed", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "import", "tables", "completed", ")", "{", "this", "import", "tables", "completed", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "been", "completely", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "set", "import", "tables", "completed", "(", "import", "tables", "completed", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "are", "being", "currently", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "if", "(", "import", "tables", "in", "progress", "=", "=", "null", ")", "{", "import", "tables", "in", "progress", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", ")", ";", "}", "return", "import", "tables", "in", "progress", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "are", "being", "currently", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "if", "(", "import", "tables", "in", "progress", "=", "=", "null", ")", "{", "this", "import", "tables", "in", "progress", "=", "null", ";", "return", ";", "}", "this", "import", "tables", "in", "progress", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "import", "tables", "in", "progress", ")", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "are", "being", "currently", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "import", "tables", "in", "progress", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "import", "tables", "in", "progress", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "import", "tables", "in", "progress", "=", "=", "null", ")", "{", "set", "import", "tables", "in", "progress", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "import", "tables", "in", "progress", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "import", "tables", "in", "progress", ")", "{", "this", "import", "tables", "in", "progress", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "are", "being", "currently", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "set", "import", "tables", "in", "progress", "(", "import", "tables", "in", "progress", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "not", "been", "yet", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "if", "(", "import", "tables", "not", "started", "=", "=", "null", ")", "{", "import", "tables", "not", "started", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", ")", ";", "}", "return", "import", "tables", "not", "started", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "not", "been", "yet", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "if", "(", "import", "tables", "not", "started", "=", "=", "null", ")", "{", "this", "import", "tables", "not", "started", "=", "null", ";", "return", ";", "}", "this", "import", "tables", "not", "started", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "import", "tables", "not", "started", ")", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "not", "been", "yet", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "import", "tables", "not", "started", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "import", "tables", "not", "started", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "import", "tables", "not", "started", "=", "=", "null", ")", "{", "set", "import", "tables", "not", "started", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "import", "tables", "not", "started", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "import", "tables", "not", "started", ")", "{", "this", "import", "tables", "not", "started", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "tables", "that", "have", "not", "been", "yet", "imported", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "list", "of", "table", "names", "<", "/", "p", ">" ]
[ "set", "import", "tables", "not", "started", "(", "import", "tables", "not", "started", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "average", "rate", "of", "the", "resize", "operation", "over", "the", "last", "few", "minutes", "measured", "in", "megabytes", "per", "second", "after", "the", "resize", "operation", "completes", "this", "value", "shows", "the", "average", "rate", "of", "the", "entire", "resize", "operation", "<", "/", "p", ">" ]
[ "this", "avg", "resize", "rate", "in", "mega", "bytes", "per", "second", "=", "avg", "resize", "rate", "in", "mega", "bytes", "per", "second", ";" ]
[ "<", "p", ">", "the", "average", "rate", "of", "the", "resize", "operation", "over", "the", "last", "few", "minutes", "measured", "in", "megabytes", "per", "second", "after", "the", "resize", "operation", "completes", "this", "value", "shows", "the", "average", "rate", "of", "the", "entire", "resize", "operation", "<", "/", "p", ">" ]
[ "return", "this", "avg", "resize", "rate", "in", "mega", "bytes", "per", "second", ";" ]
[ "<", "p", ">", "the", "average", "rate", "of", "the", "resize", "operation", "over", "the", "last", "few", "minutes", "measured", "in", "megabytes", "per", "second", "after", "the", "resize", "operation", "completes", "this", "value", "shows", "the", "average", "rate", "of", "the", "entire", "resize", "operation", "<", "/", "p", ">" ]
[ "set", "avg", "resize", "rate", "in", "mega", "bytes", "per", "second", "(", "avg", "resize", "rate", "in", "mega", "bytes", "per", "second", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "estimated", "total", "amount", "of", "data", "in", "megabytes", "on", "the", "cluster", "before", "the", "resize", "operation", "began", "<", "/", "p", ">" ]
[ "this", "total", "resize", "data", "in", "mega", "bytes", "=", "total", "resize", "data", "in", "mega", "bytes", ";" ]
[ "<", "p", ">", "the", "estimated", "total", "amount", "of", "data", "in", "megabytes", "on", "the", "cluster", "before", "the", "resize", "operation", "began", "<", "/", "p", ">" ]
[ "return", "this", "total", "resize", "data", "in", "mega", "bytes", ";" ]
[ "<", "p", ">", "the", "estimated", "total", "amount", "of", "data", "in", "megabytes", "on", "the", "cluster", "before", "the", "resize", "operation", "began", "<", "/", "p", ">" ]
[ "set", "total", "resize", "data", "in", "mega", "bytes", "(", "total", "resize", "data", "in", "mega", "bytes", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "megabytes", "that", "have", "been", "transferred", "from", "snapshot", "storage", "<", "/", "p", ">" ]
[ "this", "progress", "in", "mega", "bytes", "=", "progress", "in", "mega", "bytes", ";" ]
[ "<", "p", ">", "the", "number", "of", "megabytes", "that", "have", "been", "transferred", "from", "snapshot", "storage", "<", "/", "p", ">" ]
[ "return", "this", "progress", "in", "mega", "bytes", ";" ]
[ "<", "p", ">", "while", "the", "resize", "operation", "is", "in", "progress", "this", "value", "shows", "the", "current", "amount", "of", "data", "in", "megabytes", "that", "has", "been", "processed", "so", "far", "when", "the", "resize", "operation", "is", "complete", "this", "value", "shows", "the", "total", "amount", "of", "data", "in", "megabytes", "on", "the", "cluster", "which", "may", "be", "more", "or", "less", "than", "total", "resize", "data", "in", "mega", "bytes", "(", "the", "estimated", "total", "amount", "of", "data", "before", "resize", ")", "<", "/", "p", ">" ]
[ "set", "progress", "in", "mega", "bytes", "(", "progress", "in", "mega", "bytes", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "amount", "of", "time", "an", "in", "-", "progress", "restore", "has", "been", "running", "or", "the", "amount", "of", "time", "it", "took", "a", "completed", "restore", "to", "finish", "<", "/", "p", ">" ]
[ "this", "elapsed", "time", "in", "seconds", "=", "elapsed", "time", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "amount", "of", "time", "an", "in", "-", "progress", "restore", "has", "been", "running", "or", "the", "amount", "of", "time", "it", "took", "a", "completed", "restore", "to", "finish", "<", "/", "p", ">" ]
[ "return", "this", "elapsed", "time", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "amount", "of", "seconds", "that", "have", "elapsed", "since", "the", "resize", "operation", "began", "after", "the", "resize", "operation", "completes", "this", "value", "shows", "the", "total", "actual", "time", "in", "seconds", "for", "the", "resize", "operation", "<", "/", "p", ">" ]
[ "set", "elapsed", "time", "in", "seconds", "(", "elapsed", "time", "in", "seconds", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "estimate", "of", "the", "time", "remaining", "before", "the", "restore", "will", "complete", "returns", "0", "for", "a", "completed", "restore", "<", "/", "p", ">" ]
[ "this", "estimated", "time", "to", "completion", "in", "seconds", "=", "estimated", "time", "to", "completion", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "estimate", "of", "the", "time", "remaining", "before", "the", "restore", "will", "complete", "returns", "0", "for", "a", "completed", "restore", "<", "/", "p", ">" ]
[ "return", "this", "estimated", "time", "to", "completion", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "estimated", "time", "remaining", "in", "seconds", "until", "the", "resize", "operation", "is", "complete", "this", "value", "is", "calculated", "based", "on", "the", "average", "resize", "rate", "and", "the", "estimated", "amount", "of", "data", "remaining", "to", "be", "processed", "once", "the", "resize", "operation", "is", "complete", "this", "value", "will", "be", "0", "<", "/", "p", ">" ]
[ "set", "estimated", "time", "to", "completion", "in", "seconds", "(", "estimated", "time", "to", "completion", "in", "seconds", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "enum", "with", "possible", "values", "of", "classic", "resize", "and", "elastic", "resize", "these", "values", "describe", "the", "type", "of", "resize", "operation", "being", "performed", "<", "/", "p", ">" ]
[ "this", "resize", "type", "=", "resize", "type", ";" ]
[ "<", "p", ">", "an", "enum", "with", "possible", "values", "of", "classic", "resize", "and", "elastic", "resize", "these", "values", "describe", "the", "type", "of", "resize", "operation", "being", "performed", "<", "/", "p", ">" ]
[ "return", "this", "resize", "type", ";" ]
[ "<", "p", ">", "an", "enum", "with", "possible", "values", "of", "classic", "resize", "and", "elastic", "resize", "these", "values", "describe", "the", "type", "of", "resize", "operation", "being", "performed", "<", "/", "p", ">" ]
[ "set", "resize", "type", "(", "resize", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "optional", "string", "to", "provide", "additional", "details", "about", "the", "resize", "action", "<", "/", "p", ">" ]
[ "set", "message", "(", "message", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "encryption", "for", "the", "cluster", "after", "the", "resize", "is", "complete", "<", "/", "p", ">", "<", "p", ">", "possible", "values", "are", "<", "code", ">", "kms", "<", "/", "code", ">", "and", "<", "code", ">", "none", "<", "/", "code", ">", "in", "the", "china", "region", "possible", "values", "are", ":", "<", "code", ">", "legacy", "<", "/", "code", ">", "and", "<", "code", ">", "none", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "target", "encryption", "type", "=", "target", "encryption", "type", ";" ]
[ "<", "p", ">", "the", "type", "of", "encryption", "for", "the", "cluster", "after", "the", "resize", "is", "complete", "<", "/", "p", ">", "<", "p", ">", "possible", "values", "are", "<", "code", ">", "kms", "<", "/", "code", ">", "and", "<", "code", ">", "none", "<", "/", "code", ">", "in", "the", "china", "region", "possible", "values", "are", ":", "<", "code", ">", "legacy", "<", "/", "code", ">", "and", "<", "code", ">", "none", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "return", "this", "target", "encryption", "type", ";" ]
[ "<", "p", ">", "the", "type", "of", "encryption", "for", "the", "cluster", "after", "the", "resize", "is", "complete", "<", "/", "p", ">", "<", "p", ">", "possible", "values", "are", "<", "code", ">", "kms", "<", "/", "code", ">", "and", "<", "code", ">", "none", "<", "/", "code", ">", "in", "the", "china", "region", "possible", "values", "are", ":", "<", "code", ">", "legacy", "<", "/", "code", ">", "and", "<", "code", ">", "none", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "target", "encryption", "type", "(", "target", "encryption", "type", ")", ";", "return", "this", ";" ]
[ "get", "reference", "signal", "received", "quality" ]
[ "return", "m", "rsrq", ";" ]
[ "get", "reference", "signal", "signal", "-", "to", "-", "noise", "ratio" ]
[ "return", "m", "rssnr", ";" ]
[ "get", "reference", "signal", "received", "power", "in", "d", "bm" ]
[ "return", "m", "rsrp", ";" ]
[ "get", "channel", "quality", "indicator" ]
[ "return", "m", "cqi", ";" ]
[ "get", "signal", "strength", "in", "d", "bm" ]
[ "return", "m", "rsrp", ";" ]
[ "get", "the", "gsm", "timing", "advance", "between", "0", "219", "symbols", "(", "normally", "0", "63", ")", "integer", "max", "value", "is", "reported", "when", "there", "is", "no", "rr", "connection", "refer", "to", "3gpp", "45", "010", "sec", "5", "8" ]
[ "return", "m", "timing", "advance", ";" ]
[ "log" ]
[ "rlog", "w", "(", "log", "tag", ",", "s", ")", ";" ]
[ "the", "id", "of", "the", "core", "definition" ]
[ "this", "core", "definition", "id", "=", "core", "definition", "id", ";" ]
[ "the", "id", "of", "the", "core", "definition" ]
[ "return", "this", "core", "definition", "id", ";" ]
[ "the", "id", "of", "the", "core", "definition" ]
[ "set", "core", "definition", "id", "(", "core", "definition", "id", ")", ";", "return", "this", ";" ]
[ "the", "id", "of", "the", "core", "definition", "version" ]
[ "this", "core", "definition", "version", "id", "=", "core", "definition", "version", "id", ";" ]
[ "the", "id", "of", "the", "core", "definition", "version" ]
[ "return", "this", "core", "definition", "version", "id", ";" ]
[ "the", "id", "of", "the", "core", "definition", "version" ]
[ "set", "core", "definition", "version", "id", "(", "core", "definition", "version", "id", ")", ";", "return", "this", ";" ]
[ "makes", "a", "random", "cache", "entry" ]
[ "random", "random", "=", "new", "random", "(", ")", ";", "cache", "entry", "entry", "=", "new", "cache", "entry", "(", ")", ";", "if", "(", "data", "!", "=", "null", ")", "{", "entry", "data", "=", "data", ";", "}", "else", "{", "entry", "data", "=", "new", "byte", "[", "random", "next", "int", "(", "1024", ")", "]", ";", "}", "entry", "etag", "=", "string", "value", "of", "(", "random", "next", "long", "(", ")", ")", ";", "entry", "last", "modified", "=", "random", "next", "long", "(", ")", ";", "entry", "ttl", "=", "is", "expired", "?", "0", ":", "long", "max", "value", ";", "entry", "soft", "ttl", "=", "needs", "refresh", "?", "0", ":", "long", "max", "value", ";", "return", "entry", ";" ]
[ "like", "{" ]
[ "return", "make", "random", "cache", "entry", "(", "data", ",", "false", ",", "false", ")", ";" ]
[ "returns", "true", "if", "field", "port", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "port", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "uptime", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "uptime", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "topology", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "topology", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "tasks", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "tasks", "!", "=", "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", "port", ":", "return", "is", "set", "port", "(", ")", ";", "case", "uptime", ":", "return", "is", "set", "uptime", "(", ")", ";", "case", "topology", ":", "return", "is", "set", "topology", "(", ")", ";", "case", "tasks", ":", "return", "is", "set", "tasks", "(", ")", ";", "}", "throw", "new", "illegal", "state", "exception", "(", ")", ";" ]