JavaTM 2 Platform
Standard Ed. 5.0

javax.management.relation
Ŭ·¡½º RoleList

java.lang.Object 
  »óÀ§¸¦ È®Àå java.util.AbstractCollection <E>
      »óÀ§¸¦ È®Àå java.util.AbstractList <E>
          »óÀ§¸¦ È®Àå java.util.ArrayList 
              »óÀ§¸¦ È®Àå javax.management.relation.RoleList
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class RoleList
extends ArrayList

RoleList´Â ·Ñ (Role °´Ã¼)ÀÇ ¸®½ºÆ®¸¦ ³ªÅ¸³À´Ï´Ù. °ü°è¸¦ ÀÛ¼ºÇÒ ¶§¿Í °ü°è¿¡ Æ÷ÇԵǴ º¹¼öÀÇ ·ÑÀ» setRoles() ¸Þ¼­µå¿¡ ÀÇÇØ ¼³Á¤ÇÏ·Á°í ÇÒ ¶§ ÆĶó¹ÌÅͷμ­ »ç¿ëµË´Ï´Ù. RoleResult ÀϺημ­ µ¹·ÁÁÖ°íÁ® Ãëµæ¿¡ ¼º°øÇÑ ·ÑÀ» Á¦°øÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

ÇÊµå °³¿ä
 
Ŭ·¡½º java.util. AbstractList ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå
modCount
 
»ý¼ºÀÚ °³¿ä
RoleList ()
          ºñ¾îÀÖ´Â RoleList¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
RoleList (int theInitialCapacity)
          ÁöÁ¤µÈ Ãʱ⠿뷮À¸·Î ºñ¾îÀÖ´Â RoleList¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
RoleList (List  theList)
          ÁöÁ¤µÈ List ¿ä¼Ò¸¦ Æ÷ÇÔÇÑ RoleList¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 void add (int theIndex, Role  theRole)
          ¿ä¼Ò·Î¼­ ÁöÁ¤µÈ ·ÑÀ» ÁöÁ¤ÀÇ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù.
 void add (Role  theRole)
          ¸®½ºÆ®ÀÇ ¸¶Áö¸· ¿ä¼Ò·Î¼­ ÁöÁ¤µÈ Role¸¦ Ãß°¡ÇÕ´Ï´Ù.
 boolean addAll (int theIndex, RoleList  theRoleList)
          ÁöÁ¤µÈ RoleList ³»ÀÇ ¸ðµç ¿ä¼Ò¸¦, ÁöÁ¤µÈ RoleList ¹Ýº¹ÀÚ¿¡ ÀÇÇØ ¸®ÅÏµÈ Â÷·Ê·Î ÁöÁ¤ÀÇ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù.
 boolean addAll (RoleList  theRoleList)
          ÁöÁ¤µÈ RoleList ³»ÀÇ ¸ðµç ¿ä¼Ò¸¦, ÁöÁ¤µÈ RoleList ¹Ýº¹ÀÚ¿¡ ÀÇÇØ ¸®ÅÏµÈ Â÷·Ê·Î ¸®½ºÆ®ÀÇ ¸»¹Ì¿¡ ºÎ°¡ÇÕ´Ï´Ù.
 void set (int theIndex, Role  theRole)
          ÁöÁ¤µÈ À§Ä¡ÀÇ ¿ä¼Ò¿¡ ÁöÁ¤µÈ ·ÑÀ» ¼³Á¤ÇÕ´Ï´Ù.
 
Ŭ·¡½º java.util. ArrayList ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Ŭ·¡½º java.util. AbstractList ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
equals, hashCode, iterator, listIterator, listIterator, subList
 
Ŭ·¡½º java.util. AbstractCollection ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
containsAll, removeAll, retainAll, toString
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
finalize, getClass, notify, notifyAll, wait, wait, wait
 
ÀÎÅÍÆäÀ̽º java.util. List ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

»ý¼ºÀÚ »ó¼¼

RoleList

public RoleList()
ºñ¾îÀÖ´Â RoleList¸¦ ÀÛ¼ºÇÕ´Ï´Ù.


RoleList

public RoleList(int theInitialCapacity)
ÁöÁ¤µÈ Ãʱ⠿뷮À¸·Î ºñ¾îÀÖ´Â RoleList¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theInitialCapacity - Ãʱ⠿뷮

RoleList

public RoleList(List  theList)
         throws IllegalArgumentException 
ÁöÁ¤µÈ List ¿ä¼Ò¸¦ Æ÷ÇÔÇÑ RoleList¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ·¯ÇÑ ¿ä¼Ò´Â List ¹Ýº¹ÀÚ°¡ µ¹·ÁÁÖ´Â ¼ø¼­·Î Æ÷ÇԵ˴ϴÙ. RoleList ÀνºÅϽºÀÇ Ãʱ⠿뷮Àº ÁöÁ¤µÈ List »çÀÌÁîÀÇ 110% ÀÔ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theList - Role °´Ã¼ÀÇ ¸®½ºÆ®
¿¹¿Ü:
IllegalArgumentException - ´ÙÀ½ÀÇ Á¶°ÇÀÌ ¼º¸³ÇÏ´Â °æ¿ì:

- ÆĶó¹ÌÅÍ°¡ nullÀÎ °æ¿ì

