class_body
{ "{"
block_comment "/** Serializable version identifier. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "436928820673516179L"
; ";"
block_comment "/** The number of successes in the population. */"
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "numberOfSuccesses"
; ";"
block_comment "/** The population size. */"
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "populationSize"
; ";"
block_comment "/** The sample size. */"
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "sampleSize"
; ";"
block_comment "/** Cached numerical variance */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "numericalVariance"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
block_comment "/** Whether or not the numerical variance has been calculate"...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "numericalVarianceIsCalculated"
= "="
false "false"
; ";"
block_comment "/**\n * Construct a new hypergeometric distribution with "...
constructor_declaration (+49 nodes collapsed)
block_comment "/**\n * Creates a new hypergeometric distribution.\n *"...
constructor_declaration (+212 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+115 nodes collapsed)
block_comment "/**\n * Return the domain for the given hypergeometric di"...
method_declaration (+62 nodes collapsed)
block_comment "/**\n * Return the lowest domain value for the given hype"...
method_declaration (+48 nodes collapsed)
block_comment "/**\n * Access the number of successes.\n *\n * @re"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getNumberOfSuccesses"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "numberOfSuccesses"
; ";"
} "}"
block_comment "/**\n * Access the population size.\n *\n * @return"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPopulationSize"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "populationSize"
; ";"
} "}"
block_comment "/**\n * Access the sample size.\n *\n * @return the"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getSampleSize"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "sampleSize"
; ";"
} "}"
block_comment "/**\n * Return the highest domain value for the given hyp"...
method_declaration (+34 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+219 nodes collapsed)
block_comment "/**\n * For this distribution, {@code X}, this method ret"...
method_declaration (+119 nodes collapsed)
block_comment "/**\n * For this distribution, {@code X}, this method ret"...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * For population size {"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getNumericalMean"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
binary_expression any 2:2
cast_expression
( "("
floating_point_type
double "double"
) ")"
parenthesized_expression
( "("
binary_expression any 2:2
method_invocation
identifier "getSampleSize"
argument_list
( "("
) ")"
* "*"
method_invocation
identifier "getNumberOfSuccesses"
argument_list
( "("
) ")"
) ")"
/ "/"
cast_expression
( "("
floating_point_type
double "double"
) ")"
method_invocation
identifier "getPopulationSize"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * For population size {"...
method_declaration (+43 nodes collapsed)
block_comment "/**\n * Used by {@link #getNumericalVariance()}.\n *\n "...
method_declaration (+100 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * For population size {"...
method_declaration (+43 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * For number of success"...
method_declaration (+33 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * The support of this d"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportConnected"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
} "}"