docstring_tokens
sequence
code_tokens
sequence
[ "return", "the", "aggregation", "buffer", "for", "the", "current", "group", "for", "efficiency", "all", "calls", "to", "this", "method", "return", "the", "same", "object", "if", "additional", "memory", "could", "not", "be", "allocated", "then", "this", "method", "will", "signal", "an", "error", "by", "returning", "null" ]
[ "return", "get", "aggregation", "buffer", "from", "unsafe", "row", "(", "grouping", "key", ")", ";" ]
[ "returns", "an", "iterator", "over", "the", "keys", "and", "values", "in", "this", "map", "this", "uses", "destructive", "iterator", "of", "bytes", "to", "bytes", "map", "so", "it", "is", "illegal", "to", "call", "any", "other", "method", "on", "this", "map", "after", "iterator", "(", ")", "has", "been", "called" ]
[ "return", "new", "k", "v", "iterator", "<", "unsafe", "row", ",", "unsafe", "row", ">", "(", ")", "{", "private", "final", "bytes", "to", "bytes", "map", "map", "iterator", "map", "location", "iterator", "=", "map", "iterator", "(", ")", ";", "private", "final", "unsafe", "row", "key", "=", "new", "unsafe", "row", "(", "grouping", "key", "schema", "length", "(", ")", ")", ";", "private", "final", "unsafe", "row", "value", "=", "new", "unsafe", "row", "(", "aggregation", "buffer", "schema", "length", "(", ")", ")", ";", "@", "override", "public", "boolean", "next", "(", ")", "{", "if", "(", "map", "location", "iterator", "has", "next", "(", ")", ")", "{", "final", "bytes", "to", "bytes", "map", "location", "loc", "=", "map", "location", "iterator", "next", "(", ")", ";", "if", "(", "loc", "=", "=", "null", ")", "return", "false", ";", "key", "point", "to", "(", "loc", "get", "key", "base", "(", ")", ",", "loc", "get", "key", "offset", "(", ")", ",", "loc", "get", "key", "length", "(", ")", ")", ";", "value", "point", "to", "(", "loc", "get", "value", "base", "(", ")", ",", "loc", "get", "value", "offset", "(", ")", ",", "loc", "get", "value", "length", "(", ")", ")", ";", "return", "true", ";", "}", "else", "{", "return", "false", ";", "}", "}", "@", "override", "public", "unsafe", "row", "get", "key", "(", ")", "{", "return", "key", ";", "}", "@", "override", "public", "unsafe", "row", "get", "value", "(", ")", "{", "return", "value", ";", "}", "@", "override", "public", "void", "close", "(", ")", "{", "}", "}", ";" ]
[ "return", "the", "peak", "memory", "used", "so", "far", "in", "bytes" ]
[ "return", "map", "get", "peak", "memory", "used", "bytes", "(", ")", ";" ]
[ "free", "the", "memory", "associated", "with", "this", "map", "this", "is", "idempotent", "and", "can", "be", "called", "multiple", "times" ]
[ "map", "free", "(", ")", ";" ]
[ "sorts", "the", "map", "s", "records", "in", "place", "spill", "them", "to", "disk", "and", "returns", "an", "[", "[", "unsafe", "k", "v", "external", "sorter", "]", "]" ]
[ "return", "new", "unsafe", "k", "v", "external", "sorter", "(", "grouping", "key", "schema", ",", "aggregation", "buffer", "schema", ",", "mycat", "server", "get", "instance", "(", ")", "get", "my", "cat", "memory", "(", ")", "get", "block", "manager", "(", ")", ",", "mycat", "server", "get", "instance", "(", ")", "get", "my", "cat", "memory", "(", ")", "get", "serializer", "manager", "(", ")", ",", "map", "get", "page", "size", "bytes", "(", ")", ",", "map", ")", ";" ]
[ "the", "actor", "that", "sent", "the", "request" ]
[ "return", "from", ";" ]
[ "called", "only", "by", "request", "reply", "helper" ]
[ "this", "id", "=", "id", ";" ]
[ "called", "only", "by", "request", "reply", "helper" ]
[ "this", "from", "=", "from", ";" ]
[ "/", "*", "only", "works", "for", "3x", "3", "board" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "board", "length", ";", "i", "+", "+", ")", "{", "if", "(", "board", "[", "i", "]", "[", "0", "]", "!", "=", "piece", "empty", "&", "&", "board", "[", "i", "]", "[", "0", "]", "=", "=", "board", "[", "i", "]", "[", "1", "]", "&", "&", "board", "[", "i", "]", "[", "0", "]", "=", "=", "board", "[", "i", "]", "[", "2", "]", ")", "{", "return", "board", "[", "i", "]", "[", "0", "]", ";", "}", "if", "(", "board", "[", "0", "]", "[", "i", "]", "!", "=", "piece", "empty", "&", "&", "board", "[", "0", "]", "[", "i", "]", "=", "=", "board", "[", "1", "]", "[", "i", "]", "&", "&", "board", "[", "0", "]", "[", "i", "]", "=", "=", "board", "[", "2", "]", "[", "i", "]", ")", "{", "return", "board", "[", "0", "]", "[", "i", "]", ";", "}", "}", "if", "(", "board", "[", "0", "]", "[", "0", "]", "!", "=", "piece", "empty", "&", "&", "board", "[", "0", "]", "[", "0", "]", "=", "=", "board", "[", "1", "]", "[", "1", "]", "&", "&", "board", "[", "0", "]", "[", "0", "]", "=", "=", "board", "[", "2", "]", "[", "2", "]", ")", "{", "return", "board", "[", "0", "]", "[", "0", "]", ";", "}", "if", "(", "board", "[", "2", "]", "[", "0", "]", "!", "=", "piece", "empty", "&", "&", "board", "[", "2", "]", "[", "0", "]", "=", "=", "board", "[", "1", "]", "[", "1", "]", "&", "&", "board", "[", "2", "]", "[", "0", "]", "=", "=", "board", "[", "0", "]", "[", "2", "]", ")", "{", "return", "board", "[", "2", "]", "[", "0", "]", ";", "}", "return", "piece", "empty", ";" ]
[ "handle", "annotations", "relating", "to", "the", "component", "that", "have", "been", "found", "in", "the", "deployment", "will", "not", "be", "called", "if", "the", "deployment", "is", "metadata", "complete" ]
[ "protected", "abstract", "void", "handle", "annotations", "(", "final", "deployment", "unit", "deployment", "unit", ",", "final", "e", "e", "application", "classes", "application", "classes", ",", "final", "deployment", "reflection", "index", "deployment", "reflection", "index", ",", "final", "class", "<", "?", ">", "component", "class", ",", "final", "t", "description", ")", "throws", "deployment", "unit", "processing", "exception", ";" ]
[ "handle", "the", "deployment", "descriptor" ]
[ "protected", "abstract", "void", "handle", "deployment", "descriptor", "(", "final", "deployment", "unit", "deployment", "unit", ",", "final", "deployment", "reflection", "index", "deployment", "reflection", "index", ",", "final", "class", "<", "?", ">", "component", "class", ",", "final", "t", "description", ")", "throws", "deployment", "unit", "processing", "exception", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "a", ">", "account", "quota", "<", "/", "a", ">", "objects", "within", "this", "list", "each", "quota", "has", "a", "name", "a", "count", "of", "usage", "toward", "the", "quota", "maximum", "and", "a", "maximum", "value", "for", "the", "quota", "<", "/", "p", ">" ]
[ "if", "(", "account", "quotas", "=", "=", "null", ")", "{", "account", "quotas", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "account", "quota", ">", "(", ")", ";", "}", "return", "account", "quotas", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "a", ">", "account", "quota", "<", "/", "a", ">", "objects", "within", "this", "list", "each", "quota", "has", "a", "name", "a", "count", "of", "usage", "toward", "the", "quota", "maximum", "and", "a", "maximum", "value", "for", "the", "quota", "<", "/", "p", ">" ]
[ "if", "(", "account", "quotas", "=", "=", "null", ")", "{", "this", "account", "quotas", "=", "null", ";", "return", ";", "}", "this", "account", "quotas", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "account", "quota", ">", "(", "account", "quotas", ")", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "a", ">", "account", "quota", "<", "/", "a", ">", "objects", "within", "this", "list", "each", "quota", "has", "a", "name", "a", "count", "of", "usage", "toward", "the", "quota", "maximum", "and", "a", "maximum", "value", "for", "the", "quota", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "account", "quotas", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "account", "quotas", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "account", "quotas", "=", "=", "null", ")", "{", "set", "account", "quotas", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "account", "quota", ">", "(", "account", "quotas", "length", ")", ")", ";", "}", "for", "(", "account", "quota", "ele", ":", "account", "quotas", ")", "{", "this", "account", "quotas", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "{" ]
[ "super", "register", "operations", "(", "container", ")", ";", "container", "register", "operation", "handler", "(", "add", "mime", ",", "mime", "mapping", "add", "instance", ")", ";", "container", "register", "operation", "handler", "(", "remove", "mime", ",", "mime", "mapping", "remove", "instance", ")", ";" ]
[ "checks", "to", "see", "if", "the", "next", "character", "matches", "the", "parameter" ]
[ "return", "peek", "(", ")", "=", "=", "c", ";" ]
[ "increments", "the", "mark", "over", "white", "spaces" ]
[ "for", "(", "int", "i", "=", "mark", ";", "i", "<", "chars", "length", ";", "i", "+", "+", ")", "{", "if", "(", "character", "is", "whitespace", "(", "chars", "[", "i", "]", ")", ")", "{", "mark", "+", "+", ";", "}", "else", "{", "break", ";", "}", "}" ]
[ "copy", "all", "bytes", "from", "input", "stream", "to", "output", "stream" ]
[ "long", "count", "=", "0", ";", "byte", "[", "]", "tmp", "=", "m", "byte", "array", "pool", "get", "(", "m", "temp", "buf", "size", ")", ";", "try", "{", "while", "(", "true", ")", "{", "int", "read", "=", "from", "read", "(", "tmp", ",", "0", ",", "m", "temp", "buf", "size", ")", ";", "if", "(", "read", "=", "=", "-", "1", ")", "{", "return", "count", ";", "}", "to", "write", "(", "tmp", ",", "0", ",", "read", ")", ";", "count", "+", "=", "read", ";", "}", "}", "finally", "{", "m", "byte", "array", "pool", "release", "(", "tmp", ")", ";", "}" ]
[ "copy", "at", "most", "number", "of", "bytes", "from", "input", "stream", "to", "output", "stream" ]
[ "preconditions", "check", "state", "(", "bytes", "to", "copy", ">", "0", ")", ";", "long", "copied", "=", "0", ";", "byte", "[", "]", "tmp", "=", "m", "byte", "array", "pool", "get", "(", "m", "temp", "buf", "size", ")", ";", "try", "{", "while", "(", "copied", "<", "bytes", "to", "copy", ")", "{", "int", "read", "=", "from", "read", "(", "tmp", ",", "0", ",", "(", "int", ")", "math", "min", "(", "m", "temp", "buf", "size", ",", "bytes", "to", "copy", "-", "copied", ")", ")", ";", "if", "(", "read", "=", "=", "-", "1", ")", "{", "return", "copied", ";", "}", "to", "write", "(", "tmp", ",", "0", ",", "read", ")", ";", "copied", "+", "=", "read", ";", "}", "return", "copied", ";", "}", "finally", "{", "m", "byte", "array", "pool", "release", "(", "tmp", ")", ";", "}" ]
[ "{" ]
[ "return", "system", "current", "time", "millis", "(", ")", ";" ]
[ "checks", "that", "measure", "was", "not", "saved" ]
[ "return", "!", "(", "lines", "instanceof", "immutable", "map", ")", ";" ]
[ "returns", "an", "array", "of", "{" ]
[ "abstract", "public", "midi", "receiver", "[", "]", "on", "get", "input", "port", "receivers", "(", ")", ";" ]
[ "returns", "an", "array", "of", "{" ]
[ "if", "(", "m", "server", "=", "=", "null", ")", "{", "return", "null", ";", "}", "else", "{", "return", "m", "server", "get", "output", "port", "receivers", "(", ")", ";", "}" ]
[ "returns", "the", "{" ]
[ "return", "m", "device", "info", ";" ]
[ "returns", "the", "number", "of", "nonzero", "entries" ]
[ "return", "array", "size", "(", ")", ";" ]
[ "returns", "true", "if", "the", "array", "is", "empty" ]
[ "return", "array", "is", "empty", "(", ")", ";" ]
[ "returns", "an", "iterator", "of", "nonzero", "entries" ]
[ "return", "array", "iterator", "(", ")", ";" ]
[ "returns", "the", "value", "of", "i", "-", "th", "entry" ]
[ "for", "(", "entry", "e", ":", "array", ")", "{", "if", "(", "e", "i", "=", "=", "i", ")", "{", "return", "e", "x", ";", "}", "}", "return", "0", "0", ";" ]
[ "sets", "or", "add", "an", "entry" ]
[ "if", "(", "x", "=", "=", "0", "0", ")", "{", "remove", "(", "i", ")", ";", "return", "false", ";", "}", "iterator", "<", "entry", ">", "it", "=", "array", "iterator", "(", ")", ";", "for", "(", "int", "k", "=", "0", ";", "it", "has", "next", "(", ")", ";", "k", "+", "+", ")", "{", "entry", "e", "=", "it", "next", "(", ")", ";", "if", "(", "e", "i", "=", "=", "i", ")", "{", "e", "x", "=", "x", ";", "return", "false", ";", "}", "else", "if", "(", "e", "i", ">", "i", ")", "{", "array", "add", "(", "k", ",", "new", "entry", "(", "i", ",", "x", ")", ")", ";", "return", "true", ";", "}", "}", "array", "add", "(", "new", "entry", "(", "i", ",", "x", ")", ")", ";", "return", "true", ";" ]
[ "append", "an", "entry", "to", "the", "array", "optimizing", "for", "the", "case", "where", "the", "index", "is", "greater", "than", "all", "existing", "indices", "in", "the", "array" ]
[ "if", "(", "x", "!", "=", "0", "0", ")", "{", "array", "add", "(", "new", "entry", "(", "i", ",", "x", ")", ")", ";", "}" ]
[ "removes", "an", "entry" ]
[ "iterator", "<", "entry", ">", "it", "=", "array", "iterator", "(", ")", ";", "while", "(", "it", "has", "next", "(", ")", ")", "{", "entry", "e", "=", "it", "next", "(", ")", ";", "if", "(", "e", "i", "=", "=", "i", ")", "{", "it", "remove", "(", ")", ";", "break", ";", "}", "}" ]
[ "<", "p", ">", "an", "object", "describing", "the", "api", "operations", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "operations", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "operations", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "operations", "=", "=", "null", ")", "{", "set", "operations", "(", "new", "java", "util", "array", "list", "<", "operation", ">", "(", "operations", "length", ")", ")", ";", "}", "for", "(", "operation", "ele", ":", "operations", ")", "{", "this", "operations", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "an", "object", "describing", "the", "api", "operations", "<", "/", "p", ">" ]
[ "set", "operations", "(", "operations", ")", ";", "return", "this", ";" ]
[ "<", "code", ">", "set", "<", "/", "code", ">", "sets", "the", "x", "y", "z", "values", "of", "the", "vector", "based", "on", "passed", "parameters" ]
[ "this", "x", "=", "x", ";", "this", "y", "=", "y", ";", "this", "z", "=", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "set", "<", "/", "code", ">", "sets", "the", "x", "y", "z", "values", "of", "the", "vector", "by", "copying", "the", "supplied", "vector" ]
[ "this", "x", "=", "vect", "x", ";", "this", "y", "=", "vect", "y", ";", "this", "z", "=", "vect", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "add", "local", "<", "/", "code", ">", "adds", "the", "provided", "values", "to", "this", "vector", "internally", "and", "returns", "a", "handle", "to", "this", "vector", "for", "easy", "chaining", "of", "calls" ]
[ "x", "+", "=", "add", "x", ";", "y", "+", "=", "add", "y", ";", "z", "+", "=", "add", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "cross", "<", "/", "code", ">", "calculates", "the", "cross", "product", "of", "this", "vector", "with", "a", "parameter", "vector", "v" ]
[ "return", "cross", "(", "v", ",", "null", ")", ";" ]
[ "<", "code", ">", "cross", "<", "/", "code", ">", "calculates", "the", "cross", "product", "of", "this", "vector", "with", "a", "parameter", "vector", "v", "the", "result", "is", "stored", "in", "<", "code", ">", "result", "<", "/", "code", ">" ]
[ "return", "cross", "(", "v", "x", ",", "v", "y", ",", "v", "z", ",", "result", ")", ";" ]
[ "<", "code", ">", "cross", "<", "/", "code", ">", "calculates", "the", "cross", "product", "of", "this", "vector", "with", "a", "parameter", "vector", "v", "the", "result", "is", "stored", "in", "<", "code", ">", "result", "<", "/", "code", ">" ]
[ "if", "(", "result", "=", "=", "null", ")", "result", "=", "new", "vector", "3f", "(", ")", ";", "float", "res", "x", "=", "(", "(", "y", "*", "other", "z", ")", "-", "(", "z", "*", "other", "y", ")", ")", ";", "float", "res", "y", "=", "(", "(", "z", "*", "other", "x", ")", "-", "(", "x", "*", "other", "z", ")", ")", ";", "float", "res", "z", "=", "(", "(", "x", "*", "other", "y", ")", "-", "(", "y", "*", "other", "x", ")", ")", ";", "result", "set", "(", "res", "x", ",", "res", "y", ",", "res", "z", ")", ";", "return", "result", ";" ]
[ "<", "code", ">", "cross", "local", "<", "/", "code", ">", "calculates", "the", "cross", "product", "of", "this", "vector", "with", "a", "parameter", "vector", "v" ]
[ "return", "cross", "local", "(", "v", "x", ",", "v", "y", ",", "v", "z", ")", ";" ]
[ "<", "code", ">", "cross", "local", "<", "/", "code", ">", "calculates", "the", "cross", "product", "of", "this", "vector", "with", "a", "parameter", "vector", "v" ]
[ "float", "tempx", "=", "(", "y", "*", "other", "z", ")", "-", "(", "z", "*", "other", "y", ")", ";", "float", "tempy", "=", "(", "z", "*", "other", "x", ")", "-", "(", "x", "*", "other", "z", ")", ";", "z", "=", "(", "x", "*", "other", "y", ")", "-", "(", "y", "*", "other", "x", ")", ";", "x", "=", "tempx", ";", "y", "=", "tempy", ";", "return", "this", ";" ]
[ "returns", "true", "if", "this", "vector", "is", "a", "unit", "vector", "(", "length", "(", ")", "~", "=", "1", ")", "returns", "false", "otherwise" ]
[ "float", "len", "=", "length", "(", ")", ";", "return", "0", "9", "9f", "<", "len", "&", "&", "len", "<", "1", "0", "1f", ";" ]
[ "<", "code", ">", "length", "squared", "<", "/", "code", ">", "calculates", "the", "squared", "value", "of", "the", "magnitude", "of", "the", "vector" ]
[ "return", "x", "*", "x", "+", "y", "*", "y", "+", "z", "*", "z", ";" ]
[ "<", "code", ">", "distance", "squared", "<", "/", "code", ">", "calculates", "the", "distance", "squared", "between", "this", "vector", "and", "vector", "v" ]
[ "double", "dx", "=", "x", "-", "v", "x", ";", "double", "dy", "=", "y", "-", "v", "y", ";", "double", "dz", "=", "z", "-", "v", "z", ";", "return", "(", "float", ")", "(", "dx", "*", "dx", "+", "dy", "*", "dy", "+", "dz", "*", "dz", ")", ";" ]
[ "<", "code", ">", "distance", "<", "/", "code", ">", "calculates", "the", "distance", "between", "this", "vector", "and", "vector", "v" ]
[ "return", "fast", "math", "sqrt", "(", "distance", "squared", "(", "v", ")", ")", ";" ]
[ "<", "code", ">", "mult", "local", "<", "/", "code", ">", "multiplies", "this", "vector", "by", "a", "scalar", "internally", "and", "returns", "a", "handle", "to", "this", "vector", "for", "easy", "chaining", "of", "calls" ]
[ "x", "*", "=", "scalar", ";", "y", "*", "=", "scalar", ";", "z", "*", "=", "scalar", ";", "return", "this", ";" ]
[ "<", "code", ">", "mult", "local", "<", "/", "code", ">", "multiplies", "this", "vector", "by", "3", "scalars", "internally", "and", "returns", "a", "handle", "to", "this", "vector", "for", "easy", "chaining", "of", "calls" ]
[ "this", "x", "*", "=", "x", ";", "this", "y", "*", "=", "y", ";", "this", "z", "*", "=", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "divide", "<", "/", "code", ">", "divides", "the", "values", "of", "this", "vector", "by", "a", "scalar", "and", "returns", "the", "result", "the", "values", "of", "this", "vector", "remain", "untouched" ]
[ "scalar", "=", "1f", "/", "scalar", ";", "return", "new", "vector", "3f", "(", "x", "*", "scalar", ",", "y", "*", "scalar", ",", "z", "*", "scalar", ")", ";" ]
[ "<", "code", ">", "divide", "local", "<", "/", "code", ">", "divides", "this", "vector", "by", "a", "scalar", "internally", "and", "returns", "a", "handle", "to", "this", "vector", "for", "easy", "chaining", "of", "calls", "dividing", "by", "zero", "will", "result", "in", "an", "exception" ]
[ "scalar", "=", "1f", "/", "scalar", ";", "x", "*", "=", "scalar", ";", "y", "*", "=", "scalar", ";", "z", "*", "=", "scalar", ";", "return", "this", ";" ]
[ "<", "code", ">", "divide", "<", "/", "code", ">", "divides", "the", "values", "of", "this", "vector", "by", "a", "scalar", "and", "returns", "the", "result", "the", "values", "of", "this", "vector", "remain", "untouched" ]
[ "return", "new", "vector", "3f", "(", "x", "/", "scalar", "x", ",", "y", "/", "scalar", "y", ",", "z", "/", "scalar", "z", ")", ";" ]
[ "<", "code", ">", "divide", "local", "<", "/", "code", ">", "divides", "this", "vector", "by", "a", "scalar", "internally", "and", "returns", "a", "handle", "to", "this", "vector", "for", "easy", "chaining", "of", "calls", "dividing", "by", "zero", "will", "result", "in", "an", "exception" ]
[ "x", "/", "=", "scalar", "x", ";", "y", "/", "=", "scalar", "y", ";", "z", "/", "=", "scalar", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "subtract", "local", "<", "/", "code", ">", "subtracts", "the", "provided", "values", "from", "this", "vector", "internally", "and", "returns", "a", "handle", "to", "this", "vector", "for", "easy", "chaining", "of", "calls" ]
[ "x", "-", "=", "subtract", "x", ";", "y", "-", "=", "subtract", "y", ";", "z", "-", "=", "subtract", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "max", "local", "<", "/", "code", ">", "computes", "the", "maximum", "value", "for", "each", "component", "in", "this", "and", "<", "code", ">", "other", "<", "/", "code", ">", "vector", "the", "result", "is", "stored", "in", "this", "vector" ]
[ "x", "=", "other", "x", ">", "x", "?", "other", "x", ":", "x", ";", "y", "=", "other", "y", ">", "y", "?", "other", "y", ":", "y", ";", "z", "=", "other", "z", ">", "z", "?", "other", "z", ":", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "min", "local", "<", "/", "code", ">", "computes", "the", "minimum", "value", "for", "each", "component", "in", "this", "and", "<", "code", ">", "other", "<", "/", "code", ">", "vector", "the", "result", "is", "stored", "in", "this", "vector" ]
[ "x", "=", "other", "x", "<", "x", "?", "other", "x", ":", "x", ";", "y", "=", "other", "y", "<", "y", "?", "other", "y", ":", "y", ";", "z", "=", "other", "z", "<", "z", "?", "other", "z", ":", "z", ";", "return", "this", ";" ]
[ "<", "code", ">", "zero", "<", "/", "code", ">", "resets", "this", "vector", "s", "data", "to", "zero", "internally" ]
[ "x", "=", "y", "=", "z", "=", "0", ";", "return", "this", ";" ]
[ "<", "code", ">", "angle", "between", "<", "/", "code", ">", "returns", "(", "in", "radians", ")", "the", "angle", "between", "two", "vectors", "it", "is", "assumed", "that", "both", "this", "vector", "and", "the", "given", "vector", "are", "unit", "vectors", "(", "iow", "normalized", ")" ]
[ "float", "dot", "product", "=", "dot", "(", "other", "vector", ")", ";", "float", "angle", "=", "fast", "math", "acos", "(", "dot", "product", ")", ";", "return", "angle", ";" ]
[ "sets", "this", "vector", "to", "the", "interpolation", "by", "change", "amnt", "from", "this", "to", "the", "final", "vec", "this", "=", "(", "1", "-", "change", "amnt", ")", "*", "this", "+", "change", "amnt", "*", "final", "vec" ]
[ "this", "x", "=", "(", "1", "-", "change", "amnt", ")", "*", "this", "x", "+", "change", "amnt", "*", "final", "vec", "x", ";", "this", "y", "=", "(", "1", "-", "change", "amnt", ")", "*", "this", "y", "+", "change", "amnt", "*", "final", "vec", "y", ";", "this", "z", "=", "(", "1", "-", "change", "amnt", ")", "*", "this", "z", "+", "change", "amnt", "*", "final", "vec", "z", ";", "return", "this", ";" ]
[ "sets", "this", "vector", "to", "the", "interpolation", "by", "change", "amnt", "from", "begin", "vec", "to", "final", "vec", "this", "=", "(", "1", "-", "change", "amnt", ")", "*", "begin", "vec", "+", "change", "amnt", "*", "final", "vec" ]
[ "this", "x", "=", "(", "1", "-", "change", "amnt", ")", "*", "begin", "vec", "x", "+", "change", "amnt", "*", "final", "vec", "x", ";", "this", "y", "=", "(", "1", "-", "change", "amnt", ")", "*", "begin", "vec", "y", "+", "change", "amnt", "*", "final", "vec", "y", ";", "this", "z", "=", "(", "1", "-", "change", "amnt", ")", "*", "begin", "vec", "z", "+", "change", "amnt", "*", "final", "vec", "z", ";", "return", "this", ";" ]
[ "check", "a", "vector", "if", "it", "is", "null", "or", "its", "floats", "are", "na", "n", "or", "infinite", "return", "false", "else", "return", "true" ]
[ "if", "(", "vector", "=", "=", "null", ")", "return", "false", ";", "if", "(", "float", "is", "na", "n", "(", "vector", "x", ")", "|", "|", "float", "is", "na", "n", "(", "vector", "y", ")", "|", "|", "float", "is", "na", "n", "(", "vector", "z", ")", ")", "return", "false", ";", "if", "(", "float", "is", "infinite", "(", "vector", "x", ")", "|", "|", "float", "is", "infinite", "(", "vector", "y", ")", "|", "|", "float", "is", "infinite", "(", "vector", "z", ")", ")", "return", "false", ";", "return", "true", ";" ]
[ "saves", "this", "vector", "3f", "into", "the", "given", "float", "[", "]", "object" ]
[ "if", "(", "floats", "=", "=", "null", ")", "{", "floats", "=", "new", "float", "[", "3", "]", ";", "}", "floats", "[", "0", "]", "=", "x", ";", "floats", "[", "1", "]", "=", "y", ";", "floats", "[", "2", "]", "=", "z", ";", "return", "floats", ";" ]
[ "are", "these", "two", "vectors", "the", "same", "?", "they", "are", "is", "they", "both", "have", "the", "same", "x", "y", "and", "z", "values" ]
[ "if", "(", "!", "(", "o", "instanceof", "vector", "3f", ")", ")", "{", "return", "false", ";", "}", "if", "(", "this", "=", "=", "o", ")", "{", "return", "true", ";", "}", "vector", "3f", "comp", "=", "(", "vector", "3f", ")", "o", ";", "if", "(", "float", "compare", "(", "x", ",", "comp", "x", ")", "!", "=", "0", ")", "return", "false", ";", "if", "(", "float", "compare", "(", "y", ",", "comp", "y", ")", "!", "=", "0", ")", "return", "false", ";", "if", "(", "float", "compare", "(", "z", ",", "comp", "z", ")", "!", "=", "0", ")", "return", "false", ";", "return", "true", ";" ]
[ "<", "code", ">", "hash", "code", "<", "/", "code", ">", "returns", "a", "unique", "code", "for", "this", "vector", "object", "based", "on", "its", "values", "if", "two", "vectors", "are", "logically", "equivalent", "they", "will", "return", "the", "same", "hash", "code", "value" ]
[ "int", "hash", "=", "37", ";", "hash", "+", "=", "37", "*", "hash", "+", "float", "float", "to", "int", "bits", "(", "x", ")", ";", "hash", "+", "=", "37", "*", "hash", "+", "float", "float", "to", "int", "bits", "(", "y", ")", ";", "hash", "+", "=", "37", "*", "hash", "+", "float", "float", "to", "int", "bits", "(", "z", ")", ";", "return", "hash", ";" ]
[ "test", "for", "{" ]
[ "geo", "shape", "field", "type", "field", "type", "=", "new", "geo", "shape", "field", "mapper", "geo", "shape", "field", "type", "(", ")", ";", "assert", "false", "(", "field", "type", "points", "only", "(", ")", ")", ";", "field", "type", "set", "strategy", "name", "(", "spatial", "strategy", "recursive", "get", "strategy", "name", "(", ")", ")", ";", "assert", "false", "(", "field", "type", "points", "only", "(", ")", ")", ";", "field", "type", "set", "strategy", "name", "(", "spatial", "strategy", "term", "get", "strategy", "name", "(", ")", ")", ";", "assert", "true", "(", "field", "type", "points", "only", "(", ")", ")", ";" ]
[ "body", "of", "spi", "thread" ]
[ "protected", "abstract", "void", "body", "(", ")", "throws", "interrupted", "exception", ";" ]
[ "set", "whether", "to", "check", "for", "directory", "and", "package", "name", "match" ]
[ "this", "match", "directory", "structure", "=", "match", "directory", "structure", ";" ]
[ "returns", "the", "directory", "name", "this", "file", "is", "in" ]
[ "final", "string", "file", "name", "=", "get", "file", "contents", "(", ")", "get", "file", "name", "(", ")", ";", "final", "int", "last", "separator", "pos", "=", "file", "name", "last", "index", "of", "(", "file", "separator", "char", ")", ";", "return", "file", "name", "substring", "(", "0", ",", "last", "separator", "pos", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "this", "job", "vertex", "get", "job", "id", "(", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "this", "task", "name", "with", "subtask", ";" ]
[ "gets", "the", "location", "where", "the", "latest", "completed", "/", "canceled", "/", "failed", "execution", "of", "the", "vertex", "s", "task", "happened" ]
[ "archived", "execution", "latest", "prior", "execution", "=", "get", "latest", "prior", "execution", "(", ")", ";", "return", "latest", "prior", "execution", "!", "=", "null", "?", "latest", "prior", "execution", "get", "assigned", "resource", "location", "(", ")", ":", "null", ";" ]
[ "gets", "the", "overall", "preferred", "execution", "location", "for", "this", "vertex", "s", "current", "execution", "the", "preference", "is", "determined", "as", "follows", ":" ]
[ "collection", "<", "completable", "future", "<", "task", "manager", "location", ">", ">", "based", "on", "state", "=", "get", "preferred", "locations", "based", "on", "state", "(", ")", ";", "return", "based", "on", "state", "!", "=", "null", "?", "based", "on", "state", ":", "get", "preferred", "locations", "based", "on", "inputs", "(", ")", ";" ]
[ "gets", "the", "preferred", "location", "to", "execute", "the", "current", "task", "execution", "attempt", "based", "on", "the", "state", "that", "the", "execution", "attempt", "will", "resume" ]
[ "task", "manager", "location", "prior", "location", ";", "if", "(", "current", "execution", "get", "task", "restore", "(", ")", "!", "=", "null", "&", "&", "(", "prior", "location", "=", "get", "latest", "prior", "location", "(", ")", ")", "!", "=", "null", ")", "{", "return", "collections", "singleton", "(", "completable", "future", "completed", "future", "(", "prior", "location", ")", ")", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "schedules", "the", "current", "execution", "of", "this", "execution", "vertex" ]
[ "return", "this", "current", "execution", "schedule", "for", "execution", "(", "slot", "provider", ",", "queued", ",", "location", "preference", "constraint", ")", ";" ]
[ "returns", "all", "blocking", "result", "partitions", "whose", "receivers", "can", "be", "scheduled", "/", "updated" ]
[ "list", "<", "intermediate", "result", "partition", ">", "finished", "blocking", "partitions", "=", "null", ";", "for", "(", "intermediate", "result", "partition", "partition", ":", "result", "partitions", "values", "(", ")", ")", "{", "if", "(", "partition", "get", "result", "type", "(", ")", "is", "blocking", "(", ")", "&", "&", "partition", "mark", "finished", "(", ")", ")", "{", "if", "(", "finished", "blocking", "partitions", "=", "=", "null", ")", "{", "finished", "blocking", "partitions", "=", "new", "linked", "list", "<", "intermediate", "result", "partition", ">", "(", ")", ";", "}", "finished", "blocking", "partitions", "add", "(", "partition", ")", ";", "}", "}", "if", "(", "finished", "blocking", "partitions", "=", "=", "null", ")", "{", "return", "collections", "empty", "list", "(", ")", ";", "}", "else", "{", "return", "finished", "blocking", "partitions", ";", "}" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "get", "execution", "graph", "(", ")", "vertex", "finished", "(", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "get", "task", "name", "with", "subtask", "index", "(", ")", ";" ]
[ "read", "key", "/", "value", "pair", "in", "a", "line" ]
[ "text", "t", "key", "=", "key", ";", "text", "t", "value", "=", "value", ";", "if", "(", "!", "sequence", "file", "record", "reader", "next", "(", "inner", "key", ",", "inner", "value", ")", ")", "{", "return", "false", ";", "}", "t", "key", "set", "(", "inner", "key", "to", "string", "(", ")", ")", ";", "t", "value", "set", "(", "inner", "value", "to", "string", "(", ")", ")", ";", "return", "true", ";" ]
[ "generates", "the", "api", "client", "files", "of", "the", "given", "api", "implementors" ]
[ "this", "generate", "a", "p", "i", "files", "(", "implementors", ")", ";" ]
[ "copy", "all", "given", "method", "overrides", "into", "this", "object" ]
[ "if", "(", "other", "!", "=", "null", ")", "{", "this", "modified", "=", "true", ";", "this", "overrides", "add", "all", "(", "other", "overrides", ")", ";", "}" ]
[ "add", "the", "given", "method", "override" ]
[ "this", "modified", "=", "true", ";", "this", "overrides", "add", "(", "override", ")", ";" ]
[ "return", "all", "method", "overrides", "contained", "by", "this", "object" ]
[ "this", "modified", "=", "true", ";", "return", "this", "overrides", ";" ]
[ "return", "whether", "the", "set", "of", "method", "overrides", "is", "empty" ]
[ "return", "(", "!", "this", "modified", "|", "|", "this", "overrides", "is", "empty", "(", ")", ")", ";" ]
[ "return", "the", "override", "for", "the", "given", "method", "if", "any" ]
[ "if", "(", "!", "this", "modified", ")", "{", "return", "null", ";", "}", "synchronized", "(", "this", "overrides", ")", "{", "method", "override", "match", "=", "null", ";", "for", "(", "method", "override", "candidate", ":", "this", "overrides", ")", "{", "if", "(", "candidate", "matches", "(", "method", ")", ")", "{", "match", "=", "candidate", ";", "}", "}", "return", "match", ";", "}" ]
[ "flag", "indicating", "if", "the", "first", "line", "of", "the", "csv", "must", "be", "skipped" ]
[ "return", "generate", "header", "column", "names", ";" ]
[ "find", "the", "separator", "used", "to", "delimit", "the", "csv", "fields" ]
[ "return", "skip", "first", "line", ";" ]
[ "indicate", "if", "can", "skip", "fields" ]
[ "return", "this", "skip", "field", ";" ]
[ "if", "last", "record", "is", "to", "span", "the", "rest", "of", "the", "line" ]
[ "return", "autospan", "line", ";" ]
[ "flag", "indicating", "if", "the", "message", "must", "be", "ordered" ]
[ "return", "message", "ordered", ";" ]
[ "checks", "whether", "the", "engine", "supports", "a", "given", "language" ]
[ "protected", "abstract", "int", "on", "is", "language", "available", "(", "string", "lang", ",", "string", "country", ",", "string", "variant", ")", ";" ]
[ "returns", "the", "language", "country", "and", "variant", "currently", "being", "used", "by", "the", "tts", "engine" ]
[ "protected", "abstract", "string", "[", "]", "on", "get", "language", "(", ")", ";" ]
[ "notifies", "the", "engine", "that", "it", "should", "load", "a", "speech", "synthesis", "language", "there", "is", "no", "guarantee", "that", "this", "method", "is", "always", "called", "before", "the", "language", "is", "used", "for", "synthesis", "it", "is", "merely", "a", "hint", "to", "the", "engine", "that", "it", "will", "probably", "get", "some", "synthesis", "requests", "for", "this", "language", "at", "some", "point", "in", "the", "future" ]
[ "protected", "abstract", "int", "on", "load", "language", "(", "string", "lang", ",", "string", "country", ",", "string", "variant", ")", ";" ]
[ "tells", "the", "service", "to", "synthesize", "speech", "from", "the", "given", "text", "this", "method", "should", "block", "until", "the", "synthesis", "is", "finished", "called", "on", "the", "synthesis", "thread" ]
[ "protected", "abstract", "void", "on", "synthesize", "text", "(", "synthesis", "request", "request", ",", "synthesis", "callback", "callback", ")", ";" ]
[ "queries", "the", "service", "for", "a", "set", "of", "features", "supported", "for", "a", "given", "language" ]
[ "return", "new", "hash", "set", "<", "string", ">", "(", ")", ";" ]
[ "return", "a", "name", "of", "the", "default", "voice", "for", "a", "given", "locale" ]
[ "int", "locale", "status", "=", "on", "is", "language", "available", "(", "lang", ",", "country", ",", "variant", ")", ";", "locale", "iso", "3", "locale", "=", "null", ";", "switch", "(", "locale", "status", ")", "{", "case", "text", "to", "speech", "lang", "available", ":", "iso", "3", "locale", "=", "new", "locale", "(", "lang", ")", ";", "break", ";", "case", "text", "to", "speech", "lang", "country", "available", ":", "iso", "3", "locale", "=", "new", "locale", "(", "lang", ",", "country", ")", ";", "break", ";", "case", "text", "to", "speech", "lang", "country", "var", "available", ":", "iso", "3", "locale", "=", "new", "locale", "(", "lang", ",", "country", ",", "variant", ")", ";", "break", ";", "default", ":", "return", "null", ";", "}", "locale", "proper", "locale", "=", "tts", "engines", "normalize", "t", "t", "s", "locale", "(", "iso", "3", "locale", ")", ";", "string", "voice", "name", "=", "proper", "locale", "to", "language", "tag", "(", ")", ";", "if", "(", "on", "is", "valid", "voice", "name", "(", "voice", "name", ")", "=", "=", "text", "to", "speech", "success", ")", "{", "return", "voice", "name", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "notifies", "the", "engine", "that", "it", "should", "load", "a", "speech", "synthesis", "voice", "there", "is", "no", "guarantee", "that", "this", "method", "is", "always", "called", "before", "the", "voice", "is", "used", "for", "synthesis", "it", "is", "merely", "a", "hint", "to", "the", "engine", "that", "it", "will", "probably", "get", "some", "synthesis", "requests", "for", "this", "voice", "at", "some", "point", "in", "the", "future" ]
[ "locale", "locale", "=", "locale", "for", "language", "tag", "(", "voice", "name", ")", ";", "if", "(", "locale", "=", "=", "null", ")", "{", "return", "text", "to", "speech", "error", ";", "}", "int", "expected", "status", "=", "get", "expected", "language", "available", "status", "(", "locale", ")", ";", "try", "{", "int", "locale", "status", "=", "on", "is", "language", "available", "(", "locale", "get", "i", "s", "o", "3", "language", "(", ")", ",", "locale", "get", "i", "s", "o", "3", "country", "(", ")", ",", "locale", "get", "variant", "(", ")", ")", ";", "if", "(", "locale", "status", "!", "=", "expected", "status", ")", "{", "return", "text", "to", "speech", "error", ";", "}", "on", "load", "language", "(", "locale", "get", "i", "s", "o", "3", "language", "(", ")", ",", "locale", "get", "i", "s", "o", "3", "country", "(", ")", ",", "locale", "get", "variant", "(", ")", ")", ";", "return", "text", "to", "speech", "success", ";", "}", "catch", "(", "missing", "resource", "exception", "e", ")", "{", "return", "text", "to", "speech", "error", ";", "}" ]
[ "checks", "whether", "the", "engine", "supports", "a", "voice", "with", "a", "given", "name" ]
[ "locale", "locale", "=", "locale", "for", "language", "tag", "(", "voice", "name", ")", ";", "if", "(", "locale", "=", "=", "null", ")", "{", "return", "text", "to", "speech", "error", ";", "}", "int", "expected", "status", "=", "get", "expected", "language", "available", "status", "(", "locale", ")", ";", "try", "{", "int", "locale", "status", "=", "on", "is", "language", "available", "(", "locale", "get", "i", "s", "o", "3", "language", "(", ")", ",", "locale", "get", "i", "s", "o", "3", "country", "(", ")", ",", "locale", "get", "variant", "(", ")", ")", ";", "if", "(", "locale", "status", "!", "=", "expected", "status", ")", "{", "return", "text", "to", "speech", "error", ";", "}", "return", "text", "to", "speech", "success", ";", "}", "catch", "(", "missing", "resource", "exception", "e", ")", "{", "return", "text", "to", "speech", "error", ";", "}" ]
[ "create", "audio", "output", "params", "from", "a", "{" ]
[ "if", "(", "params", "bundle", "=", "=", "null", ")", "{", "return", "new", "audio", "output", "params", "(", ")", ";", "}", "audio", "attributes", "audio", "attributes", "=", "(", "audio", "attributes", ")", "params", "bundle", "get", "parcelable", "(", "engine", "key", "param", "audio", "attributes", ")", ";", "if", "(", "audio", "attributes", "=", "=", "null", ")", "{", "int", "stream", "type", "=", "params", "bundle", "get", "int", "(", "engine", "key", "param", "stream", ",", "engine", "default", "stream", ")", ";", "audio", "attributes", "=", "(", "new", "audio", "attributes", "builder", "(", ")", ")", "set", "legacy", "stream", "type", "(", "stream", "type", ")", "set", "content", "type", "(", "(", "is", "speech", "?", "audio", "attributes", "content", "type", "speech", ":", "audio", "attributes", "content", "type", "sonification", ")", ")", "build", "(", ")", ";", "}", "return", "new", "audio", "output", "params", "(", "params", "bundle", "get", "int", "(", "engine", "key", "param", "session", "id", ",", "audio", "manager", "audio", "session", "id", "generate", ")", ",", "params", "bundle", "get", "float", "(", "engine", "key", "param", "volume", ",", "engine", "default", "volume", ")", ",", "params", "bundle", "get", "float", "(", "engine", "key", "param", "pan", ",", "engine", "default", "pan", ")", ",", "audio", "attributes", ")", ";" ]
[ "<", "p", ">", "when", "the", "<", "code", ">", "double", "value", "<", "/", "code", ">", "type", "is", "set", "the", "value", "of", "the", "resource", "must", "be", "a", "double", "precision", "floating", "-", "point", "type", "<", "/", "p", ">" ]
[ "set", "double", "value", "(", "double", "value", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "when", "the", "<", "code", ">", "long", "value", "<", "/", "code", ">", "type", "is", "set", "the", "value", "of", "the", "resource", "must", "be", "an", "extended", "precision", "floating", "-", "point", "type", "<", "/", "p", ">" ]
[ "return", "this", "long", "value", ";" ]
[ "<", "p", ">", "when", "the", "<", "code", ">", "long", "value", "<", "/", "code", ">", "type", "is", "set", "the", "value", "of", "the", "resource", "must", "be", "an", "extended", "precision", "floating", "-", "point", "type", "<", "/", "p", ">" ]
[ "set", "long", "value", "(", "long", "value", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "when", "the", "<", "code", ">", "integer", "value", "<", "/", "code", ">", "type", "is", "set", "the", "value", "of", "the", "resource", "must", "be", "an", "integer", "<", "/", "p", ">" ]
[ "set", "integer", "value", "(", "integer", "value", ")", ";", "return", "this", ";" ]