Interface LoadingWeight
-
- All Superinterfaces:
Comparable<LoadingWeight>,Serializable
- All Known Implementing Classes:
DefaultLoadingWeight
@Internal public interface LoadingWeight extends Comparable<LoadingWeight>, Serializable
The class is used to represent the loading weight abstraction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetLoading()Get the loading value.LoadingWeightmerge(LoadingWeight other)Merge the other loading weight and this one into a new object.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getLoading
float getLoading()
Get the loading value.- Returns:
- A float represented the loading.
-
merge
LoadingWeight merge(LoadingWeight other)
Merge the other loading weight and this one into a new object.- Parameters:
other- A loading weight object.- Returns:
- The new merged
LoadingWeight.
-
-