¶Ç´Â

- List ³»¿¡ Role°¡ ¾Æ´Ñ ¿ä¼Ò°¡ Æ÷ÇԵǴ °æ¿ì

¸Þ¼­µåÀÇ »ó¼¼

add

public void add(Role  theRole)
         throws IllegalArgumentException 
¸®½ºÆ®ÀÇ ¸¶Áö¸· ¿ä¼Ò·Î¼­ ÁöÁ¤µÈ Role¸¦ Ãß°¡ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theRole - Ãß°¡µÇ´Â ·Ñ
¿¹¿Ü:
IllegalArgumentException - ·ÑÀÌ nullÀÎ °æ¿ì

add

public void add(int theIndex,
                Role  theRole)
         throws IllegalArgumentException,

                IndexOutOfBoundsException 
¿ä¼Ò·Î¼­ ÁöÁ¤µÈ ·ÑÀ» ÁöÁ¤ÀÇ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù. À妽º°ªÀÌ ÇöÀçÀÇ À§Ä¡¸¦ ³ªÅ¸³»´Â °ªÀÌ»óÀÎ ¿ä¼Ò´Â À§·Î À̵¿ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theIndex - ¸®½ºÆ®³»ÀÇ »õ·Î¿î Role °´Ã¼ÀÇ »ðÀÔ À§Ä¡
theRole - »ðÀԵǴ Role °´Ã¼
¿¹¿Ü:
IllegalArgumentException - ·ÑÀÌ nullÀÎ °æ¿ì
IndexOutOfBoundsException - ¸®½ºÆ® ¿ÜºÎÀÇ À妽º·Î ¾×¼¼½º ÇßÀ» °æ¿ì

set

public void set(int theIndex,
                Role  theRole)
         throws IllegalArgumentException,

                IndexOutOfBoundsException 
ÁöÁ¤µÈ À§Ä¡ÀÇ ¿ä¼Ò¿¡ ÁöÁ¤µÈ ·ÑÀ» ¼³Á¤ÇÕ´Ï´Ù. ÀÌ Á¤µµÄ¡º¸´Ù ÀüÀÇ ¿ä¼Ò´Â ÆıâµË´Ï´Ù.

ÆĶó¹ÌÅÍ:
theIndex - ÁöÁ¤µÈ À§Ä¡
theRole - ·Ñ ¿ä¼ÒÀÇ ¼³Á¤Ä¡
¿¹¿Ü:
IllegalArgumentException - ·ÑÀÌ nullÀÎ °æ¿ì
IndexOutOfBoundsException - ¸®½ºÆ® ¿ÜºÎÀÇ À妽º·Î ¾×¼¼½º ÇßÀ» °æ¿ì

addAll

public boolean addAll(RoleList  theRoleList)
               throws IndexOutOfBoundsException 
ÁöÁ¤µÈ RoleList ³»ÀÇ ¸ðµç ¿ä¼Ò¸¦, ÁöÁ¤µÈ RoleList ¹Ýº¹ÀÚ¿¡ ÀÇÇØ ¸®ÅÏµÈ Â÷·Ê·Î ¸®½ºÆ®ÀÇ ¸»¹Ì¿¡ ºÎ°¡ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theRoleList - ¸®½ºÆ®¿¡ »ðÀԵǴ ¿ä¼Ò (nullµµ °¡´É)
¹Ýȯ°ª:
È£ÃâÀÇ °á°ú, ÀÌ ¸®½ºÆ®°¡ º¯°æµÇ¾úÀ» °æ¿ì´Â true
¿¹¿Ü:
IndexOutOfBoundsException - ¸®½ºÆ® ¿ÜºÎÀÇ À妽º·Î ¾×¼¼½º ÇßÀ» °æ¿ì
°ü·Ã Ç׸ñ:
ArrayList.addAll(Collection)

addAll

public boolean addAll(int theIndex,
                      RoleList  theRoleList)
               throws IllegalArgumentException,

                      IndexOutOfBoundsException 
ÁöÁ¤µÈ RoleList ³»ÀÇ ¸ðµç ¿ä¼Ò¸¦, ÁöÁ¤µÈ RoleList ¹Ýº¹ÀÚ¿¡ ÀÇÇØ ¸®ÅÏµÈ Â÷·Ê·Î ÁöÁ¤ÀÇ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theIndex - ÁöÁ¤µÈ RoleList ·ÎºÎÅÍ ÃÖÃÊÀÇ ¿ä¼Ò¸¦ »ðÀÔÇÏ´Â À§Ä¡
theRoleList - ¸®½ºÆ®¿¡ »ðÀԵǴ ¿ä¼Ò
¹Ýȯ°ª:
È£ÃâÀÇ °á°ú, ÀÌ ¸®½ºÆ®°¡ º¯°æµÇ¾úÀ» °æ¿ì´Â true
¿¹¿Ü:
IllegalArgumentException - ·ÑÀÌ nullÀÎ °æ¿ì
IndexOutOfBoundsException - ¸®½ºÆ® ¿ÜºÎÀÇ À妽º·Î ¾×¼¼½º ÇßÀ» °æ¿ì
°ü·Ã Ç׸ñ:
ArrayList.addAll(int, Collection)

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.