Interface Sizable

All Known Implementing Classes:
AbstractMappedVector, AbstractVector, Animated, CommonTextureList, DoomTextureList, PatchNames, SparseGridIndex, SparseQueueGridIndex, StrifeTextureList, Switches, TextureSet, TextureSet.Texture, WadUtils.WadEntryAccumulator

public interface Sizable
Describes a class that contains an amount of discrete objects.
Author:
Matthew Tropiano
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns if this object contains no objects.
    int
     
  • Method Details

    • size

      int size()
      Returns:
      the amount of individual objects that this object contains.
    • isEmpty

      boolean isEmpty()
      Returns if this object contains no objects. The general policy of this method is that this returns true if and only if size() returns 0.
      Returns:
      true if so, false otherwise.