|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.awt.image.renderable.ParameterBlock
public class ParameterBlock
ParameterBlock Àº RenderableImageOp ³ª, À̹ÌÁö¸¦ ó¸®ÇÏ´Â °Í ¿ÜÀÇ Å¬·¡½º¿¡ ÀÇÇØ ÇÊ¿äÇÏ°Ô µÇ´Â ¼Ò½º ¹× ÆÄ¶ó¹ÌÅÍ (Object)¿¡ ´ëÇÑ ¸ðµç Á¤º¸¸¦ ĸ½¶ÈÇÕ´Ï´Ù.
¼Ò½º Vector¿¡´Â ÀÓÀÇÀÇ °´Ã¼¸¦ ¹èÄ¡ÇÒ ¼ö ÀÖ½À´Ï´Ù¸¸, ÀÌ Å¬·¡½ºÀÇ »ç¿ëÀÚ´Â ¿¹¸¦ µé¾î
¸ðµç ¼Ò½º´Â RenderedImages ¶Ç´Â RenderableImage°¡ ¾Æ´Ï¸é ¾ÈµÇ´Â µîÀÌ °°Àº ¹Ì Á¦¾àÀ» ´õÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ParameterBlock ÀÚü´Â ÄÁÅ×À̳ʿ¡ Áö³ªÁö ¾Ê±â ¶§¹®¿¡
¼Ò½º ¶Ç´Â ÆÄ¶ó¹ÌÅÍÀÇ ÇüÅÂÀÇ Ã¼Å©´Â ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù.
ParameterBlock
ÆÄ¶ó¹ÌÅÍ´Â ¸ðµÎ °´Ã¼ÀÔ´Ï´Ù. ±âº»ÇüÀÇ Àμö¸¦ ÃëÇÏ´Â °£ÀÌ add ¸Þ¼µå ¹× set ¸Þ¼µå°¡ ÀÌ¿ë °¡´ÉÇØ, ÀûÀýÇÑ Number (Integer ¶Ç´Â Float µî)ÀÇ ¼ºê Ŭ·¡½º¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ´ëÀÀÇÏ´Â get ¸Þ¼µå´Â ÇϺΠij½ºÆ®¸¦ ½ÇÇàÇØ, ±âº»ÇüÀÇ ¹Ýȯ°ªÀ» ¹Þ½À´Ï´Ù. Æ÷ÇԵǴ °ªÀÇ ÇüŰ¡ ¿Ã¹Ù¸¥ ÇüŰ¡ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù. short s; add(s)ÀÇ °á°ú¿Í add(new Short(s))ÀÇ °á°ú´Â ±¸º°ÇÒ ¼ö ¾ø½À´Ï´Ù.
get ¸Þ¼µå ¹× set ¸Þ¼µå´Â ÂüÁ¶¿¡ ¿µÇâÀ» ÁÝ´Ï´Ù. µû¶ó¼, ParameterBlock °£¿¡¼ÀÇ ÂüÁ¶ÀÇ °øÀ¯°¡ ºÎÀûÀýÇÑ °æ¿ì´Â °øÀ¯ÇÏÁö ¾Ê°ÔÀÇÇØ ÁÖ¼¼¿ä. ¿¹¸¦ µé¾î
Ãß°¡µÈ ¼Ò½º¸¦ Á¦¿ÜÇØ, ³°Àº ParameterBlock °ú °°Àº »õ·Î¿î ParameterBlock¸¦ ÀÛ¼ºÇÏ´Â °æ¿ì¿¡
´ÙÀ½°ú °°ÀÌ ±â¼úÇØ ¹ö¸®±â ½±»óÀÔ´Ï´Ù.
ParameterBlock addSource(ParameterBlock pb, RenderableImage im) {
ParameterBlock pb1 = new ParameterBlock(pb.getSources());
pb1.addSource(im);
return pb1;
}
ÀÌ ÄÚµå´Â getSources Á¶ÀÛÀÌ ¼Ò½º Vector ¿¡ÀÇ ÂüÁ¶¸¦ µ¹·ÁÁÖ¾ú±â ¶§¹®¿¡
¿øÀÇ ParameterBlock¸¦ º¯°æÇÏ´Â ºÎÀÛ¿ëÀÌ ÀÖ½À´Ï´Ù. pb¿Í
pb1´Â ¼Ò½º Vector¸¦ °øÀ¯Çϰí ÀÖÀ¸¹Ç·Î ÇÑÆíÀÇ º¯°æÀº ¾çÂÊ ¸ðµÎ¿¡ ´ëÇØ¼ °¡½Ã°¡ µË´Ï´Ù.
addSource ÇÔ¼öÀÇ ±â¼ú ¹æ¹ýÀ¸·Î ÀûÀýÇÑ °ÍÀº ´ÙÀ½°ú °°ÀÌ ¼Ò½º Vector¸¦ º¹Á¦ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
ParameterBlock addSource (ParameterBlock pb, RenderableImage im) {
ParameterBlock pb1 = new ParameterBlock(pb.getSources(). clone());
pb1.addSource(im);
return pb1;
}
ParameterBlock
clone ¸Þ¼µå´Â ÀÌ·¯ÇÑ ÀÌÀ¯·Î½á ¼Ò½º¿Í ÆÄ¶ó¹ÌÅÍÀÇ ¾çÂÊ ¸ðµÎÀÇ Vector
º¹Á¦¸¦ ½ÇÇàÇϵµ·Ï Á¤Àǵǰí ÀÖ½À´Ï´Ù. Ç¥ÁØÀÇ »þ·Î º¹Á¦¸¦ shallowClone ·Î¼ ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
addSource, setSource, add ¹× set °¢ ¸Þ¼µå´Â Àμö¸¦ Ãß°¡ÇÑ ÈÄ¿¡ this¸¦ µ¹·ÁÁÖµµ·Ï Á¤Àǵ˴ϴÙ. ±× ¶§¹®¿¡ ´ÙÀ½°ú °°Àº ±¸¹®ÀÇ »ç¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.
ParameterBlock pb = new ParameterBlock();
op = new RenderableImageOp("operation", pb.add(arg1). add(arg2));
| ÇÊµå °³¿ä | |
|---|---|
protected Vector <Object > |
parameters
ÀÓÀÇÀÇ Object ·Î¼ Æ÷ÇԵǴ ¼Ò½º ÀÌ¿ÜÀÇ ÆÄ¶ó¹ÌÅÍÀÇ Vector ÀÔ´Ï´Ù. |
protected Vector <Object > |
sources
ÀÓÀÇÀÇ Object ·Î¼ Æ÷ÇԵǴ ¼Ò½ºÀÇ Vector ÀÔ´Ï´Ù. |
| »ý¼ºÀÚ °³¿ä | |
|---|---|
ParameterBlock ()
´õ¹Ì »ý¼ºÀÚ ÀÔ´Ï´Ù. |
|
ParameterBlock (Vector <Object > sources)
ÁöÁ¤µÈ ¼Ò½ºÀÇ Vector¸¦ »ç¿ëÇØ ParameterBlock¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
ParameterBlock (Vector <Object > sources,
Vector <Object > parameters)
ÁöÁ¤µÈ ¼Ò½ºÀÇ Vector ¹× ÆÄ¶ó¹ÌÅÍÀÇ Vector¸¦ »ç¿ëÇØ ParameterBlock¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
| ¸Þ¼µå °³¿ä | |
|---|---|
ParameterBlock |
add (byte b)
Byte¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (char c)
Character¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (double d)
Double¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (float f)
Float¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (int i)
Integer¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (long l)
Long¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (Object obj)
°´Ã¼¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
add (short s)
Short¸¦ ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇÕ´Ï´Ù. |
ParameterBlock |
addSource (Object source)
À̹ÌÁö¸¦ ¼Ò½ºÀÇ ¸®½ºÆ®ÀÇ ¸¶Áö¸·¿¡ Ãß°¡ÇÕ´Ï´Ù. |
Object |
clone ()
ParameterBlock
º¹»çº»À» ÀÛ¼ºÇÕ´Ï´Ù. |
byte |
getByteParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ byte ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
char |
getCharParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ char ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
double |
getDoubleParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ double ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
float |
getFloatParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ float ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
int |
getIntParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ int ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
long |
getLongParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ long ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
int |
getNumParameters ()
ÆÄ¶ó¹ÌÅÍÀÇ ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getNumSources ()
¼Ò½º À̹ÌÁöÀÇ ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Object |
getObjectParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ °´Ã¼·Î¼ ÃëµæÇÕ´Ï´Ù. |
Class [] |
getParamClasses ()
ÆÄ¶ó¹ÌÅÍÀÇ ÇüŸ¦ ±â¼úÇÏ´Â Class °´Ã¼ÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
Vector <Object > |
getParameters ()
ÆÄ¶ó¹ÌÅÍÀÇ Vector Àüü¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
RenderableImage |
getRenderableSource (int index)
¼Ò½º¸¦ RenderableImage ·Î¼ ¸®ÅÏÇÕ´Ï´Ù. |
RenderedImage |
getRenderedSource (int index)
¼Ò½º¸¦ RenderedImage·Î
¼ ¸®ÅÏÇÕ´Ï´Ù. |
short |
getShortParameter (int index)
ÆÄ¶ó¹ÌÅ͸¦ short ·Î¼ µ¹·ÁÁÖ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. |
Object |
getSource (int index)
¼Ò½º¸¦ ÀϹÝÀûÀÎ Object ·Î¼ ¸®ÅÏÇÕ´Ï´Ù. |
Vector <Object > |
getSources ()
¼Ò½ºÀÇ Vector Àüü¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
void |
removeParameters ()
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®¸¦ Ŭ¸®¾î ÇÕ´Ï´Ù. |
void |
removeSources ()
¼Ò½º À̹ÌÁöÀÇ ¸®½ºÆ®¸¦ Ŭ¸®¾î ÇÕ´Ï´Ù. |
ParameterBlock |
set (byte b,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Byte¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (char c,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Character¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (double d,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Double¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (float f,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Float¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (int i,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Integer¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (long l,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Long¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (Object obj,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ ¿Å°Ü³õ½À´Ï´Ù. |
ParameterBlock |
set (short s,
int index)
ÆÄ¶ó¹ÌÅÍÀÇ ¸®½ºÆ®ÀÇ Object¸¦ Short¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
void |
setParameters (Vector <Object > parameters)
ÁöÁ¤µÈ Vector¿¡ ÆÄ¶ó¹ÌÅÍÀÇ Vector Àüü¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
ParameterBlock |
setSource (Object source,
int index)
¼Ò½ºÀÇ ¸®½ºÆ®ÀÇ ¿£Æ®¸®¸¦ »õ·Î¿î ¼Ò½º¿¡ ¿Å°Ü³õ½À´Ï´Ù. |
void |
setSources (Vector <Object > sources)
ÁöÁ¤µÈ Vector¿¡ ¼Ò½ºÀÇ Vector Àüü¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
Object |
shallowClone ()
ParameterBlock
»þ·ÎÄÚÇǸ¦ ÀÛ¼ºÇÕ´Ï´Ù. |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| ÇʵåÀÇ »ó¼¼ |
|---|
protected Vector <Object > sources
protected Vector <Object > parameters
| »ý¼ºÀÚ »ó¼¼ |
|---|
public ParameterBlock()
public ParameterBlock(Vector <Object > sources)
ParameterBlock¸¦ ±¸ÃàÇÕ´Ï´Ù.
sources - ¼Ò½º À̹ÌÁöÀÇ Vector
public ParameterBlock(Vector <Object > sources,
Vector <Object > parameters)
ParameterBlock¸¦ ±¸ÃàÇÕ´Ï´Ù.
sources - ¼Ò½º À̹ÌÁöÀÇ Vectorparameters - ·»´õ¸µ Á¶ÀÛÀ¸·Î »ç¿ëµÇ´Â ÆÄ¶ó¹ÌÅÍÀÇ Vector| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public Object shallowClone()
ParameterBlock
»þ·ÎÄÚÇǸ¦ ÀÛ¼ºÇÕ´Ï´Ù. ¼Ò½º ¹× ÆÄ¶ó¹ÌÅÍÀÇ Vector´Â ÂüÁ¶·Î º¹»çµË´Ï´Ù. Ãß°¡³ª º¯°æÀº ¾çÂÊ ¸ðµÎÀÇ ¹öÀü¿¡ ´ëÇØ¼ °¡½Ã°¡ µË´Ï´Ù.
ParameterBlock
Object
º¹Á¦public Object clone()
ParameterBlock
º¹»çº»À» ÀÛ¼ºÇÕ´Ï´Ù. ¼Ò½º ¹× ÆÄ¶ó¹ÌÅÍÀÇ Vector´Â º¹Á¦µË´Ï´Ù¸¸, ½ÇÁ¦ÀÇ ¼Ò½º ¹× ÆÄ¶ó¹ÌÅÍ´Â ÂüÁ¶·Î º¹»çµË´Ï´Ù. ÀÌ ¶§¹®¿¡
º¹Á¦¿¡¼ÀÇ ¼Ò½º ¹× ÆÄ¶ó¹ÌÅÍÀÇ ¼ø¼¿Í ¼öÀÇ º¯°æÀº ¿øÀÇ ParameterBlock·Î
ºÎÅÍ´Â ºÒ°¡½Ã°¡ µË´Ï´Ù. ÇÑÆí, °øÀ¯µÇ´Â ¼Ò½º ¶Ç´Â ÆÄ¶ó¹ÌÅÍ ÀÚüÀÇ º¯°æÀº °¡½Ã°¡ µË´Ï´Ù.
Object ³»ÀÇ clone ParameterBlock
Object
º¹Á¦Cloneable public ParameterBlock addSource(Object source)
source - ¼Ò½º ¸®½ºÆ®¿¡ Æ÷ÇԵǴ À̹ÌÁö °´Ã¼
source¸¦ Æ÷ÇÔÇÏ´Â »õ·Î¿îÀÇ ParameterBlockpublic Object getSource(int index)
index - ¸®ÅϵÈ
¼Ò½ºÀÇ À妽º
sources Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ¼Ò½º¸¦ ³ªÅ¸³»´Â ObjectsetSource(Object, int)
public ParameterBlock setSource(Object source,
int index)
source - ÁöÁ¤µÈ ¼Ò½º À̹ÌÁöindex - ÁöÁ¤µÈ source¸¦ »ðÀÔÇÏ´Â sources Vector ³»ÀÇ À妽º
index·Î
ÁöÁ¤µÈ source¸¦ Æ÷ÇÔÇÏ´Â »õ·Î¿îÀÇ ParameterBlockgetSource(int) public RenderedImage getRenderedSource(int index)
RenderedImage·Î
¼ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. ¼Ò½º°¡ RenderedImage°¡ ¾Æ´Ñ °æ¿ì, ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
¼Ò½ºÀÇ À妽º
sources Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ¼Ò½º À̹ÌÁö¸¦ ³ªÅ¸³»´Â RenderedImagepublic RenderableImage getRenderableSource(int index)
index - ¸®ÅϵÈ
¼Ò½ºÀÇ À妽º
sources Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ¼Ò½º À̹ÌÁö¸¦ ³ªÅ¸³»´Â RenderableImagepublic int getNumSources()
sources Vector ³»ÀÇ ¼Ò½º À̹ÌÁöÀÇ ¼öpublic Vector <Object > getSources()
sources VectorsetSources(Vector) public void setSources(Vector <Object > sources)
sources - ¼Ò½º À̹ÌÁöÀÇ VectorgetSources() public void removeSources()
public int getNumParameters()
parameters Vector ³»ÀÇ ÆÄ¶ó¹ÌÅÍÀÇ ¼öpublic Vector <Object > getParameters()
parameters VectorsetParameters(Vector) public void setParameters(Vector <Object > parameters)
parameters - ÆÄ¶ó¹ÌÅÍÀÇ ÁöÁ¤µÈ VectorgetParameters() public void removeParameters()
public ParameterBlock add(Object obj)
obj - parameters Vector¿¡ Ãß°¡ÇÏ´Â Object
ParameterBlockpublic ParameterBlock add(byte b)
b - parameters Vector¿¡ Ãß°¡ÇÏ´Â byte
ParameterBlockpublic ParameterBlock add(char c)
c - parameters Vector¿¡ Ãß°¡ÇÏ´Â char
ParameterBlockpublic ParameterBlock add(short s)
s - parameters Vector¿¡ Ãß°¡ÇÏ´Â short
ParameterBlockpublic ParameterBlock add(int i)
i - parameters Vector¿¡ Ãß°¡ÇÏ´Â int
ParameterBlockpublic ParameterBlock add(long l)
l - parameters Vector¿¡ Ãß°¡ÇÏ´Â long
ParameterBlockpublic ParameterBlock add(float f)
f - parameters Vector¿¡ Ãß°¡ÇÏ´Â float
ParameterBlockpublic ParameterBlock add(double d)
d - parameters Vector¿¡ Ãß°¡ÇÏ´Â double
ParameterBlock
public ParameterBlock set(Object obj,
int index)
obj - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(byte b,
int index)
b - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(char c,
int index)
c - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(short s,
int index)
s - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(int i,
int index)
i - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(long l,
int index)
l - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(float f,
int index)
f - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlock
public ParameterBlock set(double d,
int index)
d - parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ¿Å°Ü³õ´Â ÆÄ¶ó¹ÌÅÍindex - ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ¿Å°ÜÁö´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
ParameterBlockpublic Object getObjectParameter(int index)
index - ¾ò´Â ÆÄ¶ó¹ÌÅÍÀÇ À妽º
parameters Vector ³»ÀÇ ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ÆÄ¶ó¹ÌÅ͸¦ ³ªÅ¸³»´Â Objectpublic byte getByteParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â Byte°¡ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
byte °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ Byte°¡ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic char getCharParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â Character°¡ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
char °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ Character°¡ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic short getShortParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â ShortÀÌ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
short °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ ShortÀÌ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic int getIntParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â Integer°¡ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
int °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ Integer°¡ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic long getLongParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â Long°¡ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
long °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ Long°¡ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic float getFloatParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â FloatÀÌ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
float °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ FloatÀÌ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic double getDoubleParameter(int index)
nullÀÎ °æ¿ì, ¶Ç´Â Double°¡ ¾Æ´Ñ °æ¿ì´Â ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
index - ¸®ÅϵÈ
ÆÄ¶ó¹ÌÅÍÀÇ À妽º
double °ªÀ¸·Î
ÀÇ ÆÄ¶ó¹ÌÅÍ
ClassCastException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ Double°¡ ¾Æ´Ñ °æ¿ì
NullPointerException - ÁöÁ¤µÈ À妽º¿¡¼ÀÇ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ArrayIndexOutOfBoundsException - index°¡ ºÎÀÇ °æ¿ì, ¶Ç´Â ÀÌ ParameterBlock °´Ã¼ÀÇ ÇöÀçÀÇ »çÀÌÁ´Ù ÀÛÁö ¾ÊÀº °æ¿ìpublic Class [] getParamClasses()
Class °´Ã¼ÀÇ ¹è¿
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.