1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.jvm
.pack
;
13 * This represents a table of contents which is used to provide a mapping
14 * of repeating keys to values, for each various entry.
18 public interface TableOfContents
21 * Returns the number of entries in the table.
23 * @return The number of entries in the table.
29 * Gets the given table of contents entry for the given index.
31 * @param __dx The index to get.
32 * @param __prop The property to get.
33 * @return The value of the given index.
34 * @throws IndexOutOfBoundsException If the index and/or property are not
38 int get(int __dx
, int __prop
)
39 throws IndexOutOfBoundsException
;