|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PieceReference
Abstract Piece-referencing interface. Can be used for 1D and 2D Piece-arrays, too.
Piece
Method Summary | |
---|---|
Piece |
getPiece(java.lang.String iface)
Simple Piece de-referencing. |
Piece |
getPiece(java.lang.String iface,
int i)
1D Piece-array fetching. |
Piece |
getPiece(java.lang.String iface,
int i,
int j)
2D Piece-array fetching. |
Method Detail |
---|
Piece getPiece(java.lang.String iface) throws BadInterfaceException
iface
- Fully-qualified interface name or null if no checking
is necessary.
BadInterfaceException
- If the Piece doesn't implemented the requested
interface.getPiece(String,int)
,
getPiece(String,int,int)
Piece getPiece(java.lang.String iface, int i) throws BadInterfaceException
iface
- Fully-qualified interface name or null if no checking
is necessary.i
- Piece-index.
BadInterfaceException
- If the Piece doesn't implemented the requested
interface.getPiece(String)
,
getPiece(String,int,int)
Piece getPiece(java.lang.String iface, int i, int j) throws BadInterfaceException
iface
- Fully-qualified interface name or null if no checking
is necessary.i
- Primary Piece-index.j
- Secondary Piece-index.
BadInterfaceException
- If the Piece doesn't implemented the requested
interface.getPiece(String)
,
getPiece(String,int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |