All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.artemis.WildBag Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package com.artemis;

import com.artemis.utils.Bag;


/**
 * Let's the user set the size.
 * 

* Setting the size does not resize the bag, nor will it clean up contents * beyond the given size. Only use this if you know what you are doing! *

* * @author junkdog * * @param * object type this bag holds */ class WildBag extends Bag { public WildBag(Class type) { super(type); } /** * Set the size. *

* This will not resize the bag, nor will it clean up contents beyond the * given size. Use with caution. *

* * @param size * the size to set */ void setSize(int size) { this.size = size; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy