Record Class OperatorLPElement.References
java.lang.Object
java.lang.Record
org.cyclops.integrateddynamics.core.logicprogrammer.OperatorLPElement.References
- Record Components:
types- The known output types, by variable id.cards- The actual cards that were placed in slots, by variable id.
- Enclosing class:
OperatorLPElement
public static record OperatorLPElement.References(Map<Integer, IValueType<?>> types, it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.world.item.ItemStack> cards)
extends Record
What an element knows about referenced variables.
-
Constructor Summary
ConstructorsConstructorDescriptionReferences(Map<Integer, IValueType<?>> types, it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.world.item.ItemStack> cards) Creates an instance of aReferencesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.world.item.ItemStack> cards()Returns the value of thecardsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Map<Integer, IValueType<?>> types()Returns the value of thetypesrecord component.
-
Constructor Details
-
References
public References(Map<Integer, IValueType<?>> types, it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.world.item.ItemStack> cards) Creates an instance of aReferencesrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
types
-
cards
-