Top Description Fields Constructors Methods
jogamp.opengl.glu.nurbs

public Class Maplist

extends Object
Class Inheritance

Class holding list of Mapdescs
Author
Tomáš Hráský

Field Summary

Modifier and TypeField and Description
private Mapdesc
maps

Head of linked list

Constructor Summary

AccessConstructor and Description
public
Maplist()

Makes new Maplist

Method Summary

Modifier and TypeMethod and Description
private void
add(final int
map type
type
,
final int
is map rational
rational
,
final int
number of coords
ncoords
)

Adds new Mapdesc to linked list

public void
define(final int
map type
type
,
final int
is map rational
rational
,
final int
number of coords
ncoords
)

Defines new Mapdesc if it is not defined and appends it to linked list

public Mapdesc

Returns:

Mapdesc of type or null if there is no such map
find
(final int
maptype
type
)

Alias for locate

public void
initialize()

Sets linked list beginning to null

public Mapdesc

Returns:

Mapdesc of type or null if there is no such map
locate
(final int
map type
type
)

Tries to find Mapdesc in linked list

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mapsback to summary
private Mapdesc maps

Head of linked list

Constructor Detail

Maplistback to summary
public Maplist()

Makes new Maplist

Method Detail

addback to summary
private void add(final int type, final int rational, final int ncoords)

Adds new Mapdesc to linked list

Parameters
type:int

map type

rational:int

is map rational

ncoords:int

number of coords

defineback to summary
public void define(final int type, final int rational, final int ncoords)

Defines new Mapdesc if it is not defined and appends it to linked list

Parameters
type:int

map type

rational:int

is map rational

ncoords:int

number of coords

findback to summary
public Mapdesc find(final int type)

Alias for locate

Parameters
type:int

maptype

Returns:Mapdesc

Mapdesc of type or null if there is no such map

initializeback to summary
public void initialize()

Sets linked list beginning to null

locateback to summary
public Mapdesc locate(final int type)

Tries to find Mapdesc in linked list

Parameters
type:int

map type

Returns:Mapdesc

Mapdesc of type or null if there is no such map