docstring_tokens
list
code_tokens
list
[ "format", "the", "ranges", "of", "the", "given", "document" ]
[ "style", "style", "=", "google", "java", "format", "settings", "get", "instance", "(", "get", "project", "(", ")", ")", "get", "style", "(", ")", ";", "formatter", "formatter", "=", "new", "formatter", "(", "java", "formatter", "options", "builder", "(", ")", "style", "(", "style", ")", "build", "(", ")", ")", ";", "perform", "replacements", "(", "document", ",", "formatter", "util", "get", "replacements", "(", "formatter", ",", "document", "get", "text", "(", ")", ",", "ranges", ")", ")", ";" ]
[ "get", "information", "about", "all", "registered", "{", "@", "link", "index", "provider", "}", "s" ]
[ "immutable", "map", "builder", "<", "string", ",", "index", "information", ">", "copy", "=", "immutable", "map", "builder", "(", ")", ";", "copy", "put", "all", "(", "indexes", ")", ";", "return", "copy", "build", "(", ")", ";" ]
[ "returns", "the", "{", "@", "link", "store", "features", "}", "of", "the", "configured", "backend", "storage", "engine" ]
[ "return", "store", "features", ";" ]
[ "returns", "the", "{" ]
[ "return", "maps", "transform", "values", "(", "indexes", ",", "new", "function", "<", "index", "provider", ",", "index", "features", ">", "(", ")", "{", "@", "nullable", "@", "override", "public", "index", "features", "apply", "(", "@", "nullable", "index", "provider", "index", "provider", ")", "{", "return", "index", "provider", "get", "features", "(", ")", ";", "}", "}", ")", ";" ]
[ "serialize", "a", "record", "with", "tag", "(", "ususally", "field", "name", ")" ]
[ "public", "abstract", "void", "serialize", "(", "record", "output", "rout", ",", "string", "tag", ")", "throws", "i", "o", "exception", ";" ]
[ "deserialize", "a", "record", "with", "a", "tag", "(", "usually", "field", "name", ")" ]
[ "public", "abstract", "void", "deserialize", "(", "record", "input", "rin", ",", "string", "tag", ")", "throws", "i", "o", "exception", ";" ]
[ "inheric", "javadoc" ]
[ "@", "override", "public", "abstract", "int", "compare", "to", "(", "final", "object", "peer", ")", "throws", "class", "cast", "exception", ";" ]
[ "serialize", "a", "record", "without", "a", "tag" ]
[ "this", "serialize", "(", "rout", ",", "\"", "\"", ")", ";" ]
[ "deserialize", "a", "record", "without", "a", "tag" ]
[ "this", "deserialize", "(", "rin", ",", "\"", "\"", ")", ";" ]
[ "inherit", "javadoc" ]
[ "binary", "record", "output", "bout", "=", "binary", "record", "output", "get", "(", "out", ")", ";", "this", "serialize", "(", "bout", ")", ";" ]
[ "inherit", "javadoc" ]
[ "binary", "record", "input", "rin", "=", "binary", "record", "input", "get", "(", "din", ")", ";", "this", "deserialize", "(", "rin", ")", ";" ]
[ "builds", "{", "@", "link", "b", "bean", "}" ]
[ "protected", "abstract", "b", "do", "build", "(", ")", ";" ]
[ "resolves", "the", "bean", "name", "of", "{", "@", "link", "module", "config", "}" ]
[ "protected", "abstract", "string", "resolve", "module", "config", "bean", "name", "(", "a", "annotation", ")", ";" ]
[ "resolves", "the", "bean", "name", "of", "{", "@", "link", "application", "config", "}" ]
[ "protected", "abstract", "string", "resolve", "application", "config", "bean", "name", "(", "a", "annotation", ")", ";" ]
[ "resolves", "the", "bean", "ids", "of", "{", "@", "link", "org", "apache", "dubbo", "config", "registry", "config", "}" ]
[ "protected", "abstract", "string", "[", "]", "resolve", "registry", "config", "bean", "names", "(", "a", "annotation", ")", ";" ]
[ "resolves", "the", "bean", "name", "of", "{", "@", "link", "monitor", "config", "}" ]
[ "protected", "abstract", "string", "resolve", "monitor", "config", "bean", "name", "(", "a", "annotation", ")", ";" ]
[ "configures", "bean" ]
[ "protected", "abstract", "void", "post", "configure", "bean", "(", "a", "annotation", ",", "b", "bean", ")", "throws", "exception", ";" ]
[ "not", "for", "application", "use" ]
[ "return", "new", "box", "store", "builder", "(", ")", ";" ]
[ "sets", "the", "maximum", "number", "of", "concurrent", "readers", "for", "most", "applications", "the", "default", "is", "fine", "(", "&", "gt", ";", "100", "readers", ")", "<", "p", ">", "a", "reader", "is", "short", "for", "a", "thread", "involved", "in", "a", "read", "transaction", "<", "p", ">", "if", "you", "hit", "{" ]
[ "this", "max", "readers", "=", "max", "readers", ";", "return", "this", ";" ]
[ "sets", "the", "maximum", "size", "the", "database", "file", "can", "grow", "to", "by", "default", "this", "is", "1", "gb", "which", "should", "be", "sufficient", "for", "most", "applications", "<", "p", ">", "in", "general", "a", "maximum", "size", "prevents", "the", "db", "from", "growing", "indefinitely", "when", "something", "goes", "wrong", "(", "for", "example", "you", "insert", "data", "in", "an", "infinite", "loop", ")" ]
[ "this", "max", "size", "in", "k", "byte", "=", "max", "size", "in", "k", "byte", ";", "return", "this", ";" ]
[ "debug", "flags", "typically", "enable", "additional", "logging", "see", "{" ]
[ "this", "debug", "flags", "=", "debug", "flags", ";", "return", "this", ";" ]
[ "enables", "some", "debug", "logging", "for", "relations" ]
[ "this", "debug", "relations", "=", "true", ";", "return", "this", ";" ]
[ "define", "a", "callback", "for", "failed", "read", "transactions", "during", "retires", "(", "see", "also", "{" ]
[ "this", "failed", "read", "tx", "attempt", "callback", "=", "failed", "read", "tx", "attempt", "callback", ";", "return", "this", ";" ]
[ "let", "s", "you", "specify", "an", "db", "file", "to", "be", "used", "during", "initial", "start", "of", "the", "app", "(", "no", "db", "file", "exists", "yet", ")" ]
[ "return", "initial", "db", "file", "(", "new", "factory", "<", "input", "stream", ">", "(", ")", "{", "@", "override", "public", "input", "stream", "provide", "(", ")", "throws", "file", "not", "found", "exception", "{", "return", "new", "file", "input", "stream", "(", "initial", "db", "file", ")", ";", "}", "}", ")", ";" ]
[ "let", "s", "you", "specify", "a", "provider", "for", "a", "db", "file", "to", "be", "used", "during", "initial", "start", "of", "the", "app", "(", "no", "db", "file", "exists", "yet", ")", "the", "provider", "will", "only", "be", "called", "if", "no", "db", "file", "exists", "yet" ]
[ "this", "initial", "db", "file", "factory", "=", "initial", "db", "file", "factory", ";", "return", "this", ";" ]
[ "builds", "a", "{" ]
[ "if", "(", "directory", "=", "=", "null", ")", "{", "name", "=", "db", "name", "(", "name", ")", ";", "directory", "=", "get", "db", "dir", "(", "base", "directory", ",", "name", ")", ";", "}", "check", "provision", "initial", "db", "file", "(", ")", ";", "return", "new", "box", "store", "(", "this", ")", ";" ]
[ "builds", "the", "default", "{" ]
[ "box", "store", "store", "=", "build", "(", ")", ";", "box", "store", "set", "default", "(", "store", ")", ";", "return", "store", ";" ]
[ "the", "configured", "transformers" ]
[ "this", "transformers", "=", "transformers", ";" ]
[ "returns", "true", "if", "a", "given", "attribute", "should", "be", "processed" ]
[ "@", "override", "public", "abstract", "boolean", "apply", "(", "attribute", "info", "provider", "info", "provider", ",", "attribute", "attribute", ")", ";" ]
[ "returns", "a", "predicate", "that", "computes", "the", "logical", "and", "of", "the", "two", "given", "predicates" ]
[ "return", "new", "dependency", "filter", "(", ")", "{", "@", "override", "public", "boolean", "apply", "(", "attribute", "info", "provider", "info", "provider", ",", "attribute", "attribute", ")", "{", "return", "a", "apply", "(", "info", "provider", ",", "attribute", ")", "&", "&", "b", "apply", "(", "info", "provider", ",", "attribute", ")", ";", "}", "}", ";" ]
[ "return", "the", "response", "status", "code" ]
[ "public", "abstract", "int", "get", "status", "code", "(", ")", ";" ]
[ "return", "the", "response", "status", "text" ]
[ "public", "abstract", "string", "get", "status", "text", "(", ")", ";" ]
[ "protocol", "name", "from", "status", "line" ]
[ "public", "abstract", "string", "get", "protocol", "name", "(", ")", ";" ]
[ "protocol", "major", "version" ]
[ "public", "abstract", "int", "get", "protocol", "major", "version", "(", ")", ";" ]
[ "protocol", "minor", "version" ]
[ "public", "abstract", "int", "get", "protocol", "minor", "version", "(", ")", ";" ]
[ "full", "protocol", "name", "+", "version" ]
[ "public", "abstract", "string", "get", "protocol", "text", "(", ")", ";" ]
[ "get", "remote", "address", "client", "initiated", "request", "to" ]
[ "public", "abstract", "socket", "address", "get", "remote", "address", "(", ")", ";" ]
[ "code", "followed", "by", "text" ]
[ "return", "get", "status", "code", "(", ")", "+", "\"", "\"", "+", "get", "status", "text", "(", ")", ";" ]
[ "returns", "the", "list", "of", "analytics", "configurations", "for", "a", "bucket" ]
[ "return", "analytics", "configuration", "list", ";" ]
[ "sets", "the", "list", "of", "analytics", "configurations", "for", "a", "bucket" ]
[ "this", "analytics", "configuration", "list", "=", "analytics", "configuration", "list", ";" ]
[ "sets", "the", "list", "of", "analytics", "configurations", "for", "a", "bucket", "and", "returns", "{" ]
[ "set", "analytics", "configuration", "list", "(", "analytics", "configuration", "list", ")", ";", "return", "this", ";" ]
[ "for", "internal", "use", "only", "sets", "the", "truncated", "property", "for", "this", "analytics", "configuration", "listing", "indicating", "if", "this", "is", "a", "complete", "listing", "or", "not", "and", "whether", "the", "caller", "needs", "to", "make", "additional", "calls", "to", "s3", "to", "get", "more", "results" ]
[ "set", "truncated", "(", "is", "truncated", ")", ";", "return", "this", ";" ]
[ "sets", "the", "optional", "continuation", "token", "continuation", "token", "allows", "a", "list", "to", "be", "continued", "from", "a", "specific", "point", "this", "is", "the", "continuation", "token", "that", "was", "sent", "in", "the", "current", "{", "@", "link", "list", "bucket", "analytics", "configurations", "request", "}" ]
[ "set", "continuation", "token", "(", "continuation", "token", ")", ";", "return", "this", ";" ]
[ "sets", "the", "optional", "next", "continuation", "token", "next", "continuation", "token", "is", "sent", "when", "is", "truncated", "is", "true", "meaning", "there", "are", "more", "keys", "in", "the", "bucket", "that", "can", "be", "listed", "the", "next", "list", "requests", "to", "amazon", "s3", "can", "be", "continued", "by", "providing", "this", "next", "continuation", "token" ]
[ "set", "next", "continuation", "token", "(", "next", "continuation", "token", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "i", "ds", "of", "the", "convertible", "reserved", "instances", "to", "exchange", "for", "another", "convertible", "reserved", "instance", "of", "the", "same", "or", "higher", "value", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "reserved", "instance", "ids", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "reserved", "instance", "ids", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "reserved", "instance", "ids", "=", "=", "null", ")", "{", "set", "reserved", "instance", "ids", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "reserved", "instance", "ids", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "reserved", "instance", "ids", ")", "{", "this", "reserved", "instance", "ids", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "i", "ds", "of", "the", "convertible", "reserved", "instances", "to", "exchange", "for", "another", "convertible", "reserved", "instance", "of", "the", "same", "or", "higher", "value", "<", "/", "p", ">" ]
[ "set", "reserved", "instance", "ids", "(", "reserved", "instance", "ids", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "configuration", "of", "the", "target", "convertible", "reserved", "instance", "to", "exchange", "for", "your", "current", "convertible", "reserved", "instances", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "target", "configurations", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "target", "configurations", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "target", "configurations", "=", "=", "null", ")", "{", "set", "target", "configurations", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "target", "configuration", "request", ">", "(", "target", "configurations", "length", ")", ")", ";", "}", "for", "(", "target", "configuration", "request", "ele", ":", "target", "configurations", ")", "{", "this", "target", "configurations", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "configuration", "of", "the", "target", "convertible", "reserved", "instance", "to", "exchange", "for", "your", "current", "convertible", "reserved", "instances", "<", "/", "p", ">" ]
[ "set", "target", "configurations", "(", "target", "configurations", ")", ";", "return", "this", ";" ]
[ "reads", "the", "contents", "of", "a", "file" ]
[ "return", "new", "string", "(", "files", "read", "all", "bytes", "(", "paths", "get", "(", "filename", ")", ")", ",", "standard", "charsets", "utf", "8", ")", "replace", "all", "(", "crlf", "regex", ",", "lf", "regex", ")", ";" ]
[ "returns", "the", "relation", "s", "kind" ]
[ "return", "m", "kind", ";" ]
[ "returns", "the", "relation", "s", "detail" ]
[ "return", "m", "detail", ";" ]
[ "returns", "true", "if", "{" ]
[ "return", "get", "kind", "(", ")", "equals", "(", "relation", "get", "kind", "(", ")", ")", "&", "&", "get", "detail", "(", ")", "equals", "(", "relation", "get", "detail", "(", ")", ")", ";" ]
[ "equals", "(", ")", "and", "hash", "code", "(", ")", "are", "generated", "by", "android", "studio" ]
[ "if", "(", "this", "=", "=", "o", ")", "{", "return", "true", ";", "}", "if", "(", "o", "=", "=", "null", "|", "|", "get", "class", "(", ")", "!", "=", "o", "get", "class", "(", ")", ")", "{", "return", "false", ";", "}", "relation", "relation", "=", "(", "relation", ")", "o", ";", "if", "(", "m", "detail", "!", "=", "null", "?", "!", "m", "detail", "equals", "(", "relation", "m", "detail", ")", ":", "relation", "m", "detail", "!", "=", "null", ")", "{", "return", "false", ";", "}", "if", "(", "m", "kind", "!", "=", "null", "?", "!", "m", "kind", "equals", "(", "relation", "m", "kind", ")", ":", "relation", "m", "kind", "!", "=", "null", ")", "{", "return", "false", ";", "}", "return", "true", ";" ]
[ "help", "for", "this", "endpoint", "(", "will", "be", "used", "in", "generated", "bindings", ")" ]
[ "public", "abstract", "string", "help", "(", ")", ";" ]
[ "execute", "the", "endpoint", "returning", "the", "result", "as", "the", "output", "schema" ]
[ "public", "abstract", "os", "exec", "(", "int", "ignored", ",", "is", "input", ")", ";" ]
[ "short", "version", "of", "execute", "(", ")", "action", "get", "(", ")" ]
[ "return", "execute", "(", ")", "action", "get", "(", ")", ";" ]
[ "short", "version", "of", "execute", "(", ")", "action", "get", "(", ")" ]
[ "return", "execute", "(", ")", "action", "get", "(", "timeout", ")", ";" ]
[ "short", "version", "of", "execute", "(", ")", "action", "get", "(", ")" ]
[ "return", "execute", "(", ")", "action", "get", "(", "timeout", ")", ";" ]
[ "used", "by", "governance" ]
[ "return", "from", "(", "mapper", "(", "db", "session", ")", "select", "snapshot", "before", "(", "component", "uuid", ",", "date", ")", ")", "first", "(", ")", "or", "null", "(", ")", ";" ]
[ "start", "the", "x", "g", "boost", "training", "job", "on", "an", "f", "/", "j", "thread" ]
[ "return", "new", "x", "g", "boost", "driver", "(", ")", ";" ]
[ "don", "t", "start", "the", "tracker", "for", "1", "node", "clouds", "-", ">", "the", "gpu", "plugin", "fails", "in", "such", "a", "case" ]
[ "if", "(", "h2o", "cloud", "size", "(", ")", ">", "1", ")", "{", "return", "rt", "start", "(", "0", ")", ";", "}", "return", "true", ";" ]
[ "rt", "should", "not", "be", "started", "for", "1", "node", "clouds" ]
[ "if", "(", "h2o", "cloud", "size", "(", ")", ">", "1", ")", "{", "rt", "wait", "for", "(", "0", ")", ";", "}" ]
[ "therefore", "don", "t", "use", "rabit", "tracker", "envs", "for", "1", "node" ]
[ "if", "(", "h2o", "cloud", "size", "(", ")", ">", "1", ")", "{", "return", "rt", "get", "worker", "envs", "(", ")", ";", "}", "else", "{", "return", "new", "hash", "map", "<", ">", "(", ")", ";", "}" ]
[ "used", "when", "a", "full", "node", "sends", "a", "block", "over", "the", "p2p", "network" ]
[ "immutable", "list", "<", "raw", "tx", "output", ">", "raw", "tx", "outputs", "=", "immutable", "list", "copy", "of", "(", "tx", "get", "tx", "outputs", "(", ")", "stream", "(", ")", "map", "(", "raw", "tx", "output", ":", ":", "from", "tx", "output", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ")", ";", "return", "new", "raw", "tx", "(", "tx", "get", "tx", "version", "(", ")", ",", "tx", "get", "id", "(", ")", ",", "tx", "get", "block", "height", "(", ")", ",", "tx", "get", "block", "hash", "(", ")", ",", "tx", "get", "time", "(", ")", ",", "tx", "get", "tx", "inputs", "(", ")", ",", "raw", "tx", "outputs", ")", ";" ]
[ "gets", "the", "default", "tokens", "<", "p", ">", "the", "list", "of", "default", "session", "tokens", "returned", "is", "read", "-", "only", "view", "of", "the", "internal", "default", "session", "tokens", "representation", "and", "any", "modifications", "will", "result", "in", "{", "@", "link", "unsupported", "operation", "exception", "}", "no", "change", "should", "be", "done", "to", "the", "{", "@", "code", "http", "session", "token", "}", "s", "contained", "in", "the", "list", "<", "/", "p", ">" ]
[ "return", "collections", "unmodifiable", "list", "(", "default", "tokens", ")", ";" ]
[ "gets", "the", "default", "tokens", "enabled", "<", "p", ">", "the", "list", "of", "default", "session", "tokens", "enabled", "returned", "is", "read", "-", "only", "view", "of", "the", "internal", "default", "session", "tokens", "representation", "and", "any", "modifications", "will", "result", "in", "{", "@", "link", "unsupported", "operation", "exception", "}", "<", "/", "p", ">" ]
[ "return", "collections", "unmodifiable", "list", "(", "default", "tokens", "enabled", ")", ";" ]
[ "checks", "if", "the", "extension", "is", "only", "processing", "proxy", "messages" ]
[ "return", "enabled", "proxy", "only", ";" ]
[ "sets", "if", "the", "extension", "is", "only", "processing", "proxy", "messages" ]
[ "this", "enabled", "proxy", "only", "=", "enabled", "proxy", "only", ";", "get", "config", "(", ")", "set", "property", "(", "proxy", "only", "key", ",", "boolean", "value", "of", "(", "enabled", "proxy", "only", ")", ")", ";" ]
[ "insert", "an", "empty", "byte", "[", "]", "to", "the", "front", "of", "this", "iterable" ]
[ "return", "new", "iterable", "<", "bytes", "ref", ">", "(", ")", "{", "@", "override", "public", "iterator", "<", "bytes", "ref", ">", "iterator", "(", ")", "{", "return", "new", "iterator", "<", "bytes", "ref", ">", "(", ")", "{", "boolean", "seen", "empty", "=", "false", ";", "iterator", "<", "bytes", "ref", ">", "in", "=", "iterable", "iterator", "(", ")", ";", "@", "override", "public", "boolean", "has", "next", "(", ")", "{", "return", "!", "seen", "empty", "|", "|", "in", "has", "next", "(", ")", ";", "}", "@", "override", "public", "bytes", "ref", "next", "(", ")", "{", "if", "(", "!", "seen", "empty", ")", "{", "seen", "empty", "=", "true", ";", "return", "new", "bytes", "ref", "(", ")", ";", "}", "else", "{", "return", "in", "next", "(", ")", ";", "}", "}", "@", "override", "public", "void", "remove", "(", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "}", ";", "}", "}", ";" ]
[ "remaps", "ord", "-", "1", "to", "ord", "0", "on", "this", "iterable" ]
[ "return", "new", "iterable", "<", "number", ">", "(", ")", "{", "@", "override", "public", "iterator", "<", "number", ">", "iterator", "(", ")", "{", "return", "new", "iterator", "<", "number", ">", "(", ")", "{", "iterator", "<", "number", ">", "in", "=", "iterable", "iterator", "(", ")", ";", "@", "override", "public", "boolean", "has", "next", "(", ")", "{", "return", "in", "has", "next", "(", ")", ";", "}", "@", "override", "public", "number", "next", "(", ")", "{", "number", "n", "=", "in", "next", "(", ")", ";", "if", "(", "n", "long", "value", "(", ")", "=", "=", "-", "1", ")", "{", "return", "0", ";", "}", "else", "{", "return", "n", ";", "}", "}", "@", "override", "public", "void", "remove", "(", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "}", ";", "}", "}", ";" ]
[ "remaps", "every", "ord", "+", "1", "on", "this", "iterable" ]
[ "return", "new", "iterable", "<", "number", ">", "(", ")", "{", "@", "override", "public", "iterator", "<", "number", ">", "iterator", "(", ")", "{", "return", "new", "iterator", "<", "number", ">", "(", ")", "{", "iterator", "<", "number", ">", "in", "=", "iterable", "iterator", "(", ")", ";", "@", "override", "public", "boolean", "has", "next", "(", ")", "{", "return", "in", "has", "next", "(", ")", ";", "}", "@", "override", "public", "number", "next", "(", ")", "{", "number", "n", "=", "in", "next", "(", ")", ";", "return", "n", "long", "value", "(", ")", "+", "1", ";", "}", "@", "override", "public", "void", "remove", "(", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "}", ";", "}", "}", ";" ]
[ "validate", "the", "given", "java", "identifier", "for", "the", "given", "source", "and", "compliance", "levels", "the", "identifier", "must", "not", "have", "the", "same", "spelling", "as", "a", "java", "keyword", "boolean", "literal", "(", "<", "code", ">", "true", "<", "/", "code", ">", "<", "code", ">", "false", "<", "/", "code", ">", ")", "or", "null", "literal", "(", "<", "code", ">", "null", "<", "/", "code", ">", ")", "see", "section", "3", "8", "of", "the", "<", "em", ">", "java", "language", "specification", "second", "edition", "<", "/", "em", ">", "(", "jls2", ")", "a", "valid", "identifier", "can", "act", "as", "a", "simple", "type", "name", "method", "name", "or", "field", "name" ]
[ "if", "(", "scanned", "identifier", "(", "id", ",", "source", "level", ",", "compliance", "level", ")", "!", "=", "null", ")", "{", "return", "java", "model", "status", "verified", "ok", ";", "}", "else", "{", "return", "new", "status", "(", "i", "status", "error", ",", "java", "core", "plugin", "id", ",", "-", "1", ",", "messages", "bind", "(", "messages", "convention", "illegal", "identifier", ",", "id", ")", ",", "null", ")", ";", "}" ]
[ "sets", "the", "data", "source", "(", "media", "data", "source", ")", "to", "use" ]
[ "public", "native", "final", "void", "set", "data", "source", "(", "@", "non", "null", "media", "data", "source", "data", "source", ")", "throws", "i", "o", "exception", ";" ]
[ "sets", "the", "data", "source", "(", "file", "-", "path", "or", "http", "url", ")", "to", "use" ]
[ "string", "[", "]", "keys", "=", "null", ";", "string", "[", "]", "values", "=", "null", ";", "if", "(", "headers", "!", "=", "null", ")", "{", "keys", "=", "new", "string", "[", "headers", "size", "(", ")", "]", ";", "values", "=", "new", "string", "[", "headers", "size", "(", ")", "]", ";", "int", "i", "=", "0", ";", "for", "(", "map", "entry", "<", "string", ",", "string", ">", "entry", ":", "headers", "entry", "set", "(", ")", ")", "{", "keys", "[", "i", "]", "=", "entry", "get", "key", "(", ")", ";", "values", "[", "i", "]", "=", "entry", "get", "value", "(", ")", ";", "+", "+", "i", ";", "}", "}", "native", "set", "data", "source", "(", "media", "h", "t", "t", "p", "service", "create", "http", "service", "binder", "if", "necessary", "(", "path", ")", ",", "path", ",", "keys", ",", "values", ")", ";" ]
[ "sets", "the", "data", "source", "(", "file", "-", "path", "or", "http", "url", ")", "to", "use" ]
[ "native", "set", "data", "source", "(", "media", "h", "t", "t", "p", "service", "create", "http", "service", "binder", "if", "necessary", "(", "path", ")", ",", "path", ",", "null", ",", "null", ")", ";" ]
[ "sets", "the", "data", "source", "(", "file", "descriptor", ")", "to", "use", "it", "is", "the", "caller", "s", "responsibility", "to", "close", "the", "file", "descriptor", "it", "is", "safe", "to", "do", "so", "as", "soon", "as", "this", "call", "returns" ]
[ "set", "data", "source", "(", "fd", ",", "0", ",", "0x", "7ffffffffffffff", "l", ")", ";" ]
[ "sets", "the", "data", "source", "(", "file", "descriptor", ")", "to", "use", "the", "file", "descriptor", "must", "be", "seekable", "(", "n", "b", "a", "local", "socket", "is", "not", "seekable", ")", "it", "is", "the", "caller", "s", "responsibility", "to", "close", "the", "file", "descriptor", "it", "is", "safe", "to", "do", "so", "as", "soon", "as", "this", "call", "returns" ]
[ "public", "native", "final", "void", "set", "data", "source", "(", "@", "non", "null", "file", "descriptor", "fd", ",", "long", "offset", ",", "long", "length", ")", "throws", "i", "o", "exception", ";" ]
[ "sets", "the", "media", "cas", "instance", "to", "use", "this", "should", "be", "called", "after", "a", "successful", "set", "data", "source", "(", ")", "if", "at", "least", "one", "track", "reports", "mime", "type", "of", "{", "@", "link", "android", "media", "media", "format", "#", "mimetype", "audio", "scrambled", "}", "or", "{", "@", "link", "android", "media", "media", "format", "#", "mimetype", "video", "scrambled", "}", "stream", "parsing", "will", "not", "proceed", "until", "a", "valid", "media", "cas", "object", "is", "provided" ]
[ "m", "media", "cas", "=", "media", "cas", ";", "native", "set", "media", "cas", "(", "media", "cas", "get", "binder", "(", ")", ")", ";" ]
[ "retrieves", "the", "{" ]
[ "return", "m", "session", ";" ]
[ "retrieves", "the", "information", "about", "the", "conditional", "access", "system", "used", "to", "scramble", "a", "track" ]
[ "map", "<", "string", ",", "object", ">", "format", "map", "=", "get", "track", "format", "native", "(", "index", ")", ";", "if", "(", "format", "map", "contains", "key", "(", "media", "format", "key", "ca", "system", "id", ")", ")", "{", "int", "system", "id", "=", "(", "(", "integer", ")", "format", "map", "get", "(", "media", "format", "key", "ca", "system", "id", ")", ")", "int", "value", "(", ")", ";", "media", "cas", "session", "session", "=", "null", ";", "if", "(", "m", "media", "cas", "!", "=", "null", "&", "&", "format", "map", "contains", "key", "(", "media", "format", "key", "ca", "session", "id", ")", ")", "{", "byte", "buffer", "buf", "=", "(", "byte", "buffer", ")", "format", "map", "get", "(", "media", "format", "key", "ca", "session", "id", ")", ";", "buf", "rewind", "(", ")", ";", "final", "byte", "[", "]", "session", "id", "=", "new", "byte", "[", "buf", "remaining", "(", ")", "]", ";", "buf", "get", "(", "session", "id", ")", ";", "session", "=", "m", "media", "cas", "create", "from", "session", "id", "(", "to", "byte", "array", "(", "session", "id", ")", ")", ";", "}", "return", "new", "cas", "info", "(", "system", "id", ",", "session", ")", ";", "}", "return", "null", ";" ]
[ "count", "the", "number", "of", "tracks", "found", "in", "the", "data", "source" ]
[ "public", "native", "final", "int", "get", "track", "count", "(", ")", ";" ]
[ "get", "the", "list", "of", "available", "audio", "presentations", "for", "the", "track" ]
[ "return", "new", "array", "list", "<", "audio", "presentation", ">", "(", ")", ";" ]
[ "get", "the", "track", "format", "at", "the", "specified", "index" ]
[ "return", "new", "media", "format", "(", "get", "track", "format", "native", "(", "index", ")", ")", ";" ]
[ "subsequent", "calls", "to", "{" ]
[ "public", "native", "void", "select", "track", "(", "int", "index", ")", ";" ]
[ "subsequent", "calls", "to", "{" ]
[ "public", "native", "void", "unselect", "track", "(", "int", "index", ")", ";" ]
[ "all", "selected", "tracks", "seek", "near", "the", "requested", "time", "according", "to", "the", "specified", "mode" ]
[ "public", "native", "void", "seek", "to", "(", "long", "time", "us", ",", "@", "seek", "mode", "int", "mode", ")", ";" ]
[ "advance", "to", "the", "next", "sample", "returns", "false", "if", "no", "more", "sample", "data", "is", "available", "(", "end", "of", "stream", ")" ]
[ "public", "native", "boolean", "advance", "(", ")", ";" ]
[ "retrieve", "the", "current", "encoded", "sample", "and", "store", "it", "in", "the", "byte", "buffer", "starting", "at", "the", "given", "offset", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "as", "of", "api", "21", "on", "success", "the", "position", "and", "limit", "of", "{" ]
[ "public", "native", "int", "read", "sample", "data", "(", "@", "non", "null", "byte", "buffer", "byte", "buf", ",", "int", "offset", ")", ";" ]
[ "returns", "the", "track", "index", "the", "current", "sample", "originates", "from", "(", "or", "-", "1", "if", "no", "more", "samples", "are", "available", ")" ]
[ "public", "native", "int", "get", "sample", "track", "index", "(", ")", ";" ]
[ "returns", "the", "current", "sample", "s", "presentation", "time", "in", "microseconds", "or", "-", "1", "if", "no", "more", "samples", "are", "available" ]
[ "public", "native", "long", "get", "sample", "time", "(", ")", ";" ]
[ "returns", "the", "current", "sample", "s", "flags" ]
[ "@", "sample", "flag", "public", "native", "int", "get", "sample", "flags", "(", ")", ";" ]
[ "if", "the", "sample", "flags", "indicate", "that", "the", "current", "sample", "is", "at", "least", "partially", "encrypted", "this", "call", "returns", "relevant", "information", "about", "the", "structure", "of", "the", "sample", "data", "required", "for", "decryption" ]
[ "public", "native", "boolean", "get", "sample", "crypto", "info", "(", "@", "non", "null", "media", "codec", "crypto", "info", "info", ")", ";" ]
[ "returns", "an", "estimate", "of", "how", "much", "data", "is", "presently", "cached", "in", "memory", "expressed", "in", "microseconds", "returns", "-", "1", "if", "that", "information", "is", "unavailable", "or", "not", "applicable", "(", "no", "cache", ")" ]
[ "public", "native", "long", "get", "cached", "duration", "(", ")", ";" ]
[ "returns", "true", "iff", "we", "are", "caching", "data", "and", "the", "cache", "has", "reached", "the", "end", "of", "the", "data", "stream", "(", "for", "now", "a", "future", "seek", "may", "of", "course", "restart", "the", "fetching", "of", "data", ")", "this", "api", "only", "returns", "a", "meaningful", "result", "if", "{" ]
[ "public", "native", "boolean", "has", "cache", "reached", "end", "of", "stream", "(", ")", ";" ]
[ "deserialization", "tests", "for", "external", "type", "id", "property", "present" ]
[ "object", "mapper", "mapper", "=", "json", "mapper", "builder", "(", ")", "disable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "(", "mapper", ")", ";", "check", "apple", "box", "(", "mapper", ")", ";", "mapper", "=", "json", "mapper", "builder", "(", ")", "enable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "(", "mapper", ")", ";", "check", "apple", "box", "(", "mapper", ")", ";" ]
[ "deserialization", "tests", "for", "external", "type", "id", "property", "null" ]
[ "object", "mapper", "mapper", "=", "json", "mapper", "builder", "(", ")", "disable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "null", "(", "mapper", ",", "orange", "box", "null", "json", ")", ";", "check", "apple", "box", "null", "(", "mapper", ",", "apple", "box", "null", "json", ")", ";", "mapper", "=", "json", "mapper", "builder", "(", ")", "enable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "null", "(", "mapper", ",", "orange", "box", "null", "json", ")", ";", "check", "apple", "box", "null", "(", "mapper", ",", "apple", "box", "null", "json", ")", ";" ]
[ "deserialization", "tests", "for", "external", "type", "id", "property", "empty" ]
[ "object", "mapper", "mapper", "=", "json", "mapper", "builder", "(", ")", "disable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "empty", "(", "mapper", ",", "orange", "box", "empty", "json", ")", ";", "check", "apple", "box", "empty", "(", "mapper", ",", "apple", "box", "empty", "json", ")", ";", "mapper", "=", "json", "mapper", "builder", "(", ")", "enable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "empty", "(", "mapper", ",", "orange", "box", "empty", "json", ")", ";", "check", "apple", "box", "empty", "(", "mapper", ",", "apple", "box", "empty", "json", ")", ";" ]
[ "deserialization", "tests", "for", "external", "type", "id", "property", "missing" ]
[ "object", "mapper", "mapper", "=", "json", "mapper", "builder", "(", ")", "disable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "orange", "box", "null", "(", "mapper", ",", "orange", "box", "missing", "json", ")", ";", "check", "apple", "box", "null", "(", "mapper", ",", "apple", "box", "missing", "json", ")", ";", "mapper", "=", "json", "mapper", "builder", "(", ")", "enable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "box", "json", "mapping", "exception", "(", "mapper", ",", "orange", "box", "missing", "json", ")", ";", "check", "box", "json", "mapping", "exception", "(", "mapper", ",", "apple", "box", "missing", "json", ")", ";" ]
[ "deserialization", "tests", "for", "external", "type", "id", "required", "property", "missing" ]
[ "object", "mapper", "mapper", "=", "json", "mapper", "builder", "(", ")", "disable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "req", "box", "json", "mapping", "exception", "(", "mapper", ",", "orange", "box", "missing", "json", ")", ";", "check", "req", "box", "json", "mapping", "exception", "(", "mapper", ",", "apple", "box", "missing", "json", ")", ";", "mapper", "=", "json", "mapper", "builder", "(", ")", "enable", "(", "deserialization", "feature", "fail", "on", "missing", "external", "type", "id", "property", ")", "build", "(", ")", ";", "check", "req", "box", "json", "mapping", "exception", "(", "mapper", ",", "orange", "box", "missing", "json", ")", ";", "check", "req", "box", "json", "mapping", "exception", "(", "mapper", ",", "apple", "box", "missing", "json", ")", ";" ]
[ "returns", "the", "mcc", "/", "mnc", "of", "the", "network", "as", "a", "string" ]
[ "return", "m", "plmn", ";" ]