Package net.minecraftforge.common.world
Class ForgeChunkManager.TicketOwner<T extends java.lang.Comparable<? super T>>
- java.lang.Object
-
- net.minecraftforge.common.world.ForgeChunkManager.TicketOwner<T>
-
- All Implemented Interfaces:
java.lang.Comparable<ForgeChunkManager.TicketOwner<T>>
- Enclosing class:
- ForgeChunkManager
public static class ForgeChunkManager.TicketOwner<T extends java.lang.Comparable<? super T>> extends java.lang.Object implements java.lang.Comparable<ForgeChunkManager.TicketOwner<T>>
Helper class to keep track of a ticket owner by modid and owner object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TicketOwner(java.lang.String modId, T owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ForgeChunkManager.TicketOwner<T> other)
boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
Constructor Detail
-
TicketOwner
private TicketOwner(java.lang.String modId, T owner)
-
-
Method Detail
-
compareTo
public int compareTo(ForgeChunkManager.TicketOwner<T> other)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-