docstring_tokens
list
code_tokens
list
[ "creates", "a", "new", "note", "\\", "w", "given", "name", "adds", "n", "paragraphs", "\\", "w", "given", "texts" ]
[ "note", "note", "1", "=", "new", "note", "(", "note", "name", ")", ";", "for", "(", "string", "par", "text", ":", "par", "texts", ")", "{", "add", "paragraph", "with", "text", "(", "note", "1", ",", "par", "text", ")", ";", "}", "return", "note",...
[ "returns", "the", "level", "of", "the", "largest", "grid", "in", "which", "its", "longest", "side", "is", "less", "than", "or", "equal", "to", "the", "provided", "distance", "(", "in", "degrees", ")", "consequently", "{", "@", "code", "dist", "}", "acts"...
[ "public", "abstract", "int", "get", "level", "for", "distance", "(", "double", "dist", ")", ";" ]
[ "given", "a", "cell", "having", "the", "specified", "level", "returns", "the", "distance", "from", "opposite", "corners", "since", "this", "might", "vary", "depending", "on", "where", "the", "cell", "is", "this", "method", "may", "over", "-", "estimate" ]
[ "public", "abstract", "double", "get", "distance", "for", "level", "(", "int", "level", ")", ";" ]
[ "returns", "the", "level", "0", "cell", "which", "encompasses", "all", "spatial", "data", "equivalent", "to", "{" ]
[ "public", "abstract", "cell", "get", "world", "cell", "(", ")", ";" ]
[ "this", "creates", "a", "new", "cell", "(", "or", "re", "-", "using", "{" ]
[ "public", "abstract", "cell", "read", "cell", "(", "bytes", "ref", "term", ",", "cell", "scratch", ")", ";" ]
[ "adds", "a", "connector", "to", "the", "list", "of", "connectors", "to", "deploy" ]
[ "connectors", "add", "(", "connector", ")", ";" ]
[ "gets", "the", "default", "list", "of", "connectors", "to", "deploy", "when", "no", "connectors", "were", "explicitly", "added", "to", "the", "list" ]
[ "return", "default", "connectors", ";" ]
[ "returns", "true", "if", "field", "agent", "id", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "agent", "id", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "agent", "start", "time", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "org", "apache", "thrift", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "agentstarttime", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "api", "id", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "org", "apache", "thrift", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "apiid", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "api", "info", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "api", "info", "!", "=", "null", ";" ]
[ "return", "the", "line", "of", "the", "text", "resource", "where", "the", "property", "originated" ]
[ "return", "this", "line", ";" ]
[ "returns", "true", "if", "field", "line", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "org", "apache", "thrift", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "line", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "type", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "org", "apache", "thrift", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "type", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "corresponding", "to", "field", "i", "d", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "if", "(", "field", "=", "=", "null", ")", "{", "throw", "new", "java", "lang", "illegal", "argument", "exception", "(", ")", ";", "}", "switch", "(", "field", ")", "{", "case", "agent", "id", ":", "return", "is", "set", "agent", "id", "(", ")", ...
[ "reference", "jls", "14", "20", "3", "try", "-", "with", "-", "resources", "(", "https", ":", "/", "/", "docs", "oracle", "com", "/", "javase", "/", "specs", "/", "jls", "/", "se", "7", "/", "html", "/", "jls", "-", "14", "html", ")" ]
[ "if", "(", "!", "as", "boolean", "(", "try", "catch", "statement", "get", "resource", "statements", "(", ")", ")", ")", "{", "return", "try", "catch", "statement", ";", "}", "if", "(", "this", "is", "basic", "try", "with", "resources", "statement", "("...
[ "see", "https", ":", "/", "/", "docs", "oracle", "com", "/", "javase", "/", "specs", "/", "jls", "/", "se", "9", "/", "html", "/", "jls", "-", "14", "html", "14", "20", "3", "1", "basic", "try", "-", "with", "-", "resources" ]
[ "return", "new", "binary", "expression", "(", "new", "variable", "expression", "(", "gen", "resource", "name", "(", ")", ")", ",", "new", "symbol", "(", "types", "assign", ",", "-", "1", ",", "-", "1", ")", ",", "variable", "access", "expression", ")",...
[ "this", "method", "mimics", "emc", "behavior" ]
[ "if", "(", "expando", "meta", "class", "is", "valid", "expando", "property", "(", "property", ")", ")", "{", "if", "(", "property", "equals", "(", "expando", "meta", "class", "static", "qualifier", ")", "|", "|", "property", "equals", "(", "expando", "me...
[ "override", "to", "customize", "which", "item", "layout", "current", "layout", "res", "should", "be", "used", "you", "might", "also", "want", "to", "override", "{", "@", "link", "#", "can", "use", "palette", "(", ")", "}", "then" ]
[ "if", "(", "get", "grid", "size", "(", ")", ">", "get", "max", "grid", "size", "for", "list", "(", ")", ")", "{", "return", "r", "layout", "item", "grid", ";", "}", "return", "r", "layout", "item", "list", ";" ]
[ "get", "the", "configuration", "for", "a", "vendor" ]
[ "synchronized", "(", "s", "lock", ")", "{", "if", "(", "s", "configs", "=", "=", "null", ")", "{", "s", "configs", "=", "read", "vendor", "configs", "(", "context", ")", ";", "}", "return", "s", "configs", "get", "(", "name", ")", ";", "}" ]
[ "get", "all", "known", "vendor", "configurations" ]
[ "synchronized", "(", "s", "lock", ")", "{", "if", "(", "s", "configs", "=", "=", "null", ")", "{", "s", "configs", "=", "read", "vendor", "configs", "(", "context", ")", ";", "}", "return", "s", "configs", "values", "(", ")", ";", "}" ]
[ "read", "the", "text", "from", "a", "xml", "tag" ]
[ "string", "result", "=", "\"", "\"", ";", "if", "(", "parser", "next", "(", ")", "=", "=", "xml", "pull", "parser", "text", ")", "{", "result", "=", "parser", "get", "text", "(", ")", ";", "parser", "next", "tag", "(", ")", ";", "}", "return", ...
[ "timestamp", "of", "the", "element", "currently", "being", "processed", "or", "timestamp", "of", "a", "firing", "timer" ]
[ "public", "abstract", "long", "timestamp", "(", ")", ";" ]
[ "emits", "a", "record", "to", "the", "side", "output", "identified", "by", "the", "{", "@", "link", "output", "tag", "}" ]
[ "public", "abstract", "<", "x", ">", "void", "output", "(", "final", "output", "tag", "<", "x", ">", "output", "tag", ",", "final", "x", "value", ")", ";" ]
[ "returns", "the", "current", "processing", "time" ]
[ "public", "abstract", "long", "current", "processing", "time", "(", ")", ";" ]
[ "returns", "the", "current", "event", "-", "time", "watermark" ]
[ "public", "abstract", "long", "current", "watermark", "(", ")", ";" ]
[ "fetches", "the", "{", "@", "link", "broadcast", "state", "}", "with", "the", "specified", "name" ]
[ "public", "abstract", "<", "k", ",", "v", ">", "broadcast", "state", "<", "k", ",", "v", ">", "get", "broadcast", "state", "(", "final", "map", "state", "descriptor", "<", "k", ",", "v", ">", "state", "descriptor", ")", ";" ]
[ "fetches", "a", "read", "-", "only", "view", "of", "the", "broadcast", "state", "with", "the", "specified", "name" ]
[ "public", "abstract", "<", "k", ",", "v", ">", "read", "only", "broadcast", "state", "<", "k", ",", "v", ">", "get", "broadcast", "state", "(", "final", "map", "state", "descriptor", "<", "k", ",", "v", ">", "state", "descriptor", ")", ";" ]
[ "returns", "a", "{" ]
[ "return", "new", "count", "trigger", "policy", "<", ">", "(", "window", "config", "get", "sliding", "length", "(", ")", ",", "trigger", "handler", ",", "eviction", "policy", ")", ";" ]
[ "returns", "an", "{" ]
[ "return", "new", "count", "eviction", "policy", "<", ">", "(", "window", "config", "get", "window", "length", "(", ")", ")", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "null", ";" ]