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

com.almasb.fxgl.physics.box2d.pooling.IDynamicStack Maven / Gradle / Ivy

There is a newer version: 21.1
Show newest version
/*
 * FXGL - JavaFX Game Library. The MIT License (MIT).
 * Copyright (c) AlmasB ([email protected]).
 * See LICENSE for details.
 */
package com.almasb.fxgl.physics.box2d.pooling;

/**
 * Same functionality of a regular java.util stack.  Object
 * return order does not matter.
 * @author Daniel
 *
 * @param 
 */
public interface IDynamicStack {

    /**
     * Pops an item off the stack
     * @return
     */
    E pop();

    /**
     * Pushes an item back on the stack
     * @param argObject
     */
    void push(E argObject);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy