/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TreeSetTest.java | 26 import java.util.TreeSet; 40 TreeSet ts; 45 * java.util.TreeSet#TreeSet() 48 // Test for method java.util.TreeSet() 49 assertTrue("Did not construct correct TreeSet", new TreeSet().isEmpty()); 53 * java.util.TreeSet#TreeSet(java.util.Collection) 56 // Test for method java.util.TreeSet(java.util.Collection [all...] |
PriorityQueueTest.java | 28 import java.util.TreeSet; 333 TreeSet<Integer> treeSet = new TreeSet<Integer>(new MockComparator<Integer>()); 335 treeSet.add(array[i]); 337 Collection<? extends Integer> c = treeSet; 339 assertEquals(treeSet.comparator(), queue.comparator()); 340 Iterator<Integer> iter = treeSet.iterator(); 385 TreeSet<Integer> treeSet = new TreeSet<Integer>() [all...] |
/development/tools/mkstubs/src/com/android/mkstubs/ |
Filter.java | 19 import java.util.TreeSet; 33 private TreeSet<String> mIncludePrefix = new TreeSet<String>(); 34 private TreeSet<String> mIncludeFull = new TreeSet<String>(); 35 private TreeSet<String> mExcludePrefix = new TreeSet<String>(); 36 private TreeSet<String> mExcludeFull = new TreeSet<String>(); 41 public TreeSet<String> getIncludeFull() [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TreeSetTest.java | 21 import java.util.TreeSet; 30 TreeSet<String> set = new TreeSet<String>(); 31 new SerializationTester<TreeSet<String>>(set, s).test(); 39 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); 54 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); 72 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER) [all...] |
OldTreeSetTest.java | 27 import java.util.TreeSet; 31 TreeSet ts; 36 // Test for method java.util.TreeSet(java.util.Collection) 37 TreeSet myTreeSet = new TreeSet(Arrays.asList(objArray)); 38 assertTrue("TreeSet incorrect size", 41 assertTrue("TreeSet does not contain correct elements", myTreeSet 49 new TreeSet(hm.values()); 56 new TreeSet((Collection)null); 65 new TreeSet((SortedSet)null) [all...] |
/libcore/luni/src/main/java/java/util/ |
TreeSet.java | 26 * TreeSet is an implementation of SortedSet. All optional operations (adding 33 public class TreeSet<E> extends AbstractSet<E> implements NavigableSet<E>, 43 TreeSet(NavigableMap<E, Object> map) { 48 * Constructs a new empty instance of {@code TreeSet} which uses natural 51 public TreeSet() { 56 * Constructs a new instance of {@code TreeSet} which uses natural ordering 66 public TreeSet(Collection<? extends E> collection) { 72 * Constructs a new empty instance of {@code TreeSet} which uses the 78 public TreeSet(Comparator<? super E> comparator) { 83 * Constructs a new instance of {@code TreeSet} containing the elements o [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
TreeSetTest.java | 20 import java.util.TreeSet; 39 private TreeSet<Integer> populatedSet(int n) { 40 TreeSet<Integer> q = new TreeSet<Integer>(); 54 private TreeSet set5() { 55 TreeSet q = new TreeSet(); 70 assertEquals(0, new TreeSet().size()); 78 TreeSet q = new TreeSet((Collection)null) [all...] |
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.util.TreeSet.html | 10 java.util.TreeSet 74 Class java.util.<A HREF="../../../../reference/java/util/TreeSet.html" target="_top"><font size="+2"><code>TreeSet</code></font></A> 87 <A NAME="java.util.TreeSet.ceiling_added(E)"></A> 88 <nobr><code>E</code> <A HREF="../../../../reference/java/util/TreeSet.html#ceiling(E)" target="_top"><code>ceiling</code></A>(<code>E</code>)</nobr> 94 <A NAME="java.util.TreeSet.descendingIterator_added()"></A> 95 <nobr><code>Iterator<E></code> <A HREF="../../../../reference/java/util/TreeSet.html#descendingIterator()" target="_top"><code>descendingIterator</code></A>()</nobr> 101 <A NAME="java.util.TreeSet.descendingSet_added()"></A> 102 <nobr><code>NavigableSet<E></code> <A HREF="../../../../reference/java/util/TreeSet.html#descendingSet()" target="_top"><code>descendingSet</code></A>()</nobr> 108 <A NAME="java.util.TreeSet.floor_added(E)"></A [all...] |
/external/doclava/src/com/google/doclava/ |
Hierarchy.java | 22 import java.util.TreeSet; 27 HashMap<String, TreeSet<String>> nodes = new HashMap<String, TreeSet<String>>(); 32 TreeSet<String> me = nodes.get(name); 34 me = new TreeSet<String>(); 41 TreeSet<String> s = nodes.get(sname); 43 s = new TreeSet<String>(); 53 * TreeSet<String> values = nodes.get(n); for (String v: values) { 76 private static int depth(HashMap<String, TreeSet<String>> nodes, String name) { 78 TreeSet<String> derived = nodes.get(name) [all...] |
/external/smack/src/org/xbill/DNS/ |
TypeBitmap.java | 18 private TreeSet types; 22 types = new TreeSet(); 100 mapToWire(DNSOutput out, TreeSet map, int mapbase) { 120 TreeSet map = new TreeSet();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
SuggestionResults.java | 26 import java.util.TreeSet; 29 * A TreeSet of SuggestedWordInfo that is bounded in size and throws everything that's smaller 32 public final class SuggestionResults extends TreeSet<SuggestedWordInfo> {
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/prefixmapper/ |
PhonePrefixMapStorageStrategy.java | 23 import java.util.TreeSet; 34 protected final TreeSet<Integer> possibleLengths = new TreeSet<Integer>(); 91 public TreeSet<Integer> getPossibleLengths() {
|
/external/mockito/src/org/mockito/internal/invocation/finder/ |
AllInvocationsFinder.java | 23 Set<Invocation> invocationsInOrder = new TreeSet<Invocation>(new SequenceNumberComparator());
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsEmptyValues.java | 29 import java.util.TreeSet; 95 return new TreeSet<Object>(); 96 } else if (type == TreeSet.class) { 97 return new TreeSet<Object>();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
AttributedStringTest.java | 24 import java.util.TreeSet; 146 as.addAttribute(null, new TreeSet(), 0, 1); 153 as.addAttribute(null, new TreeSet(), -1, 1); 167 as.addAttribute(null, new TreeSet());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeSet.java | 25 import java.util.TreeSet; 28 * A wrapper around {@code TreeSet} that aggressively checks to see if elements 44 this(new TreeSet<E>()); 48 this(new TreeSet<E>(collection)); 52 this(new TreeSet<E>(comparator)); 56 this(new TreeSet<E>(set));
|
TestsForSetsInJavaUtil.java | 37 import java.util.TreeSet; 191 return new TreeSet<String>(MinimalCollection.of(elements)); 194 .named("TreeSet, natural") 208 = new TreeSet<String>(arbitraryNullFriendlyComparator()); 213 .named("TreeSet, with comparator")
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryList.java | 38 import java.util.TreeSet; 75 public static TreeSet<String> getUserDictionaryLocalesSet(Context context) { 79 final TreeSet<String> localeSet = new TreeSet<String>(); 136 final TreeSet<String> localeSet =
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 38 import java.util.TreeSet; 55 public static TreeSet<String> getUserDictionaryLocalesSet(Activity activity) { 59 final TreeSet<String> localeSet = new TreeSet<>(); 114 final TreeSet<String> localeSet =
|
/frameworks/base/core/java/com/google/android/collect/ |
Sets.java | 25 import java.util.TreeSet; 79 return new TreeSet<E>(); 90 SortedSet<E> set = new TreeSet<E>();
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
ValidatorContext.java | 10 import java.util.TreeSet; 25 new TreeSet<>(MESSAGE_RECORD_COMPARATOR);
|
/development/tools/idegen/src/ |
Main.java | 29 import java.util.TreeSet;
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultimap.java | 28 import java.util.TreeSet; 124 * <p>Creates an empty {@code TreeSet} for a collection of values for one key. 126 * @return a new {@code TreeSet} containing a collection of values for one 130 return new TreeSet<V>(valueComparator);
|
/frameworks/base/tools/preload/ |
PrintHtmlDiff.java | 22 import java.util.TreeSet; 52 Set<LoadedClass> removed = new TreeSet<LoadedClass>(); 53 Set<LoadedClass> added = new TreeSet<LoadedClass>(); 106 Set<String> procNames = new TreeSet<String>();
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeupTimer.java | 30 import java.util.TreeSet; 45 private TreeSet<MyEvent> mEventQueue = 46 new TreeSet<MyEvent>(new MyEventComparator()); 102 TreeSet<MyEvent> newQueue = new TreeSet<MyEvent>(
|