SystemType

public class SystemType

Class SystemType. Provides systemtype functionality for the Hytale server.

java.lang.Object > SystemType

Field Summary

invalidated

private boolean invalidated

Field invalidated.

Method Detail

SystemType

public protected SystemType (@Nonnull final ComponentRegistry registry, @Nonnull final Class tClass, final int index)

Method SystemType.

Parameters:
@Nonnull final ComponentRegistry registry
@Nonnull final Class tClass
final int index

getRegistry

public ComponentRegistry getRegistry ()

Method getRegistry.

getTypeClass

public T> getTypeClass ()

Method getTypeClass.

isType

public boolean isType (@Nonnull final ISystem system)

Method isType.

Parameters:
@Nonnull final ISystem system

getIndex

public int getIndex ()

Method getIndex.

validateRegistry

public void validateRegistry (@Nonnull final ComponentRegistry registry)

Method validateRegistry.

Parameters:
@Nonnull final ComponentRegistry registry

IllegalArgumentException

public new IllegalArgumentException ("SystemType is for a different registry! " + String.valueOf(this)

Method IllegalArgumentException.

Parameters:
"SystemType is for a different registry! " + String.valueOf(this

validate

public void validate ()

Method validate.

invalidate

protected void invalidate ()

Method invalidate.

isValid

protected boolean isValid ()

Method isValid.

compareTo

public int compareTo (@Nonnull final SystemType o)

Method compareTo.

Parameters:
@Nonnull final SystemType o

equals

public boolean equals (@Nullable final Object o)

Method equals.

Parameters:
@Nullable final Object o

hashCode

public int hashCode ()

Method hashCode.

toString

public String toString ()

Method toString.