|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
Àü ´ÙÀ½ | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ |
SortedSet¸¦ »ç¿ëÇϰí ÀÖ´Â ÆÐŰÁö | |
---|---|
java.util | ÀÌ ÆÐŰÁö¿¡´Â Ä÷º¼Ç üÁ¦, ·¹°Å½Ã Ä÷º¼Ç Ŭ·¡½º, À̺¥Æ® ¸ðµ¨, ³¯Â¥¿Í ½Ã°£, ±¹Á¦È ¹× ´Ù¾çÇÑ À¯Æ¿¸®Æ¼ Ŭ·¡½º (StringTokenizer, ³¼ö »ý¼º±â ¹× ºñÆ® ¹è¿)°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. |
java.util ¿¡¼ÀÇ SortedSet »ç¿ë |
---|
SortedSet¸¦ ±¸ÇöÇϰí ÀÖ´Â java.util Ŭ·¡½º | |
---|---|
class |
TreeSet<E>
ÀÌ Å¬·¡½º´Â TreeMap ÀνºÅϽº¿¡ ±Ù°ÅÇÏ´Â Set ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÕ´Ï´Ù. |
SortedSet¸¦ µ¹·ÁÁÖ´Â java.util ¸Þ¼µå | ||
---|---|---|
static
|
Collections. checkedSortedSet (SortedSet <E> s,
Class <E> type)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®ÀÇ µ¿ÀûÀ¸·Î ÇüÅ º¸ÁõµÈ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
SortedSet <E > |
SortedSet. headSet (E toElement)
¼ÒÆ® ¼¼Æ®ÀÇ toElement º¸´Ù ÀÛÀº ¿ä¼Ò¸¦ °¡Áö´Â ºÎºÐÀÇ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
SortedSet <E > |
TreeSet. headSet (E toElement)
¼¼Æ®ÀÇ toElement º¸´Ù ÀÛÀº ¿ä¼Ò¸¦ °¡Áö´Â ºÎºÐÀÇ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
SortedSet <E > |
SortedSet. subSet (E fromElement,
E toElement)
¼ÒÆ® ¼¼Æ®ÀÇ fromElement (Æ÷ÇÔÇÑ´Ù)·ÎºÎÅÍ toElement (Æ÷ÇÔÇÏÁö ¾Ê´Â´Ù)±îÁöÀÇ ¿ä¼Ò ¹üÀ§¸¦ °¡Áö´Â ºÎºÐÀÇ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù (fromElement¿Í toElement°¡ µ¿ÀÏÇÑ °æ¿ì, ºñ¾îÀÖ´Â ¼ÒÆ® ¼¼Æ®°¡ ¸®ÅϵȴÙ). |
|
SortedSet <E > |
TreeSet. subSet (E fromElement,
E toElement)
¼¼Æ®ÀÇ fromElement (À̰ÍÀ» Æ÷ÇÔÇÑ´Ù) ~ toElement (À̰ÍÀ» Æ÷ÇÔÇÏÁö ¾Ê´Â´Ù)ÀÇ ¿ä¼Ò ¹üÀ§¸¦ °¡Áö´Â ºÎºÐÀÇ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
static
|
Collections. synchronizedSortedSet (SortedSet <T> s)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®¸¦ ±âº»À¸·Î ÇÏ´Â µ¿±â (thread ¼¼ÀÌÇÁÀÎ) ¼ÒÆ® ¼¼Æ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
SortedSet <E > |
SortedSet. tailSet (E fromElement)
¼ÒÆ® ¼¼Æ®ÀÇ fromElement ÀÌ»óÀÇ ¿ä¼Ò¸¦ °¡Áö´Â ºÎºÐÀÇ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
SortedSet <E > |
TreeSet. tailSet (E fromElement)
¼¼Æ®ÀÇ fromElement¿¡ µ¿ÀÏÇѰ¡ À̰ͺ¸´Ù Å« ¿ä¼Ò¸¦ °¡Áö´Â ºÎºÐÀÇ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
static
|
Collections. unmodifiableSortedSet (SortedSet <T> s)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®ÀÇ º¯°æ ºÒ°¡´ÉÇÑ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
SortedSet ÇüÀÇ ÆÄ¶ó¹ÌÅ͸¦ °¡Áö´Â java.util ¸Þ¼µå | ||
---|---|---|
static
|
Collections. checkedSortedSet (SortedSet <E> s,
Class <E> type)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®ÀÇ µ¿ÀûÀ¸·Î ÇüÅ º¸ÁõµÈ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
static
|
Collections. synchronizedSortedSet (SortedSet <T> s)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®¸¦ ±âº»À¸·Î ÇÏ´Â µ¿±â (thread ¼¼ÀÌÇÁÀÎ) ¼ÒÆ® ¼¼Æ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
|
static
|
Collections. unmodifiableSortedSet (SortedSet <T> s)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®ÀÇ º¯°æ ºÒ°¡´ÉÇÑ ºä¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
SortedSet ÇüÀÇ ÆÄ¶ó¹ÌÅ͸¦ °¡Áö´Â java.util constructor¡¡ ¡¡ | |
---|---|
PriorityQueue (SortedSet <? extends E > c)
ÁöÁ¤µÈ Ä÷º¼Ç³»ÀÇ ¿ä¼Ò¸¦ Æ÷ÇÔÇÑ PriorityQueue¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
TreeSet (SortedSet <E > s)
ÁöÁ¤µÈ ¼ÒÆ® ¼¼Æ®¿Í °°Àº ¿ä¼Ò¸¦ °¡Á®, °°Àº ¼ø¼ºÎ¿¡ µû¶ó ¼ÒÆ®µÈ, »õ·Î¿î ¼¼Æ®¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
Àü ´ÙÀ½ | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.