docstring_tokens
list
code_tokens
list
[ "{" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "pre", "process", "a", "token" ]
[ "return", "token", "to", "lower", "case", "(", ")", ";" ]
[ "<", "p", ">", "the", "temporary", "security", "credentials", "which", "include", "an", "access", "key", "id", "a", "secret", "access", "key", "and", "a", "security", "(", "or", "session", ")", "token", "<", "/", "p", ">", "<", "p", ">", "<", "b", ...
[ "this", "credentials", "=", "credentials", ";" ]
[ "<", "p", ">", "the", "temporary", "security", "credentials", "which", "include", "an", "access", "key", "id", "a", "secret", "access", "key", "and", "a", "security", "(", "or", "session", ")", "token", "<", "/", "p", ">", "<", "p", ">", "<", "b", ...
[ "return", "this", "credentials", ";" ]
[ "<", "p", ">", "the", "temporary", "security", "credentials", "which", "include", "an", "access", "key", "id", "a", "secret", "access", "key", "and", "a", "security", "(", "or", "session", ")", "token", "<", "/", "p", ">", "<", "p", ">", "<", "b", ...
[ "set", "credentials", "(", "credentials", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "identifiers", "for", "the", "temporary", "security", "credentials", "that", "the", "operation", "returns", "<", "/", "p", ">" ]
[ "this", "assumed", "role", "user", "=", "assumed", "role", "user", ";" ]
[ "<", "p", ">", "the", "identifiers", "for", "the", "temporary", "security", "credentials", "that", "the", "operation", "returns", "<", "/", "p", ">" ]
[ "return", "this", "assumed", "role", "user", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "and", "the", "assumed", "role", "id", "which", "are", "identifiers", "that", "you", "can", "use", "to", "refer", "to", "the", "resulting", "temporary", "security", "credentials", "for", ...
[ "set", "assumed", "role", "user", "(", "assumed", "role", "user", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "percentage", "value", "that", "indicates", "the", "size", "of", "the", "policy", "in", "packed", "form", "the", "service", "rejects", "any", "policy", "with", "a", "packed", "size", "greater", "than", "100", "percent", "which", "means"...
[ "this", "packed", "policy", "size", "=", "packed", "policy", "size", ";" ]
[ "<", "p", ">", "a", "percentage", "value", "that", "indicates", "the", "size", "of", "the", "policy", "in", "packed", "form", "the", "service", "rejects", "any", "policy", "with", "a", "packed", "size", "greater", "than", "100", "percent", "which", "means"...
[ "return", "this", "packed", "policy", "size", ";" ]
[ "<", "p", ">", "a", "percentage", "value", "that", "indicates", "the", "size", "of", "the", "policy", "in", "packed", "form", "the", "service", "rejects", "any", "policy", "with", "a", "packed", "size", "greater", "than", "100", "percent", "which", "means"...
[ "set", "packed", "policy", "size", "(", "packed", "policy", "size", ")", ";", "return", "this", ";" ]
[ "delegates", "to", "either", "the", "code", "gen", "visitor", "(", "jmes", "path", "identity", ")", "or", "evaluation", "visitor", "(", "jmes", "path", "identity", ")", "based", "on", "the", "type", "of", "jmes", "path", "visitor" ]
[ "return", "visitor", "visit", "(", "this", ",", "input", ")", ";" ]
[ "checks", "whether", "lhs", "is", "less", "than", "or", "equal", "to", "rhs" ]
[ "return", "lhs", "compare", "to", "(", "rhs", ")", "<", "=", "0", ";" ]
[ "fixme", "record", "statistics", "of", "only", "rpc", "call", "currently", "so", "is", "it", "all", "right", "to", "chane", "into", "is", "record", "rpc", "(", ")" ]
[ "return", "record", "statistics", ";" ]
[ "return", "true", "when", "the", "service", "type", "is", "user", "or", "can", "not", "be", "identified" ]
[ "return", "this", "=", "=", "service", "type", "user", ";" ]
[ "retry", "the", "given", "operation", "the", "given", "number", "of", "times", "in", "case", "of", "a", "failure" ]
[ "final", "completable", "future", "<", "t", ">", "result", "future", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "retry", "operation", "(", "result", "future", ",", "operation", ",", "retries", ",", "executor", ")", ";", "return", "resu...
[ "retry", "the", "given", "operation", "with", "the", "given", "delay", "in", "between", "failures" ]
[ "final", "completable", "future", "<", "t", ">", "result", "future", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "retry", "operation", "with", "delay", "(", "result", "future", ",", "operation", ",", "retries", ",", "retry", "delay", ",...
[ "retry", "the", "given", "operation", "with", "the", "given", "delay", "in", "between", "failures" ]
[ "return", "retry", "with", "delay", "(", "operation", ",", "retries", ",", "retry", "delay", ",", "(", "throwable", ")", "-", ">", "true", ",", "scheduled", "executor", ")", ";" ]
[ "retry", "the", "given", "operation", "with", "the", "given", "delay", "in", "between", "successful", "completions", "where", "the", "result", "does", "not", "match", "a", "given", "predicate" ]
[ "final", "completable", "future", "<", "t", ">", "result", "future", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "retry", "successful", "operation", "with", "delay", "(", "result", "future", ",", "operation", ",", "retry", "delay", ",", ...
[ "times", "the", "given", "future", "out", "after", "the", "timeout" ]
[ "if", "(", "!", "future", "is", "done", "(", ")", ")", "{", "final", "scheduled", "future", "<", "?", ">", "timeout", "future", "=", "delayer", "delay", "(", "new", "timeout", "(", "future", ")", ",", "timeout", ",", "time", "unit", ")", ";", "futu...
[ "run", "the", "given", "action", "after", "the", "completion", "of", "the", "given", "future", "the", "given", "future", "can", "be", "completed", "normally", "or", "exceptionally", "in", "case", "of", "an", "exceptional", "completion", "the", "the", "action",...
[ "return", "run", "afterwards", "async", "(", "future", ",", "runnable", ",", "executors", "direct", "executor", "(", ")", ")", ";" ]
[ "run", "the", "given", "action", "after", "the", "completion", "of", "the", "given", "future", "the", "given", "future", "can", "be", "completed", "normally", "or", "exceptionally", "in", "case", "of", "an", "exceptional", "completion", "the", "the", "action",...
[ "return", "run", "afterwards", "async", "(", "future", ",", "runnable", ",", "fork", "join", "pool", "common", "pool", "(", ")", ")", ";" ]
[ "run", "the", "given", "action", "after", "the", "completion", "of", "the", "given", "future", "the", "given", "future", "can", "be", "completed", "normally", "or", "exceptionally", "in", "case", "of", "an", "exceptional", "completion", "the", "the", "action",...
[ "final", "completable", "future", "<", "void", ">", "result", "future", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "future", "when", "complete", "async", "(", "(", "object", "ignored", ",", "throwable", "throwable", ")", "-", ">", "{",...
[ "run", "the", "given", "asynchronous", "action", "after", "the", "completion", "of", "the", "given", "future", "the", "given", "future", "can", "be", "completed", "normally", "or", "exceptionally", "in", "case", "of", "an", "exceptional", "completion", "the", ...
[ "final", "completable", "future", "<", "void", ">", "result", "future", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "future", "when", "complete", "(", "(", "object", "outer", "ignored", ",", "throwable", "outer", "throwable", ")", "-", ...
[ "gets", "the", "total", "number", "of", "futures", "in", "the", "conjunction" ]
[ "public", "abstract", "int", "get", "num", "futures", "total", "(", ")", ";" ]
[ "gets", "the", "number", "of", "futures", "in", "the", "conjunction", "that", "are", "already", "complete" ]
[ "public", "abstract", "int", "get", "num", "futures", "completed", "(", ")", ";" ]
[ "the", "function", "that", "is", "attached", "to", "all", "futures", "in", "the", "conjunction", "once", "a", "future", "is", "complete", "this", "function", "tracks", "the", "completion", "or", "fails", "the", "conjunct" ]
[ "if", "(", "throwable", "!", "=", "null", ")", "{", "complete", "exceptionally", "(", "throwable", ")", ";", "}", "else", "{", "int", "index", "=", "next", "index", "get", "and", "increment", "(", ")", ";", "results", "[", "index", "]", "=", "value",...
[ "method", "which", "increments", "the", "atomic", "completion", "counter", "and", "completes", "or", "fails", "the", "waiting", "future", "impl" ]
[ "if", "(", "throwable", "=", "=", "null", ")", "{", "if", "(", "num", "total", "=", "=", "num", "completed", "increment", "and", "get", "(", ")", ")", "{", "complete", "(", "null", ")", ";", "}", "}", "else", "{", "complete", "exceptionally", "(", ...
[ "creates", "a", "{", "@", "link", "conjunct", "future", "}", "which", "is", "only", "completed", "after", "all", "given", "futures", "have", "completed", "unlike", "{", "@", "link", "future", "utils", "#", "wait", "for", "all", "(", "collection", ")", "}...
[ "return", "new", "completion", "conjunct", "future", "(", "futures", "to", "complete", ")", ";" ]
[ "returns", "an", "exceptionally", "completed", "{", "@", "link", "completable", "future", "}" ]
[ "completable", "future", "<", "t", ">", "result", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "result", "complete", "exceptionally", "(", "cause", ")", ";", "return", "result", ";" ]
[ "returns", "a", "future", "which", "is", "completed", "with", "the", "result", "of", "the", "{", "@", "link", "supplier", "with", "exception", "}" ]
[ "return", "completable", "future", "supply", "async", "(", "(", ")", "-", ">", "{", "try", "{", "return", "supplier", "get", "(", ")", ";", "}", "catch", "(", "throwable", "e", ")", "{", "throw", "new", "completion", "exception", "(", "e", ")", ";", ...
[ "converts", "flink", "time", "into", "a", "{", "@", "link", "finite", "duration", "}" ]
[ "return", "new", "finite", "duration", "(", "time", "to", "milliseconds", "(", ")", ",", "time", "unit", "milliseconds", ")", ";" ]
[ "converts", "{", "@", "link", "finite", "duration", "}", "into", "flink", "time" ]
[ "return", "time", "milliseconds", "(", "finite", "duration", "to", "millis", "(", ")", ")", ";" ]
[ "converts", "a", "scala", "{", "@", "link", "future", "}", "to", "a", "{", "@", "link", "completable", "future", "}" ]
[ "final", "completable", "future", "<", "t", ">", "result", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "scala", "future", "on", "complete", "(", "new", "on", "complete", "<", "u", ">", "(", ")", "{", "@", "override", "public", "void...
[ "refers", "to", "an", "element", "strategy", "to", "lookup", "from", "the", "registry", "<", "p", "/", ">", "an", "element", "name", "strategy", "is", "used", "for", "two", "purposes", "the", "first", "is", "to", "find", "a", "xml", "element", "name", ...
[ "this", "element", "name", "strategy", "ref", "=", "element", "name", "strategy", "ref", ";" ]
[ "<", "p", ">", "for", "information", "about", "additional", "error", "codes", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "codedeploy", "/", "latest", "/", "userguide", "/", "error", "-", "codes", "html", ...
[ "set", "code", "(", "code", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "for", "information", "about", "additional", "error", "codes", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "codedeploy", "/", "latest", "/", "userguide", "/", "error", "-", "codes", "html", ...
[ "with", "code", "(", "code", ")", ";" ]
[ "<", "p", ">", "for", "information", "about", "additional", "error", "codes", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "codedeploy", "/", "latest", "/", "userguide", "/", "error", "-", "codes", "html", ...
[ "this", "code", "=", "code", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "accompanying", "error", "message", "<", "/", "p", ">" ]
[ "set", "message", "(", "message", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "domain", "name", "(", "e", "g", "<", "code", ">", "example", "com", "<", "/", "code", ">", ")", "for", "which", "you", "want", "to", "create", "the", "domain", "entry", "<", "/", "p", ">" ]
[ "set", "domain", "name", "(", "domain", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "key", "-", "value", "pairs", "containing", "information", "about", "your", "domain", "entries", "<", "/", "p", ">" ]
[ "this", "domain", "entry", "=", "domain", "entry", ";" ]
[ "<", "p", ">", "an", "array", "of", "key", "-", "value", "pairs", "containing", "information", "about", "your", "domain", "entries", "<", "/", "p", ">" ]
[ "return", "this", "domain", "entry", ";" ]
[ "<", "p", ">", "an", "array", "of", "key", "-", "value", "pairs", "containing", "information", "about", "the", "domain", "entry", "request", "<", "/", "p", ">" ]
[ "set", "domain", "entry", "(", "domain", "entry", ")", ";", "return", "this", ";" ]
[ "shows", "the", "sheet", "by", "morphing", "the", "fab", "into", "the", "sheet" ]
[ "sheet", "set", "visibility", "(", "view", "visible", ")", ";", "reveal", "sheet", "with", "fab", "(", "fab", ",", "get", "fab", "reveal", "radius", "(", "fab", ")", ",", "get", "sheet", "reveal", "radius", "(", ")", ",", "show", "sheet", "duration", ...
[ "hides", "the", "sheet", "by", "morphing", "the", "sheet", "into", "the", "fab" ]
[ "reveal", "sheet", "with", "fab", "(", "fab", ",", "get", "sheet", "reveal", "radius", "(", ")", ",", "get", "fab", "reveal", "radius", "(", "fab", ")", ",", "hide", "sheet", "duration", ",", "sheet", "color", ",", "fab", "color", ",", "hide", "sheet...
[ "<", "p", ">", "walks", "superclass", "and", "interface", "graph", "superclasses", "first", "then", "interfaces", "to", "compute", "an", "ancestry", "list", "supertypes", "are", "visited", "left", "to", "right", "duplicates", "are", "removed", "such", "that", ...
[ "concurrent", "map", "<", "class", "<", "?", ">", ",", "list", "<", "class", "<", "?", ">", ">", ">", "cache", "=", "get", "class", "ancestry", "cache", "(", ")", ";", "while", "(", "true", ")", "{", "list", "<", "class", "<", "?", ">", ">", ...
[ "starting", "with", "children", "and", "going", "back", "to", "parents" ]
[ "list", "<", "class", "<", "?", ">", ">", "result", "=", "new", "array", "list", "<", "class", "<", "?", ">", ">", "(", ")", ";", "result", "add", "(", "object", "class", ")", ";", "compute", "ancestry", "(", "c", ",", "result", ")", ";", "coll...
[ "class", "ancestry", "cache" ]
[ "return", "(", "ancestry", "cache", ")", ";" ]
[ "adds", "to", "{", "@", "code", "errors", "}", "a", "throwable", "for", "each", "problem", "detected", "looks", "for", "{", "@", "code", "before", "class", "}", "{", "@", "code", "after", "class", "}", "{", "@", "code", "before", "}", "and", "{", "...
[ "list", "<", "exception", ">", "errors", "=", "new", "array", "list", "<", "exception", ">", "(", ")", ";", "annotation", "[", "]", "annotations", "=", "method", "get", "annotations", "(", ")", ";", "for", "(", "annotation", "annotation", ":", "annotatio...
[ "builds", "a", "javassist", "-", "based", "proxy", "factory" ]
[ "return", "new", "javassist", "proxy", "factory", "(", ")", ";" ]
[ "constructs", "a", "basic", "proxy", "factory", "impl" ]
[ "return", "new", "basic", "proxy", "factory", "impl", "(", "super", "class", ",", "interfaces", ")", ";" ]
[ "a", "factory", "method", "to", "create", "a", "{" ]
[ "return", "new", "matchers", "class", "in", "package", "(", "package", "name", ")", ";" ]
[ "a", "factory", "method", "to", "create", "an", "{" ]
[ "return", "new", "matchers", "classes", "in", "surface", "matcher", "(", "class", "matchers", ")", ";" ]
[ "see", "{" ]
[ "return", "new", "matchers", "classes", "in", "surface", "matcher", "(", "sets", "new", "hash", "set", "(", "class", "matchers", ")", ")", ";" ]
[ "see", "{" ]
[ "return", "contains", "only", "packages", "(", "sets", "new", "hash", "set", "(", "package", "names", ")", ")", ";" ]
[ "a", "factory", "method", "to", "create", "an", "{" ]
[ "final", "function", "<", "string", ",", "matcher", "<", "class", "<", "?", ">", ">", ">", "package", "name", "to", "class", "matcher", "=", "api", "surface", ":", ":", "classes", "in", "package", ";", "final", "immutable", "set", "<", "matcher", "<", ...
[ "returns", "an", "{" ]
[ "return", "api", "surface", "empty", "(", ")", "including", "package", "(", "package", "name", ",", "class", "loader", ")", ";" ]
[ "returns", "an", "{" ]
[ "return", "of", "package", "(", "a", "package", "get", "name", "(", ")", ",", "class", "loader", ")", ";" ]
[ "returns", "an", "{" ]
[ "return", "api", "surface", "empty", "(", ")", "including", "class", "(", "clazz", ")", ";" ]
[ "returns", "an", "{" ]
[ "return", "pruning", "pattern", "(", "pattern", "compile", "(", "pattern", "quote", "(", "class", "name", ")", ")", ")", ";" ]
[ "returns", "an", "{" ]
[ "return", "pruning", "class", "name", "(", "clazz", "get", "name", "(", ")", ")", ";" ]
[ "returns", "an", "{" ]
[ "set", "<", "pattern", ">", "new", "patterns", "=", "sets", "new", "hash", "set", "(", ")", ";", "new", "patterns", "add", "all", "(", "patterns", "to", "prune", ")", ";", "new", "patterns", "add", "(", "pattern", ")", ";", "return", "new", "api", ...
[ "see", "{" ]
[ "return", "pruning", "pattern", "(", "pattern", "compile", "(", "pattern", "string", ")", ")", ";" ]
[ "returns", "all", "public", "classes", "originally", "belonging", "to", "the", "package", "in", "the", "{" ]
[ "return", "root", "classes", ";" ]
[ "returns", "exposed", "types", "in", "this", "set", "including", "arrays", "and", "primitives", "as", "specified" ]
[ "return", "get", "exposed", "to", "exposers", "(", ")", "key", "set", "(", ")", ";" ]
[ "a", "map", "from", "exposed", "types", "to", "place", "where", "they", "are", "exposed", "in", "the", "sense", "of", "being", "a", "part", "of", "a", "public", "-", "facing", "api", "surface" ]
[ "if", "(", "exposed", "to", "exposers", "=", "=", "null", ")", "{", "construct", "exposed", "to", "exposers", "(", ")", ";", "}", "return", "exposed", "to", "exposers", ";" ]
[ "see", "{" ]
[ "visited", "=", "sets", "new", "hash", "set", "(", ")", ";", "exposed", "to", "exposers", "=", "multimaps", "new", "set", "multimap", "(", "maps", "<", "class", "<", "?", ">", ",", "collection", "<", "class", "<", "?", ">", ">", ">", "new", "hash",...
[ "a", "combined", "{" ]
[ "if", "(", "pruned", "pattern", "=", "=", "null", ")", "{", "construct", "pruned", "pattern", "(", ")", ";", "}", "return", "pruned", "pattern", ";" ]
[ "whether", "a", "type", "and", "all", "that", "it", "references", "should", "be", "pruned", "from", "the", "graph" ]
[ "return", "pruned", "(", "type", "token", "of", "(", "type", ")", "get", "raw", "type", "(", ")", ")", ";" ]
[ "whether", "a", "class", "and", "all", "that", "it", "references", "should", "be", "pruned", "from", "the", "graph" ]
[ "return", "clazz", "is", "primitive", "(", ")", "|", "|", "clazz", "is", "array", "(", ")", "|", "|", "get", "pruned", "pattern", "(", ")", "matcher", "(", "clazz", "get", "name", "(", ")", ")", "matches", "(", ")", ";" ]
[ "whether", "a", "type", "has", "already", "beens", "sufficiently", "processed" ]
[ "return", "visited", "contains", "(", "type", ")", ";" ]
[ "returns", "an", "{" ]
[ "set", "<", "invokable", ">", "invokables", "=", "sets", "new", "hash", "set", "(", ")", ";", "for", "(", "constructor", "constructor", ":", "type", "get", "raw", "type", "(", ")", "get", "constructors", "(", ")", ")", "{", "if", "(", "0", "!", "="...
[ "returns", "true", "of", "the", "given", "modifier", "bitmap", "indicates", "exposure", "(", "public", "or", "protected", "access", ")" ]
[ "return", "0", "!", "=", "(", "modifiers", "&", "(", "modifier", "public", "|", "modifier", "protected", ")", ")", ";" ]
[ "<", "p", ">", "the", "scaling", "policies", "<", "/", "p", ">" ]
[ "return", "scaling", "policies", ";" ]
[ "<", "p", ">", "the", "scaling", "policies", "<", "/", "p", ">" ]
[ "if", "(", "scaling", "policies", "=", "=", "null", ")", "{", "this", "scaling", "policies", "=", "null", ";", "return", ";", "}", "this", "scaling", "policies", "=", "new", "java", "util", "array", "list", "<", "scaling", "policy", ">", "(", "scaling"...
[ "<", "p", ">", "collection", "of", "objects", "containing", "the", "scaling", "policies", "matching", "the", "request", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", ...
[ "if", "(", "this", "scaling", "policies", "=", "=", "null", ")", "{", "set", "scaling", "policies", "(", "new", "java", "util", "array", "list", "<", "scaling", "policy", ">", "(", "scaling", "policies", "length", ")", ")", ";", "}", "for", "(", "sca...
[ "<", "p", ">", "collection", "of", "objects", "containing", "the", "scaling", "policies", "matching", "the", "request", "<", "/", "p", ">" ]
[ "set", "scaling", "policies", "(", "scaling", "policies", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "token", "that", "indicates", "where", "to", "resume", "retrieving", "results", "on", "the", "next", "call", "to", "this", "action", "if", "no", "token", "is", "returned", "these", "results", "represent", "the", "end", "of", "the", "list", ...
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "template", "method", "for", "subtypes", "to", "actually", "run", "the", "transform" ]
[ "@", "for", "override", "abstract", "@", "nullable", "t", "do", "transform", "(", "f", "function", ",", "@", "nullable", "i", "result", ")", "throws", "exception", ";" ]
[ "template", "method", "for", "subtypes", "to", "actually", "set", "the", "result" ]
[ "@", "for", "override", "abstract", "void", "set", "result", "(", "@", "nullable", "t", "result", ")", ";" ]
[ "{" ]
[ "super", "before", "tests", "started", "(", ")", ";", "client", "=", "false", ";", "start", "grids", "multi", "threaded", "(", "nodes", "cnt", ")", ";", "client", "=", "true", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nodes", "cnt", ...
[ "configures", "some", "well", "-", "known", "properties", "before", "the", "xml", "configuration", "reads", "the", "configuration" ]
[ "jetty", "config", "set", "jetty", "standard", "ids", "and", "properties", "(", "context", "get", "server", "(", ")", ",", "null", ")", ";", "map", "<", "string", ",", "string", ">", "props", "=", "jetty", "config", "get", "properties", "(", ")", ";", ...
[ "a", "fixed", "value", "in", "an", "instance" ]
[ "int", "hash", "=", "seed", "*", "random", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "key", "length", "(", ")", ";", "i", "+", "+", ")", "hash", "=", "(", "hash", "*", "key", ")", "^", "key", "char", "at", "(", "i", ")", ";", ...
[ "initialization", "hook", "for", "subclasses", "<", "p", "/", ">", "this", "method", "is", "called", "in", "all", "pseudo", "-", "constructors", "(", "clone", "read", "object", ")", "after", "hash", "map", "has", "been", "initialized", "but", "before", "an...
[]
[ "returns", "index", "for", "hash", "code", "h" ]
[ "return", "h", "&", "(", "length", "-", "1", ")", ";" ]
[ "returns", "the", "value", "to", "which", "the", "specified", "key", "is", "mapped", "or", "{", "@", "code", "null", "}", "if", "this", "map", "contains", "no", "mapping", "for", "the", "key" ]
[ "if", "(", "key", "=", "=", "null", ")", "return", "get", "for", "null", "key", "(", ")", ";", "int", "hash", "=", "0", ";", "if", "(", "key", "instanceof", "string", ")", "hash", "=", "hash", "(", "hash", "string", "(", "(", "string", ")", "ke...
[ "offloaded", "version", "of", "get", "(", ")", "to", "look", "up", "null", "keys", "null", "keys", "map", "to", "index", "0", "this", "null", "case", "is", "split", "out", "into", "separate", "methods", "for", "the", "sake", "of", "performance", "in", ...
[ "for", "(", "entry", "<", "k", ",", "v", ">", "e", "=", "table", "[", "0", "]", ";", "e", "!", "=", "null", ";", "e", "=", "e", "next", ")", "{", "if", "(", "e", "key", "=", "=", "null", ")", "return", "e", "value", ";", "}", "return", ...
[ "returns", "<", "tt", ">", "true", "<", "/", "tt", ">", "if", "this", "map", "contains", "a", "mapping", "for", "the", "specified", "key" ]
[ "return", "get", "entry", "(", "key", ")", "!", "=", "null", ";" ]
[ "returns", "the", "entry", "associated", "with", "the", "specified", "key", "in", "the", "safely", "hash", "map", "returns", "null", "if", "the", "safely", "hash", "map", "contains", "no", "mapping", "for", "the", "key" ]
[ "int", "hash", "=", "(", "key", "=", "=", "null", ")", "?", "0", ":", "(", "key", "instanceof", "string", ")", "?", "hash", "(", "hash", "string", "(", "(", "string", ")", "key", ")", ")", ":", "hash", "(", "key", "hash", "code", "(", ")", ")...
[ "associates", "the", "specified", "value", "with", "the", "specified", "key", "in", "this", "map", "if", "the", "map", "previously", "contained", "a", "mapping", "for", "the", "key", "the", "old", "value", "is", "replaced" ]
[ "if", "(", "key", "=", "=", "null", ")", "return", "put", "for", "null", "key", "(", "value", ")", ";", "int", "hash", "=", "0", ";", "if", "(", "key", "instanceof", "string", ")", "hash", "=", "hash", "(", "hash", "string", "(", "(", "string", ...
[ "offloaded", "version", "of", "put", "for", "null", "keys" ]
[ "for", "(", "entry", "<", "k", ",", "v", ">", "e", "=", "table", "[", "0", "]", ";", "e", "!", "=", "null", ";", "e", "=", "e", "next", ")", "{", "if", "(", "e", "key", "=", "=", "null", ")", "{", "v", "old", "value", "=", "e", "value",...
[ "rehashes", "the", "contents", "of", "this", "map", "into", "a", "new", "array", "with", "a", "larger", "capacity", "this", "method", "is", "called", "automatically", "when", "the", "number", "of", "keys", "in", "this", "map", "reaches", "its", "threshold" ]
[ "entry", "<", "k", ",", "v", ">", "[", "]", "old", "table", "=", "table", ";", "int", "old", "capacity", "=", "old", "table", "length", ";", "if", "(", "old", "capacity", "=", "=", "maximum", "capacity", ")", "{", "threshold", "=", "integer", "max"...
[ "transfers", "all", "entries", "from", "current", "table", "to", "new", "table" ]
[ "entry", "[", "]", "src", "=", "table", ";", "int", "new", "capacity", "=", "new", "table", "length", ";", "for", "(", "int", "j", "=", "0", ";", "j", "<", "src", "length", ";", "j", "+", "+", ")", "{", "entry", "<", "k", ",", "v", ">", "e"...
[ "copies", "all", "of", "the", "mappings", "from", "the", "specified", "map", "to", "this", "map", "these", "mappings", "will", "replace", "any", "mappings", "that", "this", "map", "had", "for", "any", "of", "the", "keys", "currently", "in", "the", "specifi...
[ "int", "num", "keys", "to", "be", "added", "=", "m", "size", "(", ")", ";", "if", "(", "num", "keys", "to", "be", "added", "=", "=", "0", ")", "return", ";", "/", "*", "*", "expand", "the", "map", "if", "the", "map", "if", "the", "number", "o...
[ "removes", "the", "mapping", "for", "the", "specified", "key", "from", "this", "map", "if", "present" ]
[ "entry", "<", "k", ",", "v", ">", "e", "=", "remove", "entry", "for", "key", "(", "key", ")", ";", "return", "(", "e", "=", "=", "null", "?", "null", ":", "e", "value", ")", ";" ]
[ "removes", "and", "returns", "the", "entry", "associated", "with", "the", "specified", "key", "in", "the", "safely", "hash", "map", "returns", "null", "if", "the", "safely", "hash", "map", "contains", "no", "mapping", "for", "this", "key" ]
[ "int", "hash", "=", "(", "key", "=", "=", "null", ")", "?", "0", ":", "(", "key", "instanceof", "string", ")", "?", "hash", "(", "hash", "string", "(", "(", "string", ")", "key", ")", ")", ":", "hash", "(", "key", "hash", "code", "(", ")", ")...
[ "special", "version", "of", "remove", "for", "entry", "set" ]
[ "if", "(", "!", "(", "o", "instanceof", "map", "entry", ")", ")", "return", "null", ";", "map", "entry", "<", "k", ",", "v", ">", "entry", "=", "(", "map", "entry", "<", "k", ",", "v", ">", ")", "o", ";", "object", "key", "=", "entry", "get",...
[ "removes", "all", "of", "the", "mappings", "from", "this", "map", "the", "map", "will", "be", "empty", "after", "this", "call", "returns" ]
[ "mod", "count", "+", "+", ";", "entry", "[", "]", "tab", "=", "table", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "tab", "length", ";", "i", "+", "+", ")", "tab", "[", "i", "]", "=", "null", ";", "size", "=", "0", ";" ]
[ "returns", "<", "tt", ">", "true", "<", "/", "tt", ">", "if", "this", "map", "maps", "one", "or", "more", "keys", "to", "the", "specified", "value" ]
[ "if", "(", "value", "=", "=", "null", ")", "return", "contains", "null", "value", "(", ")", ";", "entry", "[", "]", "tab", "=", "table", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "tab", "length", ";", "i", "+", "+", ")", "for", ...
[ "special", "-", "case", "code", "for", "contains", "value", "with", "null", "argument" ]
[ "entry", "[", "]", "tab", "=", "table", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "tab", "length", ";", "i", "+", "+", ")", "for", "(", "entry", "e", "=", "tab", "[", "i", "]", ";", "e", "!", "=", "null", ";", "e", "=", "e",...