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 ofMaxConflicts.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 Classes Modifier and Type Class Description static classImmutableMaxConflicts.BuilderBuilds instances of typeImmutableMaxConflicts.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableMaxConflicts.Builderbuilder()Creates a builder forImmutableMaxConflicts.static ImmutableMaxConflictscopyOf(MaxConflicts instance)Creates an immutable copy of aMaxConflictsvalue.booleanequals(Object another)This 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 ofMaxConflictsStringtoString()Prints the immutable valueMaxConflicts.-
Methods inherited from class pl.poznan.put.structure.pseudoknots.elimination.MaxConflicts
selectRegionToRemove
-
Methods inherited from class pl.poznan.put.structure.pseudoknots.elimination.AbstractRegionRemover
findPseudoknots
-
-
-
-
Method Detail
-
equals
public boolean equals(@Nullable Object another)
This instance is equal to all instances ofImmutableMaxConflictsthat have equal attribute values.
-
hashCode
public int hashCode()
Returns a constant hash code value.
-
toString
public String toString()
Prints the immutable valueMaxConflicts.
-
of
public static ImmutableMaxConflicts of()
Returns the default immutable singleton value ofMaxConflicts- Returns:
- An immutable instance of MaxConflicts
-
copyOf
public static ImmutableMaxConflicts copyOf(MaxConflicts instance)
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
public static ImmutableMaxConflicts.Builder builder()
Creates a builder forImmutableMaxConflicts.ImmutableMaxConflicts.builder() .build();- Returns:
- A new ImmutableMaxConflicts builder
-
-