docstring_tokens
list
code_tokens
list
[ "start", "an", "activity", "to", "view", "the", "given", "repository" ]
[ "if", "(", "!", "info", "utils", "create", "repo", "id", "(", "repo", ")", "equals", "(", "info", "utils", "create", "repo", "id", "(", "repository", ")", ")", ")", "{", "super", "view", "repository", "(", "repository", ")", ";", "}" ]
[ "expose", "(", "and", "detect", ")", "the", "field", "as", "optional", "of", "map" ]
[ "return", "optional", "<", "map", "<", "k", ",", "v", ">", ">", "of", "nullable", "(", "map", ")", ";" ]
[ "alternatively", "it", "can", "be", "exposed", "as", "optional", "of", "immutable", "map" ]
[ "return", "optional", "of", "nullable", "(", "map", ")", ";" ]
[ "as", "field", "is", "nullable", "so", "null", "-", "safe", "hashcode", "required" ]
[ "return", "java", "util", "objects", "hash", "code", "(", "map", ")", ";" ]
[ "returns", "a", "long", "value", "for", "the", "current", "document", "if", "this", "iterator", "is", "a", "long", "iterator" ]
[ "abstract", "long", "long", "value", "(", ")", ";" ]
[ "returns", "a", "binary", "value", "for", "the", "current", "document", "if", "this", "iterator", "is", "a", "binary", "value", "iterator" ]
[ "abstract", "bytes", "ref", "binary", "value", "(", ")", ";" ]
[ "returns", "true", "if", "this", "doc", "has", "a", "value" ]
[ "abstract", "boolean", "has", "value", "(", ")", ";" ]
[ "wraps", "the", "given", "iterator", "as", "a", "binary", "doc", "values", "instance" ]
[ "return", "new", "binary", "doc", "values", "(", ")", "{", "@", "override", "public", "int", "doc", "i", "d", "(", ")", "{", "return", "iterator", "doc", "i", "d", "(", ")", ";", "}", "@", "override", "public", "bytes", "ref", "binary", "value", "(", ")", "{", "return", "iterator", "binary", "value", "(", ")", ";", "}", "@", "override", "public", "boolean", "advance", "exact", "(", "int", "target", ")", "{", "return", "iterator", "advance", "exact", "(", "target", ")", ";", "}", "@", "override", "public", "int", "next", "doc", "(", ")", "{", "return", "iterator", "next", "doc", "(", ")", ";", "}", "@", "override", "public", "int", "advance", "(", "int", "target", ")", "{", "return", "iterator", "advance", "(", "target", ")", ";", "}", "@", "override", "public", "long", "cost", "(", ")", "{", "return", "iterator", "cost", "(", ")", ";", "}", "}", ";" ]
[ "wraps", "the", "given", "iterator", "as", "a", "numeric", "doc", "values", "instance" ]
[ "return", "new", "numeric", "doc", "values", "(", ")", "{", "@", "override", "public", "long", "long", "value", "(", ")", "{", "return", "iterator", "long", "value", "(", ")", ";", "}", "@", "override", "public", "boolean", "advance", "exact", "(", "int", "target", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "@", "override", "public", "int", "doc", "i", "d", "(", ")", "{", "return", "iterator", "doc", "i", "d", "(", ")", ";", "}", "@", "override", "public", "int", "next", "doc", "(", ")", "{", "return", "iterator", "next", "doc", "(", ")", ";", "}", "@", "override", "public", "int", "advance", "(", "int", "target", ")", "{", "return", "iterator", "advance", "(", "target", ")", ";", "}", "@", "override", "public", "long", "cost", "(", ")", "{", "return", "iterator", "cost", "(", ")", ";", "}", "}", ";" ]
[ "adds", "the", "value", "for", "the", "given", "doc", "i", "d", "this", "method", "prevents", "conditional", "calls", "to", "{" ]
[ "abstract", "void", "add", "(", "int", "doc", "id", ",", "iterator", "iterator", ")", ";" ]
[ "todo", ":", "also", "use", "this", "for", "merging", "instead", "of", "having", "to", "write", "through", "to", "disk", "first" ]
[ "abstract", "iterator", "iterator", "(", ")", ";" ]
[ "returns", "true", "if", "this", "instance", "contains", "any", "updates" ]
[ "return", "size", ">", "0", ";" ]
[ "adds", "an", "update", "that", "resets", "the", "documents", "value" ]
[ "add", "internal", "(", "doc", ",", "has", "no", "value", "mask", ")", ";" ]
[ "called", "when", "the", "iterator", "moved", "to", "the", "next", "document" ]
[ "protected", "abstract", "void", "set", "(", "long", "idx", ")", ";" ]
[ "<", "p", ">", "a", "dimension", "map", "that", "contains", "the", "dimension", "(", "s", ")", "for", "this", "partition", "<", "/", "p", ">" ]
[ "return", "dimensions", ";" ]
[ "<", "p", ">", "a", "dimension", "map", "that", "contains", "the", "dimension", "(", "s", ")", "for", "this", "partition", "<", "/", "p", ">" ]
[ "this", "dimensions", "=", "dimensions", ";" ]
[ "<", "p", ">", "a", "map", "of", "name", "-", "value", "pairs", "for", "the", "dimensions", "in", "the", "group", "<", "/", "p", ">" ]
[ "set", "dimensions", "(", "dimensions", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "dimensions" ]
[ "this", "dimensions", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "aggregated", "metric", "value", "for", "the", "dimension", "(", "s", ")", "over", "the", "requested", "time", "range", "<", "/", "p", ">" ]
[ "set", "total", "(", "total", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "partition", "by", "<", "/", "code", ">", "was", "specified", "<", "code", ">", "partition", "keys", "<", "/", "code", ">", "contains", "the", "dimensions", "that", "were", "<", "/", "p", ">" ]
[ "return", "partitions", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "partition", "by", "<", "/", "code", ">", "was", "specified", "<", "code", ">", "partition", "keys", "<", "/", "code", ">", "contains", "the", "dimensions", "that", "were", "<", "/", "p", ">" ]
[ "if", "(", "partitions", "=", "=", "null", ")", "{", "this", "partitions", "=", "null", ";", "return", ";", "}", "this", "partitions", "=", "new", "java", "util", "array", "list", "<", "double", ">", "(", "partitions", ")", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "partition", "by", "<", "/", "code", ">", "was", "specified", "<", "code", ">", "partition", "keys", "<", "/", "code", ">", "contains", "the", "dimensions", "that", "were", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "partitions", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "partitions", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "partitions", "=", "=", "null", ")", "{", "set", "partitions", "(", "new", "java", "util", "array", "list", "<", "double", ">", "(", "partitions", "length", ")", ")", ";", "}", "for", "(", "double", "ele", ":", "partitions", ")", "{", "this", "partitions", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "partition", "by", "<", "/", "code", ">", "was", "specified", "<", "code", ">", "partition", "keys", "<", "/", "code", ">", "contains", "the", "dimensions", "that", "were", "<", "/", "p", ">" ]
[ "set", "partitions", "(", "partitions", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "handler", "on", "synthetic", "node", "update", "(", "this", ")", ";" ]
[ "handle", "a", "task", "status", "change" ]
[ "task", "router", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "reconciliation", "coordinator", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "scheduler", "driver", "acknowledge", "status", "update", "(", "message", "status", "(", ")", ")", ";" ]
[ "release", "the", "given", "started", "worker" ]
[ "release", "worker", "(", "worker", "get", "worker", "(", ")", ")", ";" ]
[ "called", "when", "reconnected", "to", "mesos", "following", "a", "failover", "event" ]
[ "connection", "monitor", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "launch", "coordinator", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "reconciliation", "coordinator", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "task", "router", "tell", "(", "message", ",", "self", "(", ")", ")", ";" ]
[ "called", "when", "disconnected", "from", "mesos" ]
[ "connection", "monitor", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "launch", "coordinator", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "reconciliation", "coordinator", "tell", "(", "message", ",", "self", "(", ")", ")", ";", "task", "router", "tell", "(", "message", ",", "self", "(", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "launchable", "mesos", "worker", "launchable", "=", "new", "launchable", "mesos", "worker", "(", "artifact", "resolver", ",", "task", "manager", "parameters", ",", "task", "manager", "container", "spec", ",", "task", "i", "d", ",", "mesos", "config", ")", ";", "return", "launchable", ";" ]
[ "extracts", "a", "unique", "resource", "i", "d", "from", "the", "mesos", "task" ]
[ "return", "new", "resource", "i", "d", "(", "task", "id", "get", "value", "(", ")", ")", ";" ]
[ "creates", "the", "fenzo", "optimizer", "(", "builder", ")", "the", "builder", "is", "an", "indirection", "to", "facilitate", "unit", "testing", "of", "the", "launch", "coordinator" ]
[ "return", "new", "task", "scheduler", "builder", "(", ")", "{", "task", "scheduler", "builder", "builder", "=", "new", "task", "scheduler", "builder", "(", ")", ";", "@", "override", "public", "task", "scheduler", "builder", "with", "lease", "reject", "action", "(", "action", "1", "<", "virtual", "machine", "lease", ">", "action", ")", "{", "builder", "with", "lease", "reject", "action", "(", "action", ")", ";", "return", "this", ";", "}", "@", "override", "public", "task", "scheduler", "build", "(", ")", "{", "return", "builder", "build", "(", ")", ";", "}", "}", ";" ]
[ "return", "the", "amount", "of", "data", "processed" ]
[ "return", "progress", ";" ]
[ "return", "progress", "based", "on", "the", "amount", "of", "data", "processed", "so", "far" ]
[ "return", "math", "min", "(", "1", "0f", ",", "progress", "/", "(", "float", ")", "(", "split", "get", "length", "(", ")", ")", ")", ";" ]
[ "do", "next", "and", "handle", "exception", "inside", "it" ]
[ "try", "{", "return", "cur", "reader", "next", "(", "key", ",", "value", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "return", "hive", "i", "o", "exception", "handler", "util", "handle", "record", "reader", "next", "exception", "(", "e", ",", "jc", ")", ";", "}" ]
[ "<", "p", ">", "the", "arn", "of", "the", "topic", "whose", "access", "control", "policy", "you", "wish", "to", "modify", "<", "/", "p", ">" ]
[ "set", "topic", "arn", "(", "topic", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "identification", "of", "the", "permission", "to", "remove", "this", "is", "the", "label", "added", "using", "the", "<", "code", ">", "<", "a", ">", "add", "permission", "<", "/", "a", ">", "<", "/", "code", ">", "action", "<", "/", "p", ">" ]
[ "set", "label", "(", "label", ")", ";", "return", "this", ";" ]
[ "creates", "a", "new", "{", "@", "code", "concurrent", "hash", "multiset", "}", "containing", "the", "specified", "elements", "using", "the", "default", "initial", "capacity", "load", "factor", "and", "concurrency", "settings" ]
[ "concurrent", "hash", "multiset", "<", "e", ">", "multiset", "=", "concurrent", "hash", "multiset", "create", "(", ")", ";", "iterables", "add", "all", "(", "multiset", ",", "elements", ")", ";", "return", "multiset", ";" ]
[ "creates", "a", "new", "empty", "{", "@", "code", "concurrent", "hash", "multiset", "}", "using", "{", "@", "code", "count", "map", "}", "as", "the", "internal", "backing", "map" ]
[ "return", "new", "concurrent", "hash", "multiset", "<", "e", ">", "(", "count", "map", ")", ";" ]
[ "returns", "the", "number", "of", "occurrences", "of", "{", "@", "code", "element", "}", "in", "this", "multiset" ]
[ "atomic", "integer", "existing", "counter", "=", "maps", "safe", "get", "(", "count", "map", ",", "element", ")", ";", "return", "(", "existing", "counter", "=", "=", "null", ")", "?", "0", ":", "existing", "counter", "get", "(", ")", ";" ]
[ "{", "@", "inherit", "doc", "}" ]
[ "long", "sum", "=", "0l", ";", "for", "(", "atomic", "integer", "value", ":", "count", "map", "values", "(", ")", ")", "{", "sum", "+", "=", "value", "get", "(", ")", ";", "}", "return", "ints", "saturated", "cast", "(", "sum", ")", ";" ]
[ "views" ]
[ "final", "set", "<", "e", ">", "delegate", "=", "count", "map", "key", "set", "(", ")", ";", "return", "new", "forwarding", "set", "<", "e", ">", "(", ")", "{", "@", "override", "protected", "set", "<", "e", ">", "delegate", "(", ")", "{", "return", "delegate", ";", "}", "@", "override", "public", "boolean", "contains", "(", "@", "nullable", "object", "object", ")", "{", "return", "object", "!", "=", "null", "&", "&", "collections", "2", "safe", "contains", "(", "delegate", ",", "object", ")", ";", "}", "@", "override", "public", "boolean", "contains", "all", "(", "collection", "<", "?", ">", "collection", ")", "{", "return", "standard", "contains", "all", "(", "collection", ")", ";", "}", "@", "override", "public", "boolean", "remove", "(", "object", "object", ")", "{", "return", "object", "!", "=", "null", "&", "&", "collections", "2", "safe", "remove", "(", "delegate", ",", "object", ")", ";", "}", "@", "override", "public", "boolean", "remove", "all", "(", "collection", "<", "?", ">", "c", ")", "{", "return", "standard", "remove", "all", "(", "c", ")", ";", "}", "}", ";" ]
[ "set", "the", "user", "s", "time", "zone", "<", "p", ">", "alternatively", "set", "a", "{" ]
[ "this", "time", "zone", "=", "time", "zone", ";" ]
[ "return", "the", "user", "s", "time", "zone", "if", "any" ]
[ "return", "this", "time", "zone", ";" ]
[ "get", "the", "date", "time", "formatter", "with", "the", "this", "context", "s", "settings", "applied", "to", "the", "base", "{" ]
[ "if", "(", "this", "chronology", "!", "=", "null", ")", "{", "formatter", "=", "formatter", "with", "chronology", "(", "this", "chronology", ")", ";", "}", "if", "(", "this", "time", "zone", "!", "=", "null", ")", "{", "formatter", "=", "formatter", "with", "zone", "(", "this", "time", "zone", ")", ";", "}", "else", "{", "locale", "context", "locale", "context", "=", "locale", "context", "holder", "get", "locale", "context", "(", ")", ";", "if", "(", "locale", "context", "instanceof", "time", "zone", "aware", "locale", "context", ")", "{", "time", "zone", "time", "zone", "=", "(", "(", "time", "zone", "aware", "locale", "context", ")", "locale", "context", ")", "get", "time", "zone", "(", ")", ";", "if", "(", "time", "zone", "!", "=", "null", ")", "{", "formatter", "=", "formatter", "with", "zone", "(", "date", "time", "zone", "for", "time", "zone", "(", "time", "zone", ")", ")", ";", "}", "}", "}", "return", "formatter", ";" ]
[ "style", "1", "(", "13", "3", "7", "2", "1", "@", "1", ")" ]
[ "if", "(", "method", "intf", "!", "=", "null", "&", "&", "class", "name", "!", "=", "null", ")", "throw", "ejb", "logger", "root", "logger", "both", "method", "int", "and", "class", "name", "set", "(", "component", "name", ")", ";", "if", "(", "method", "intf", "=", "=", "null", ")", "{", "style", "1", "put", "(", "class", "name", ",", "attribute", ")", ";", "}", "else", "per", "view", "style", "1", "put", "(", "method", "intf", ",", "attribute", ")", ";" ]
[ "style", "2", "(", "13", "3", "7", "2", "1", "@", "2", ")" ]
[ "if", "(", "method", "intf", "=", "=", "null", ")", "style", "2", "put", "(", "method", "name", ",", "transaction", "attribute", ")", ";", "else", "per", "view", "style", "2", "pick", "(", "method", "intf", ")", "put", "(", "method", "name", ",", "transaction", "attribute", ")", ";" ]
[ "style", "3", "(", "13", "3", "7", "2", "1", "@", "3", ")" ]
[ "array", "key", "method", "params", "key", "=", "new", "array", "key", "(", "(", "object", "[", "]", ")", "method", "params", ")", ";", "if", "(", "method", "intf", "=", "=", "null", ")", "style", "3", "pick", "(", "class", "name", ")", "pick", "(", "method", "name", ")", "put", "(", "method", "params", "key", ",", "transaction", "attribute", ")", ";", "else", "per", "view", "style", "3", "pick", "(", "method", "intf", ")", "pick", "(", "method", "name", ")", "put", "(", "method", "params", "key", ",", "transaction", "attribute", ")", ";" ]
[ "returns", "the", "widget", "type", "for", "this", "classification", "context" ]
[ "return", "m", "widget", "type", ";" ]
[ "sets", "an", "optional", "custom", "version", "string", "for", "the", "widget", "type" ]
[ "m", "widget", "version", "=", "widget", "version", ";", "return", "this", ";" ]
[ "builds", "the", "text", "classification", "context", "object" ]
[ "return", "new", "text", "classification", "context", "(", "m", "package", "name", ",", "m", "widget", "type", ",", "m", "widget", "version", ")", ";" ]
[ "sets", "the", "text", "shown", "in", "the", "title", "section" ]
[ "m", "title", "set", "text", "(", "text", ")", ";" ]
[ "sets", "the", "text", "shown", "in", "the", "description", "section" ]
[ "m", "description", "set", "text", "(", "text", ")", ";" ]
[ "returns", "true", "if", "checked" ]
[ "return", "m", "radio", "button", "is", "checked", "(", ")", ";" ]
[ "sets", "the", "checked", "status" ]
[ "m", "radio", "button", "set", "checked", "(", "checked", ")", ";" ]
[ "sets", "the", "group", "of", "radio", "button", "with", "descriptions", "that", "should", "be", "unchecked", "when", "this", "button", "is", "checked" ]
[ "m", "group", "=", "group", ";" ]
[ "returns", "the", "{" ]
[ "dictionary", "dict", "=", "this", "dictionary", ";", "if", "(", "dict", "=", "=", "null", ")", "{", "synchronized", "(", "this", ")", "{", "dict", "=", "this", "dictionary", ";", "if", "(", "dict", "=", "=", "null", ")", "{", "url", "url", "=", "j", "language", "tool", "get", "data", "broker", "(", ")", "get", "from", "resource", "dir", "as", "url", "(", "resource", "file", "name", ")", ";", "this", "dictionary", "=", "dict", "=", "dictionary", "read", "(", "url", ")", ";", "}", "}", "}", "return", "dict", ";" ]
[ "get", "a", "form", "of", "a", "given", "analyzed", "token", "where", "the", "form", "is", "defined", "by", "a", "part", "-", "of", "-", "speech", "tag" ]
[ "list", "<", "string", ">", "word", "forms", "=", "new", "array", "list", "<", ">", "(", ")", ";", "lookup", "(", "token", "get", "lemma", "(", ")", ",", "pos", "tag", ",", "word", "forms", ")", ";", "return", "word", "forms", "to", "array", "(", "new", "string", "[", "word", "forms", "size", "(", ")", "]", ")", ";" ]
[ "returns", "the", "several" ]
[ "return", "several", ";" ]
[ "sets", "the", "several" ]
[ "this", "several", "=", "several", ";" ]
[ "<", "p", ">", "the", "instance", "type", "<", "/", "p", ">" ]
[ "set", "instance", "type", "(", "instance", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "instance", "type", "<", "/", "p", ">" ]
[ "this", "instance", "type", "=", "instance", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "price", "per", "unit", "hour", "that", "you", "are", "willing", "to", "pay", "for", "a", "spot", "instance", "<", "/", "p", ">" ]
[ "set", "max", "price", "(", "max", "price", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "subnet", "in", "which", "to", "launch", "the", "instances", "<", "/", "p", ">" ]
[ "set", "subnet", "id", "(", "subnet", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "availability", "zone", "in", "which", "to", "launch", "the", "instances", "<", "/", "p", ">" ]
[ "set", "availability", "zone", "(", "availability", "zone", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "units", "provided", "by", "the", "specified", "instance", "type", "<", "/", "p", ">" ]
[ "set", "weighted", "capacity", "(", "weighted", "capacity", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "priority", "for", "the", "launch", "template", "override", "if", "<", "b", ">", "allocation", "strategy", "<", "/", "b", ">", "is", "set", "to", "<", "code", ">", "prioritized", "<", "/", "code", ">", "ec2", "fleet", "uses", "priority", "to", "determine", "which", "launch", "template", "override", "to", "use", "first", "in", "fulfilling", "on", "-", "demand", "capacity", "the", "highest", "priority", "is", "launched", "first", "valid", "values", "are", "whole", "numbers", "starting", "at", "<", "code", ">", "0", "<", "/", "code", ">", "the", "lower", "the", "number", "the", "higher", "the", "priority", "if", "no", "number", "is", "set", "the", "override", "has", "the", "lowest", "priority", "<", "/", "p", ">" ]
[ "set", "priority", "(", "priority", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "schema", "version", "of", "this", "data", "type", "<", "/", "p", ">" ]
[ "set", "schema", "version", "(", "schema", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "assessment", "run", "during", "which", "the", "finding", "is", "generated", "<", "/", "p", ">" ]
[ "set", "assessment", "run", "arn", "(", "assessment", "run", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "rules", "package", "that", "is", "used", "to", "generate", "the", "finding", "<", "/", "p", ">" ]
[ "this", "rules", "package", "arn", "=", "rules", "package", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "rules", "package", "that", "is", "used", "to", "generate", "the", "finding", "<", "/", "p", ">" ]
[ "return", "this", "rules", "package", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "rules", "package", "that", "is", "used", "to", "generate", "the", "finding", "<", "/", "p", ">" ]
[ "set", "rules", "package", "arn", "(", "rules", "package", "arn", ")", ";", "return", "this", ";" ]
[ "called", "when", "the", "user", "took", "some", "actions", "that", "should", "be", "taken", "into", "consideration", "to", "update", "the", "lru", "list", "for", "input", "method", "rotation" ]
[ "abstract", "protected", "void", "on", "user", "action", "(", ")", ";" ]
[ "pass", "in", "an", "optional", "key", "object", "to", "help", "the", "load", "balancer", "to", "choose", "a", "specific", "server", "among", "its", "server", "list", "depending", "on", "the", "load", "balancer", "implementation" ]
[ "this", "load", "balancer", "key", "=", "key", ";", "return", "this", ";" ]
[ "pin", "the", "operation", "to", "a", "specific", "server", "otherwise", "run", "on", "any", "server", "returned", "by", "the", "load", "balancer" ]
[ "this", "server", "=", "server", ";", "return", "this", ";" ]
[ "return", "an", "observable", "that", "either", "emits", "only", "the", "single", "requested", "server", "or", "queries", "the", "load", "balancer", "for", "the", "next", "server", "on", "each", "subscription" ]
[ "return", "observable", "create", "(", "new", "on", "subscribe", "<", "server", ">", "(", ")", "{", "@", "override", "public", "void", "call", "(", "subscriber", "<", "?", "super", "server", ">", "next", ")", "{", "try", "{", "server", "server", "=", "load", "balancer", "context", "get", "server", "from", "load", "balancer", "(", "load", "balancer", "u", "r", "i", ",", "load", "balancer", "key", ")", ";", "next", "on", "next", "(", "server", ")", ";", "next", "on", "completed", "(", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "next", "on", "error", "(", "e", ")", ";", "}", "}", "}", ")", ";" ]
[ "returns", "the", "skylark", "module", "annotation", "for", "the", "top", "-", "level", "skylark", "module" ]
[ "return", "top", "level", "module", "class", "get", "annotation", "(", "skylark", "module", "class", ")", ";" ]
[ "collects", "the", "documentation", "for", "all", "skylark", "modules", "and", "returns", "a", "map", "that", "maps", "skylark", "module", "name", "to", "the", "module", "documentation" ]
[ "map", "<", "string", ",", "skylark", "module", "doc", ">", "modules", "=", "new", "tree", "map", "<", ">", "(", ")", ";", "for", "(", "class", "<", "?", ">", "candidate", "class", ":", "classpath", "find", "classes", "(", "modules", "package", "prefix", ")", ")", "{", "skylark", "module", "module", "annotation", "=", "candidate", "class", "get", "annotation", "(", "skylark", "module", "class", ")", ";", "if", "(", "module", "annotation", "!", "=", "null", ")", "{", "collect", "java", "objects", "(", "module", "annotation", ",", "candidate", "class", ",", "modules", ")", ";", "}", "else", "if", "(", "candidate", "class", "get", "annotation", "(", "skylark", "global", "library", "class", ")", "!", "=", "null", ")", "{", "collect", "builtin", "methods", "(", "modules", ",", "candidate", "class", ")", ";", "}", "collect", "builtin", "doc", "(", "modules", ",", "candidate", "class", "get", "declared", "fields", "(", ")", ")", ";", "}", "return", "modules", ";" ]
[ "attempts", "to", "resolve", "the", "declaration", "corresponding", "to", "the", "invoked", "constructor", "if", "successful", "a", "{", "@", "link", "resolved", "constructor", "declaration", "}", "representing", "the", "declaration", "of", "the", "constructor", "invoked", "by", "this", "{", "@", "code", "object", "creation", "expr", "}", "is", "returned", "otherwise", "an", "{", "@", "link", "unsolved", "symbol", "exception", "}", "is", "thrown" ]
[ "return", "get", "symbol", "resolver", "(", ")", "resolve", "declaration", "(", "this", ",", "resolved", "constructor", "declaration", "class", ")", ";" ]
[ "<", "p", ">", "the", "<", "a", ">", "documentation", "part", "<", "/", "a", ">", "identifier", "generated", "by", "api", "gateway", "when", "the", "<", "code", ">", "documentation", "part", "<", "/", "code", ">", "is", "created", "<", "/", "p", ">" ]
[ "set", "id", "(", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "location", "of", "the", "api", "entity", "to", "which", "the", "documentation", "applies", "valid", "fields", "depend", "on", "the", "targeted", "api", "entity", "type", "all", "the", "valid", "location", "fields", "are", "not", "required", "if", "not", "explicitly", "specified", "a", "valid", "location", "field", "is", "treated", "as", "a", "wildcard", "and", "associated", "documentation", "content", "may", "be", "inherited", "by", "matching", "entities", "unless", "overridden", "<", "/", "p", ">" ]
[ "set", "location", "(", "location", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "content", "map", "of", "api", "-", "specific", "key", "-", "value", "pairs", "describing", "the", "targeted", "api", "entity", "the", "map", "must", "be", "encoded", "as", "a", "json", "string", "e", "g", "<", "code", ">", "{", "\\", "description", "\\", ":", "\\", "the", "api", "does", "\\", "}", "<", "/", "code", ">", "only", "open", "a", "p", "i", "-", "compliant", "documentation", "-", "related", "fields", "from", "the", "<", "literal", ">", "properties", "<", "/", "literal", ">", "map", "are", "exported", "and", "hence", "published", "as", "part", "of", "the", "api", "entity", "definitions", "while", "the", "original", "documentation", "parts", "are", "exported", "in", "a", "open", "a", "p", "i", "extension", "of", "<", "code", ">", "x", "-", "amazon", "-", "apigateway", "-", "documentation", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "properties", "(", "properties", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "reference", "to", "the", "index", "object", "<", "/", "p", ">" ]
[ "set", "index", "reference", "(", "index", "reference", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "reference", "to", "the", "object", "being", "detached", "from", "the", "index", "<", "/", "p", ">" ]
[ "set", "target", "reference", "(", "target", "reference", ")", ";", "return", "this", ";" ]
[ "view", "methods", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "super", "on", "layout", "(", "changed", ",", "left", ",", "top", ",", "right", ",", "bottom", ")", ";", "m", "bitmap", "rect", "=", "get", "bitmap", "rect", "(", ")", ";", "init", "crop", "window", "(", "m", "bitmap", "rect", ")", ";" ]
[ "handles", "a", "{" ]
[ "if", "(", "m", "pressed", "handle", "!", "=", "null", ")", "{", "m", "pressed", "handle", "=", "null", ";", "invalidate", "(", ")", ";", "}" ]
[ "<", "p", ">", "the", "locations", "<", "/", "p", ">" ]
[ "if", "(", "locations", "=", "=", "null", ")", "{", "locations", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "location", ">", "(", ")", ";", "}", "return", "locations", ";" ]
[ "<", "p", ">", "the", "locations", "<", "/", "p", ">" ]
[ "if", "(", "locations", "=", "=", "null", ")", "{", "this", "locations", "=", "null", ";", "return", ";", "}", "this", "locations", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "location", ">", "(", "locations", ")", ";" ]
[ "<", "p", ">", "the", "locations", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "locations", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "locations", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "locations", "=", "=", "null", ")", "{", "set", "locations", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "location", ">", "(", "locations", "length", ")", ")", ";", "}", "for", "(", "location", "ele", ":", "locations", ")", "{", "this", "locations", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "locations", "<", "/", "p", ">" ]
[ "set", "locations", "(", "locations", ")", ";", "return", "this", ";" ]
[ "does", "a", "safe", "comparison", "of", "two", "{", "@", "link", "comparable", "}", "objects", "accounting", "for", "nulls" ]
[ "if", "(", "d", "1", "!", "=", "null", "&", "&", "d", "2", "!", "=", "null", ")", "{", "return", "d", "1", "compare", "to", "(", "d", "2", ")", ";", "}", "else", "if", "(", "d", "1", "=", "=", "null", "&", "&", "d", "2", "!", "=", "null", ")", "{", "return", "-", "1", ";", "}", "else", "if", "(", "d", "1", "!", "=", "null", "&", "&", "d", "2", "=", "=", "null", ")", "{", "return", "1", ";", "}", "else", "{", "return", "0", ";", "}" ]
[ "update", "o", "auth", "code" ]
[ "if", "(", "holder", "get", "token", "(", ")", "instanceof", "o", "auth", "code", ")", "{", "val", "code", "state", "=", "ticket", "state", "class", "cast", "(", "holder", "get", "token", "(", ")", ")", ";", "code", "state", "update", "(", ")", ";", "if", "(", "holder", "get", "token", "(", ")", "is", "expired", "(", ")", ")", "{", "this", "ticket", "registry", "delete", "ticket", "(", "holder", "get", "token", "(", ")", "get", "id", "(", ")", ")", ";", "}", "else", "{", "this", "ticket", "registry", "update", "ticket", "(", "holder", "get", "token", "(", ")", ")", ";", "}", "this", "ticket", "registry", "update", "ticket", "(", "holder", "get", "ticket", "granting", "ticket", "(", ")", ")", ";", "}" ]
[ "add", "ticket", "to", "registry" ]
[ "add", "ticket", "to", "registry", "(", "ticket", ",", "null", ")", ";" ]
[ "}" ]
[ "for", "(", "object", "target", ":", "targets", ")", "{", "if", "(", "target", "instanceof", "configured", ")", "{", "configured", "configured", "target", "=", "(", "configured", ")", "target", ";", "configured", "target", "set", "conf", "(", "from", "get", "conf", "(", ")", ")", ";", "}", "}" ]
[ "{" ]
[ "collection", "keys", "=", "(", "(", "cache", "partial", "update", "checked", "exception", ")", "get", "cause", "(", ")", ")", "failed", "keys", "(", ")", ";", "writer", "write", "boolean", "(", "keep", "binary", ")", ";", "platform", "utils", "write", "nullable", "collection", "(", "writer", ",", "keys", ")", ";" ]
[ "given", "a", "tree", "that", "has", "been", "determined", "to", "be", "at", "constructor", "scope", "walks", "it", "looking", "for", "problems", "emits", "error", "descriptions", "as", "it", "goes", "via", "{" ]
[ "protected", "abstract", "void", "traverse", "(", "tree", "tree", ",", "visitor", "state", "state", ")", ";" ]
[ "set", "the", "value", "for", "a", "field", "arrays", "will", "be", "converted", "to", "a", "collection", "if", "a", "collection", "is", "given", "then", "that", "collection", "will", "be", "used", "as", "the", "backing", "collection", "for", "the", "values" ]
[ "if", "(", "v", "instanceof", "object", "[", "]", ")", "{", "object", "[", "]", "arr", "=", "(", "object", "[", "]", ")", "v", ";", "collection", "<", "object", ">", "c", "=", "new", "array", "list", "<", ">", "(", "arr", "length", ")", ";", "for", "(", "object", "o", ":", "arr", ")", "{", "c", "add", "(", "o", ")", ";", "}", "value", "=", "c", ";", "}", "else", "{", "value", "=", "v", ";", "}" ]
[ "{" ]
[ "byte", "buffer", "bb", "=", "byte", "buffer", "wrap", "(", "data", ")", "order", "(", "byte", "order", "little", "endian", ")", ";", "calendar", "cal", "=", "calendar", "get", "instance", "(", ")", ";", "cal", "set", "(", "calendar", "year", ",", "1900", "+", "bb", "get", "(", "value", "type", "get", "data", "offset", "(", ")", "+", "5", ")", ")", ";", "cal", "set", "(", "calendar", "month", ",", "bb", "get", "(", "value", "type", "get", "data", "offset", "(", ")", "+", "4", ")", ")", ";", "cal", "set", "(", "calendar", "day", "of", "month", ",", "bb", "get", "(", "value", "type", "get", "data", "offset", "(", ")", "+", "3", ")", ")", ";", "cal", "set", "(", "calendar", "hour", "of", "day", ",", "bb", "get", "(", "value", "type", "get", "data", "offset", "(", ")", "+", "2", ")", ")", ";", "cal", "set", "(", "calendar", "minute", ",", "bb", "get", "(", "value", "type", "get", "data", "offset", "(", ")", "+", "1", ")", ")", ";", "cal", "set", "(", "calendar", "second", ",", "bb", "get", "(", "value", "type", "get", "data", "offset", "(", ")", "+", "0", ")", ")", ";", "return", "new", "date", "time", "type", "(", "cal", ")", ";" ]
[ "returns", "the", "number", "of", "rows", "in", "this", "window" ]
[ "acquire", "reference", "(", ")", ";", "try", "{", "return", "get", "num", "rows", "native", "(", ")", ";", "}", "finally", "{", "release", "reference", "(", ")", ";", "}" ]
[ "set", "number", "of", "columns" ]
[ "acquire", "reference", "(", ")", ";", "try", "{", "return", "set", "num", "columns", "native", "(", "column", "num", ")", ";", "}", "finally", "{", "release", "reference", "(", ")", ";", "}" ]
[ "allocate", "a", "row", "in", "cursor", "window" ]
[ "acquire", "reference", "(", ")", ";", "try", "{", "return", "alloc", "row", "native", "(", ")", ";", "}", "finally", "{", "release", "reference", "(", ")", ";", "}" ]