Resolves checkstyle errors for facade factory-kit spatial-partition state step-builder (#1077)

* Reduces checkstyle errors in facade

* Reduces checkstyle errors in factory-kit

* Reduces checkstyle errors in spatial-partition

* Reduces checkstyle errors in state

* Reduces checkstyle errors in step-builder
This commit is contained in:
Anurag Agarwal
2019-11-12 01:51:12 +05:30
committed by Ilkka Seppälä
parent 2628cc0dfc
commit c954a436ad
29 changed files with 195 additions and 197 deletions
@@ -26,18 +26,20 @@ package com.iluwatar.spatialpartition;
import java.util.Hashtable;
/**
* This abstract class has 2 fields, one of which is a hashtable containing all objects
* that currently exist on the field and a quadtree which keeps track of locations.
* This abstract class has 2 fields, one of which is a hashtable containing all objects that
* currently exist on the field and a quadtree which keeps track of locations.
*
* @param <T> T will be type of object (that extends Point)
*/
public abstract class SpatialPartitionGeneric<T> {
Hashtable<Integer, T> playerPositions;
QuadTree qTree;
QuadTree quadTree;
/**
* handles collisions for object obj using quadtree
* handles collisions for object obj using quadtree.
*
* @param obj is the object for which collisions need to be checked
*/
abstract void handleCollisionsUsingQt(T obj);