|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcuda.jnpp.utilnpp.AbstractImage
class AbstractImage
Abstract base class for Images
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.Image |
---|
Image.Size |
Constructor Summary | |
---|---|
protected |
AbstractImage(Image.Size rSize)
Creates an AbstractImage with the given size |
protected |
AbstractImage(int nWidth,
int nHeight)
Creates an AbstractImage with the given size |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
int |
height()
Return the height of this image |
void |
set(Image rImage)
Assignment operator: Set this image to have the same contents as the given image. |
Image.Size |
size()
Return the size of this image |
void |
swap(Image rImage)
Swap the contents of this image and the given image |
int |
width()
Return the width of this image |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractImage(int nWidth, int nHeight)
nWidth
- The widthnHeight
- The heightprotected AbstractImage(Image.Size rSize)
rSize
- The sizeMethod Detail |
---|
public int width()
Image
width
in interface Image
public int height()
Image
height
in interface Image
public Image.Size size()
Image
size
in interface Image
public void set(Image rImage)
Image
set
in interface Image
rImage
- The other imagepublic void swap(Image rImage)
Image
swap
in interface Image
rImage
- The other imagepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |