Class ChemicalStackIdSorter
java.lang.Object
org.cyclops.integratedterminals.capability.ingredient.sorter.IngredientInstanceSorterAdapter<mekanism.api.chemical.ChemicalStack<?>>
org.cyclops.integratedmekanismics.modcompat.integratedterminals.sorter.ChemicalStackIdSorter
- All Implemented Interfaces:
Comparator<mekanism.api.chemical.ChemicalStack<?>>
,org.cyclops.integratedterminals.api.ingredient.IIngredientInstanceSorter<mekanism.api.chemical.ChemicalStack<?>>
public class ChemicalStackIdSorter
extends org.cyclops.integratedterminals.capability.ingredient.sorter.IngredientInstanceSorterAdapter<mekanism.api.chemical.ChemicalStack<?>>
Sorts chemicals by internal ID.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(mekanism.api.chemical.ChemicalStack<?> o1, mekanism.api.chemical.ChemicalStack<?> o2) protected String
getChemicalStackId
(mekanism.api.chemical.ChemicalStack<?> chemicalStack) Methods inherited from class org.cyclops.integratedterminals.capability.ingredient.sorter.IngredientInstanceSorterAdapter
getIcon, getTooltip, getTranslationKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ChemicalStackIdSorter
public ChemicalStackIdSorter()
-
-
Method Details
-
getChemicalStackId
-
compare
public int compare(mekanism.api.chemical.ChemicalStack<?> o1, mekanism.api.chemical.ChemicalStack<?> o2)
-