Class ImmutableMaxConflicts
java.lang.Object
pl.poznan.put.structure.pseudoknots.elimination.AbstractRegionRemover
pl.poznan.put.structure.pseudoknots.elimination.MaxConflicts
pl.poznan.put.structure.pseudoknots.elimination.ImmutableMaxConflicts
- All Implemented Interfaces:
RegionRemover,PseudoknotFinder
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ImmutableMaxConflicts
extends MaxConflicts
Immutable implementation of
MaxConflicts.
Use the builder to create immutable instances:
ImmutableMaxConflicts.builder().
Use the static factory method to get the default singleton instance:
ImmutableMaxConflicts.of().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableMaxConflicts. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableMaxConflicts.static ImmutableMaxConflictscopyOf(MaxConflicts instance) Creates an immutable copy of aMaxConflictsvalue.booleanThis instance is equal to all instances ofImmutableMaxConflictsthat have equal attribute values.inthashCode()Returns a constant hash code value.static ImmutableMaxConflictsof()Returns the default immutable singleton value ofMaxConflictstoString()Prints the immutable valueMaxConflicts.Methods inherited from class pl.poznan.put.structure.pseudoknots.elimination.MaxConflicts
selectRegionToRemoveMethods inherited from class pl.poznan.put.structure.pseudoknots.elimination.AbstractRegionRemover
findPseudoknots
-
Method Details
-
equals
This instance is equal to all instances ofImmutableMaxConflictsthat have equal attribute values. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueMaxConflicts. -
of
Returns the default immutable singleton value ofMaxConflicts- Returns:
- An immutable instance of MaxConflicts
-
copyOf
Creates an immutable copy of aMaxConflictsvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable MaxConflicts instance
-
builder
Creates a builder forImmutableMaxConflicts.ImmutableMaxConflicts.builder() .build();- Returns:
- A new ImmutableMaxConflicts builder
-