docstring_tokens
list
code_tokens
list
[ "derived", "classes", "may", "wish", "to", "overload", "this", "to", "prevent", "the", "default", "introspection", "of", "uri", "parameters", "on", "the", "created", "endpoint", "instance" ]
[ "return", "true", ";" ]
[ "gets", "the", "parameter", "and", "remove", "it", "from", "the", "parameter", "map", "this", "method", "doesn", "t", "resolve", "reference", "parameters", "in", "the", "registry" ]
[ "return", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "type", ",", "null", ")", ";" ]
[ "gets", "the", "parameter", "and", "remove", "it", "from", "the", "parameter", "map", "this", "method", "resolves", "reference", "parameters", "in", "the", "registry", "as", "well" ]
[ "return", "get", "and", "remove", "or", "resolve", "reference", "parameter", "(", "parameters", ",", "key", ",", "type", ",", "null", ")", ";" ]
[ "gets", "the", "parameter", "and", "remove", "it", "from", "the", "parameter", "map", "this", "method", "resolves", "reference", "parameters", "in", "the", "registry", "as", "well" ]
[ "string", "value", "=", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "string", "class", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "return", "default", "value", ";", "}", "else", "if", "(", "endpoint", "help...
[ "resolves", "a", "reference", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "return", "resolve", "and", "remove", "reference", "parameter", "(", "parameters", ",", "key", ",", "type", ",", "null", ")", ";" ]
[ "resolves", "a", "reference", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "string", "value", "=", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "string", "class", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "return", "default", "value", ";", "}", "else", "{", "return", "endpoint", "...
[ "resolves", "a", "reference", "list", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "return", "resolve", "and", "remove", "reference", "list", "parameter", "(", "parameters", ",", "key", ",", "element", "type", ",", "new", "array", "list", "<", ">", "(", "0", ")", ")", ";" ]
[ "resolves", "a", "reference", "list", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "string", "value", "=", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "string", "class", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "return", "default", "value", ";", "}", "else", "{", "return", "endpoint", "...
[ "returns", "the", "reminder", "of", "the", "text", "if", "it", "starts", "with", "the", "prefix", "<", "p", "/", ">", "is", "useable", "for", "string", "parameters", "that", "contains", "commands" ]
[ "if", "(", "text", "starts", "with", "(", "prefix", ")", ")", "{", "string", "remainder", "=", "text", "substring", "(", "prefix", "length", "(", ")", ")", ";", "if", "(", "remainder", "length", "(", ")", ">", "0", ")", "{", "return", "remainder", ...
[ "implementations", "for", "class", "visitor" ]
[]
[ "small", "utility", "methods" ]
[ "class", "optimization", "info", "info", "=", "class", "optimization", "info", "get", "class", "optimization", "info", "(", "clazz", ")", ";", "if", "(", "info", "!", "=", "null", ")", "{", "info", "set", "caught", "(", ")", ";", "}" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "byte", "file", "(", "fs", ",", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "options", ",", "len", ")", ";" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "byte", "file", "(", "fs", ",", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "write", "type", ",", "len", ")", ";" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "file", "options", "options", "=", "create", "file", "options", "defaults", "(", ")", "set", "write", "type", "(", "write", "type", ")", ";", "create", "byte", "file", "(", "fs", ",", "file", "u", "r", "i", ",", "options", ",", "len", ")", ...
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "try", "(", "file", "out", "stream", "os", "=", "fs", "create", "file", "(", "file", "u", "r", "i", ",", "options", ")", ")", "{", "byte", "[", "]", "arr", "=", "new", "byte", "[", "len", "]", ";", "for", "(", "int", "k", "=", "0", ";", "k"...
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "file", "options", "options", "=", "create", "file", "options", "defaults", "(", ")", "set", "write", "type", "(", "write", "type", ")", "set", "block", "size", "bytes", "(", "block", "capacity", "byte", ")", ";", "create", "byte", "file", "(",...
[ "returns", "a", "list", "of", "files", "at", "a", "given", "{", "@", "code", "path", "}" ]
[ "try", "{", "list", "<", "u", "r", "i", "status", ">", "statuses", "=", "fs", "list", "status", "(", "new", "alluxio", "u", "r", "i", "(", "path", ")", ")", ";", "list", "<", "string", ">", "res", "=", "new", "array", "list", "<", ">", "(", "...
[ "loads", "a", "file", "into", "alluxio", "by", "reading", "it" ]
[ "try", "(", "file", "in", "stream", "is", "=", "fs", "open", "file", "(", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "open", "file", "options", "defaults", "(", ")", "set", "read", "type", "(", "read", "type", "cache", ")", "...
[ "converts", "a", "{", "@", "link", "create", "file", "options", "}", "object", "to", "an", "{", "@", "link", "open", "file", "options", "}", "object", "with", "a", "matching", "alluxio", "storage", "type" ]
[ "if", "(", "op", "get", "write", "type", "(", ")", "get", "alluxio", "storage", "type", "(", ")", "is", "store", "(", ")", ")", "{", "return", "open", "file", "options", "defaults", "(", ")", "set", "read", "type", "(", "read", "type", "cache", ")"...
[ "<", "p", ">", "the", "url", "of", "the", "amazon", "sqs", "queue", "from", "which", "permissions", "are", "removed", "<", "/", "p", ">", "<", "p", ">", "queue", "u", "r", "ls", "and", "names", "are", "case", "-", "sensitive", "<", "/", "p", ">" ...
[ "return", "this", "queue", "url", ";" ]
[ "<", "p", ">", "the", "url", "of", "the", "amazon", "sqs", "queue", "to", "which", "a", "message", "is", "sent", "<", "/", "p", ">", "<", "p", ">", "queue", "u", "r", "ls", "and", "names", "are", "case", "-", "sensitive", "<", "/", "p", ">" ]
[ "set", "queue", "url", "(", "queue", "url", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "message", "<", "/", "p", ">" ]
[ "this", "message", "body", "=", "message", "body", ";" ]
[ "<", "p", ">", "the", "message", "<", "/", "p", ">" ]
[ "return", "this", "message", "body", ";" ]
[ "<", "p", ">", "the", "message", "to", "send", "the", "maximum", "string", "size", "is", "256", "kb", "<", "/", "p", ">", "<", "important", ">", "<", "p", ">", "a", "message", "can", "include", "only", "xml", "json", "and", "unformatted", "text", "...
[ "set", "message", "body", "(", "message", "body", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "length", "of", "time", "in", "seconds", "for", "which", "a", "specific", "message", "is", "delayed", "valid", "values", ":", "0", "to", "900", "maximum", ":", "15", "minutes", "messages", "with", "a", "positive", "<", "code", ">"...
[ "return", "this", "delay", "seconds", ";" ]
[ "<", "p", ">", "the", "length", "of", "time", "in", "seconds", "for", "which", "to", "delay", "a", "specific", "message", "valid", "values", ":", "0", "to", "900", "maximum", ":", "15", "minutes", "messages", "with", "a", "positive", "<", "code", ">", ...
[ "set", "delay", "seconds", "(", "delay", "seconds", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "message", "attributes", "for", "publish", "action", "<", "/", "p", ">" ]
[ "if", "(", "message", "attributes", "=", "=", "null", ")", "{", "message", "attributes", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "map", "<", "string", ",", "message", "attribute", "value", ">", "(", ")", ";", "}", "return", "messag...
[ "<", "p", ">", "message", "attributes", "for", "publish", "action", "<", "/", "p", ">" ]
[ "this", "message", "attributes", "=", "message", "attributes", "=", "=", "null", "?", "null", ":", "new", "com", "amazonaws", "internal", "sdk", "internal", "map", "<", "string", ",", "message", "attribute", "value", ">", "(", "message", "attributes", ")", ...
[ "<", "p", ">", "each", "message", "attribute", "consists", "of", "a", "<", "code", ">", "name", "<", "/", "code", ">", "<", "code", ">", "type", "<", "/", "code", ">", "and", "<", "code", ">", "value", "<", "/", "code", ">", "for", "more", "inf...
[ "set", "message", "attributes", "(", "message", "attributes", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "message", "attributes" ]
[ "this", "message", "attributes", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "token", "used", "for", "deduplication", "of", "messages", "within", "a...
[ "this", "message", "deduplication", "id", "=", "message", "deduplication", "id", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "token", "used", "for", "deduplication", "of", "messages", "within", "a...
[ "return", "this", "message", "deduplication", "id", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "token", "used", "for", "deduplication", "of", "sent", "messages", "if"...
[ "set", "message", "deduplication", "id", "(", "message", "deduplication", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "fifo", "message", "group", "id", "to", "use", "as", "the", "target", "<", "/", "p", ">" ]
[ "this", "message", "group", "id", "=", "message", "group", "id", ";" ]
[ "<", "p", ">", "the", "fifo", "message", "group", "id", "to", "use", "as", "the", "target", "<", "/", "p", ">" ]
[ "return", "this", "message", "group", "id", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "tag", "that", "specifies", "that", "a", "message", "belongs", "to", ...
[ "set", "message", "group", "id", "(", "message", "group", "id", ")", ";", "return", "this", ";" ]
[ "stem", "a", "latvian", "word", "returns", "the", "new", "adjusted", "length" ]
[ "int", "num", "vowels", "=", "num", "vowels", "(", "s", ",", "len", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "affixes", "length", ";", "i", "+", "+", ")", "{", "affix", "affix", "=", "affixes", "[", "i", "]", ";", "if", "(...
[ "reset", "the", "state", "of", "the", "instance", "to", "default", "non", "-", "initialized", "values" ]
[ "m", "restore", "instance", "state", "=", "false", ";", "m", "call", "on", "post", "create", "=", "false", ";", "m", "old", "state", "=", "null", ";", "m", "stop", "info", "=", "null", ";" ]
[ "getter" ]
[ "return", "m", "restore", "instance", "state", ";" ]
[ "getter" ]
[ "return", "m", "call", "on", "post", "create", ";" ]
[ "check", "if", "we", "should", "report", "an", "activity", "relaunch", "to", "window", "manager", "we", "report", "back", "for", "every", "relaunch", "request", "to", "activity", "manager", "but", "only", "for", "those", "that", "were", "actually", "finished",...
[ "return", "m", "report", "relaunch", "to", "w", "m", ";" ]
[ "set", "if", "we", "should", "report", "an", "activity", "relaunch", "to", "window", "manager", "we", "report", "back", "for", "every", "relaunch", "request", "to", "activity", "manager", "but", "only", "for", "those", "that", "were", "actually", "finished", ...
[ "m", "report", "relaunch", "to", "w", "m", "=", "report", "to", "wm", ";" ]
[ "called", "while", "holding", "class", "lock" ]
[ "if", "(", "class", "cache", "mode", "!", "=", "user", "code", "deployment", "config", "class", "cache", "mode", "off", ")", "{", "class", "source", "map", "put", "(", "outer", "class", "name", ",", "class", "source", ")", ";", "}", "else", "{", "thr...
[ "for", "android", "3", "0", "+" ]
[ "open", "file", "chooser", "(", "upload", "msg", ")", ";" ]
[ "for", "android", ">", "4", "1", "1" ]
[ "open", "file", "chooser", "(", "upload", "msg", ",", "accept", "type", ")", ";" ]
[ "set", "view", "type", "of", "current", "{" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "creates", "a", "new", "permission", "ticket", "for", "a", "single", "resource", "and", "scope", "(", "s", ")" ]
[ "return", "create", "(", "arrays", "as", "list", "(", "request", ")", ")", ";" ]
[ "returns", "the", "requester", "hostname" ]
[ "return", "hostname", "tl", "get", "(", ")", ";" ]
[ "recognizes", "if", "component", "is", "executed", "in", "the", "o", "s", "gi", "environment" ]
[ "return", "platform", "helper", "is", "osgi", "context", "(", "get", "camel", "context", "(", ")", ")", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "task", "group", "to", "associate", "with", "the", "task", "the", "default", "value", "is", "the", "family", "name", "of", "the", "task", "definition", "(", "for", "example", "family", ":", "my", "-", "family"...
[ "this", "group", "=", "group", ";" ]
[ "specify", "a", "jsr", "-", "303", "{" ]
[ "this", "validation", "provider", "resolver", "=", "validation", "provider", "resolver", ";" ]
[ "return", "{", "@", "code", "message", "interpolator", "}", "implementation", "used", "for", "configuration" ]
[ "return", "message", "interpolator", ";" ]
[ "specify", "a", "custom", "message", "interpolator", "to", "use", "for", "this", "validator", "factory", "and", "its", "exposed", "default", "validator" ]
[ "this", "message", "interpolator", "=", "message", "interpolator", ";" ]
[ "return", "{", "@", "code", "traversable", "resolver", "}", "implementation", "used", "for", "configuration" ]
[ "return", "traversable", "resolver", ";" ]
[ "specify", "a", "custom", "traversable", "resolver", "to", "use", "for", "this", "validator", "factory", "and", "its", "exposed", "default", "validator" ]
[ "this", "traversable", "resolver", "=", "traversable", "resolver", ";" ]
[ "return", "{", "@", "code", "constraint", "validator", "factory", "}", "implementation", "used", "for", "configuration" ]
[ "return", "constraint", "validator", "factory", ";" ]
[ "specify", "a", "custom", "constraint", "validator", "factory", "to", "use", "for", "this", "validator", "factory", "<", "p", ">", "default", "is", "a", "{" ]
[ "this", "constraint", "validator", "factory", "=", "constraint", "validator", "factory", ";" ]
[ "<", "p", ">", "the", "iam", "user", "s", "current", "password", "<", "/", "p", ">" ]
[ "this", "old", "password", "=", "old", "password", ";" ]
[ "check", "for", "equality", "that", "can", "be", "applied", "to", "each", "kind", "of", "node", "to", "not", "repeat", "it", "in", "every", "method", "we", "store", "that", "here" ]
[ "if", "(", "!", "node", "equals", "(", "n", "1", "get", "comment", "(", ")", ",", "n", "2", "get", "comment", "(", ")", ")", ")", "{", "return", "false", ";", "}", "return", "nodes", "equals", "(", "n", "1", "get", "orphan", "comments", "(", ")...
[ "set", "the", "{" ]
[ "this", "jdbc", "template", "set", "data", "source", "(", "data", "source", ")", ";" ]
[ "specify", "the", "encoding", "for", "sql", "scripts", "if", "different", "from", "the", "platform", "encoding" ]
[ "this", "sql", "script", "encoding", "=", "sql", "script", "encoding", ";" ]
[ "convenience", "method", "for", "counting", "the", "rows", "in", "the", "given", "table", "using", "the", "provided", "{" ]
[ "return", "jdbc", "test", "utils", "count", "rows", "in", "table", "where", "(", "this", "jdbc", "template", ",", "table", "name", ",", "where", "clause", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "...
[ "return", "jdbc", "test", "utils", "delete", "from", "tables", "(", "this", "jdbc", "template", ",", "names", ")", ";" ]
[ "convenience", "method", "for", "deleting", "all", "rows", "from", "the", "given", "table", "using", "the", "provided", "{" ]
[ "return", "jdbc", "test", "utils", "delete", "from", "table", "where", "(", "this", "jdbc", "template", ",", "table", "name", ",", "where", "clause", ",", "args", ")", ";" ]
[ "convenience", "method", "for", "dropping", "all", "of", "the", "specified", "tables", "<", "p", ">", "use", "with", "caution", "outside", "of", "a", "transaction", "!" ]
[ "jdbc", "test", "utils", "drop", "tables", "(", "this", "jdbc", "template", ",", "names", ")", ";" ]
[ "adds", "a", "{", "@", "link", "mapper", "}", "class", "to", "the", "chain", "mapper" ]
[ "job", "set", "mapper", "class", "(", "chain", "mapper", "class", ")", ";", "job", "set", "map", "output", "key", "class", "(", "output", "key", "class", ")", ";", "job", "set", "map", "output", "value", "class", "(", "output", "value", "class", ")", ...
[ "encoding", "to", "use", "when", "marshalling", "an", "object", "to", "xml", "<", "p", "/", ">", "is", "by", "default", "utf", "-", "8" ]
[ "this", "encoding", "=", "encoding", ";" ]
[ "returns", "the", "result", "of", "a", "{" ]
[ "try", "{", "return", "f", "get", "(", ")", ";", "}", "catch", "(", "execution", "exception", "e", ")", "{", "if", "(", "e", "get", "cause", "(", ")", "instanceof", "i", "o", "exception", ")", "{", "throw", "(", "i", "o", "exception", ")", "e", ...
[ "{", "@", "inherit", "doc", "}", "<", "p", ">", "<", "p", ">", "the", "default", "{", "@", "link", "abstract", "future", "}", "implementation", "throws", "{", "@", "code", "interrupted", "exception", "}", "if", "the", "current", "thread", "is", "interr...
[ "return", "sync", "get", "(", "unit", "to", "nanos", "(", "timeout", ")", ")", ";" ]
[ "{", "@", "inherit", "doc", "}", "<", "p", ">", "<", "p", ">", "the", "default", "{", "@", "link", "abstract", "future", "}", "implementation", "throws", "{", "@", "code", "interrupted", "exception", "}", "if", "the", "current", "thread", "is", "interr...
[ "return", "sync", "get", "(", ")", ";" ]
[ "subclasses", "can", "override", "this", "method", "to", "implement", "interruption", "of", "the", "future", "s", "computation", "the", "method", "is", "invoked", "automatically", "by", "a", "successful", "call", "to", "{", "@", "link", "#", "cancel", "(", "...
[]
[ "returns", "true", "if", "this", "future", "was", "cancelled", "with", "{", "@", "code", "may", "interrupt", "if", "running", "}", "set", "to", "{", "@", "code", "true", "}" ]
[ "return", "sync", "was", "interrupted", "(", ")", ";" ]
[ "subclasses", "should", "invoke", "this", "method", "to", "set", "the", "result", "of", "the", "computation", "to", "{", "@", "code", "value", "}", "this", "will", "set", "the", "state", "of", "the", "future", "to", "{", "@", "link", "abstract", "future"...
[ "boolean", "result", "=", "sync", "set", "(", "value", ")", ";", "if", "(", "result", ")", "{", "execution", "list", "execute", "(", ")", ";", "}", "return", "result", ";" ]
[ "subclasses", "should", "invoke", "this", "method", "to", "set", "the", "result", "of", "the", "computation", "to", "an", "error", "{", "@", "code", "throwable", "}", "this", "will", "set", "the", "state", "of", "the", "future", "to", "{", "@", "link", ...
[ "boolean", "result", "=", "sync", "set", "exception", "(", "check", "not", "null", "(", "throwable", ")", ")", ";", "if", "(", "result", ")", "{", "execution", "list", "execute", "(", ")", ";", "}", "return", "result", ";" ]
[ "/", "*", "acquisition", "succeeds", "if", "the", "future", "is", "done", "otherwise", "it", "fails" ]
[ "if", "(", "is", "done", "(", ")", ")", "{", "return", "1", ";", "}", "return", "-", "1", ";" ]
[ "/", "*", "we", "always", "allow", "a", "release", "to", "go", "through", "this", "means", "the", "state", "has", "been", "successfully", "changed", "and", "the", "result", "is", "available" ]
[ "set", "state", "(", "final", "state", ")", ";", "return", "true", ";" ]
[ "checks", "if", "the", "state", "is", "{" ]
[ "return", "(", "get", "state", "(", ")", "&", "(", "completed", "|", "cancelled", "|", "interrupted", ")", ")", "!", "=", "0", ";" ]
[ "checks", "if", "the", "state", "is", "{" ]
[ "return", "(", "get", "state", "(", ")", "&", "(", "cancelled", "|", "interrupted", ")", ")", "!", "=", "0", ";" ]
[ "checks", "if", "the", "state", "is", "{" ]
[ "return", "get", "state", "(", ")", "=", "=", "interrupted", ";" ]
[ "transition", "to", "the", "completed", "state", "and", "set", "the", "value" ]
[ "return", "complete", "(", "v", ",", "null", ",", "completed", ")", ";" ]
[ "transition", "to", "the", "completed", "state", "and", "set", "the", "exception" ]
[ "return", "complete", "(", "null", ",", "t", ",", "completed", ")", ";" ]
[ "transition", "to", "the", "cancelled", "or", "interrupted", "state" ]
[ "return", "complete", "(", "null", ",", "null", ",", "interrupt", "?", "interrupted", ":", "cancelled", ")", ";" ]
[ "returns", "the", "type", "of", "the", "edge" ]
[ "return", "edge", "type", "convert", "(", "m", "edge", "get", "type", "(", ")", ")", ";" ]
[ "get", "string", "preferences" ]
[ "return", "get", "string", "(", "context", ",", "key", ",", "\"", "\"", ")", ";" ]
[ "get", "string", "preferences" ]
[ "return", "get", "string", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "int", "preferences" ]
[ "return", "put", "int", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "int", "preferences" ]
[ "return", "get", "int", "(", "context", ",", "key", ",", "-", "1", ")", ";" ]
[ "get", "int", "preferences" ]
[ "return", "get", "int", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "long", "preferences" ]
[ "return", "put", "long", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "long", "preferences" ]
[ "return", "get", "long", "(", "context", ",", "key", ",", "-", "1", ")", ";" ]
[ "get", "long", "preferences" ]
[ "return", "get", "long", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "float", "preferences" ]
[ "return", "put", "float", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "float", "preferences" ]
[ "return", "get", "float", "(", "context", ",", "key", ",", "-", "1", ")", ";" ]
[ "get", "float", "preferences" ]
[ "return", "get", "float", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "boolean", "preferences" ]
[ "return", "put", "boolean", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "boolean", "preferences", "default", "is", "false" ]
[ "return", "get", "boolean", "(", "context", ",", "key", ",", "false", ")", ";" ]
[ "get", "boolean", "preferences" ]
[ "return", "get", "boolean", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "should", "the", "secure", "protocol", "be", "used", "to", "ping" ]
[ "this", "is", "secure", "=", "is", "secure", ";" ]
[ "is", "there", "a", "particular", "content", "you", "are", "hoping", "to", "see", "?", "if", "so", "-", "set", "this", "here", "for", "e", "g", "the", "wcs", "server", "sets", "the", "content", "body", "to", "be", "true", "please", "be", "advised", "...
[ "this", "expected", "content", "=", "expected", "content", ";" ]
[ "returns", "the", "number", "of", "clusters" ]
[ "return", "k", ";" ]