Package scrapper.readers.items
Class Regular_Node
java.lang.Object
scrapper.readers.items.baseNode.BaseItem
scrapper.readers.items.Regular_Node
- All Implemented Interfaces:
Item
- Direct Known Subclasses:
Unspoiled_Node
- See Also:
-
Constructor Summary
ConstructorDescriptionRegular_Node
(String[] arr) Used when file is already formatted.Default constructor. -
Method Summary
-
Constructor Details
-
Regular_Node
Default constructor. All arguments map to internal variables. This covers the classes BNT and Miner. When there is more than 1 item, make another of this item (creates mass duplicates). -
Regular_Node
Used when file is already formatted.- Parameters:
arr
- array to input instead of manual input.
-
-
Method Details
-
toString
-
getLevel
public int getLevel() -
toLinkedHashmap
- Specified by:
toLinkedHashmap
in interfaceItem
- Returns:
- ItemType in LinkedHashmap form. Keys represent what the value is. For example, key = level, value = 5.
-