public final class CycleType extends Object implements Comparable<CycleType>
| Constructor and Description |
|---|
CycleType(String name,
double priority)
Create new cycle type
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CycleType to) |
String |
getName()
Get name of cycle
|
double |
getPriority()
Get priority of cycle
|
public CycleType(String name, double priority)
name - the name of cyclepriority - the prioritypublic int compareTo(CycleType to)
compareTo in interface Comparable<CycleType>public double getPriority()
public String getName()
Copyright © 2020. All rights reserved.