Record Class Graph.Options
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.Graph.Options
Optional caller-imposed graph reconstruction limits.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOptions(int maxDepth, int maxModels) Creates an instance of aOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmaxDepth()Returns the value of themaxDepthrecord component.intReturns the value of themaxModelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
Uses no caller-imposed graph limits.
-
-
Constructor Details
-
Options
public Options(int maxDepth, int maxModels) Creates an instance of aOptionsrecord class.- Parameters:
maxDepth- the value for themaxDepthrecord componentmaxModels- the value for themaxModelsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
maxDepth
public int maxDepth()Returns the value of themaxDepthrecord component.- Returns:
- the value of the
maxDepthrecord component
-
maxModels
public int maxModels()Returns the value of themaxModelsrecord component.- Returns:
- the value of the
maxModelsrecord component
-