HomeSort by relevance Sort by last modified time
    Searched full:sortedset (Results 1 - 25 of 357) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/jcommander/src/test/java/com/beust/jcommander/
SetConverter.java 3 import java.util.SortedSet;
6 public class SetConverter implements IStringConverter<SortedSet<Integer>> {
8 public SortedSet<Integer> convert(String value) {
9 SortedSet<Integer> set = new TreeSet<Integer>();
  /external/snakeyaml/src/test/resources/examples/
set-bean-5.yaml 1 !!java.util.SortedSet {zzz: null, aaa: null, bbb: null
  /external/jcommander/src/test/java/com/beust/jcommander/args/
ArgsWithSet.java 6 import java.util.SortedSet;
10 public SortedSet<Integer> set;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
SortedSetNavigationTester.java 30 import java.util.SortedSet;
33 * A generic JUnit test which tests operations on a SortedSet. Can't be
42 private SortedSet<E> sortedSet;
50 sortedSet = (SortedSet<E>) getSet();
53 Collections.sort(values, sortedSet.comparator());
68 sortedSet.first();
77 sortedSet.last();
85 assertEquals(a, sortedSet.first())
    [all...]
  /external/guava/guava/src/com/google/common/collect/
SortedIterables.java 22 import java.util.SortedSet;
41 if (elements instanceof SortedSet) {
42 comparator2 = comparator((SortedSet<?>) elements);
52 // if sortedSet.comparator() is null, the set must be naturally ordered
53 public static <E> Comparator<? super E> comparator(SortedSet<E> sortedSet) {
54 Comparator<? super E> result = sortedSet.comparator();
SortedMultisetBridge.java 19 import java.util.SortedSet;
24 * that specified {@code elementSet()} to return {@code SortedSet}.
30 SortedSet<E> elementSet();
AbstractSortedKeySortedSetMultimap.java 23 import java.util.SortedSet;
30 * SortedMap/SortedSet overrides.
52 public SortedSet<K> keySet() {
53 return (SortedSet<K>) super.keySet();
AbstractSortedSetMultimap.java 25 import java.util.SortedSet;
33 * must return a {@code SortedSet}.
51 abstract SortedSet<V> createCollection();
54 SortedSet<V> createUnmodifiableEmptyCollection() {
74 * key, this method returns a {@link SortedSet}, instead of the
77 @Override public SortedSet<V> get(@Nullable K key) {
78 return (SortedSet<V>) super.get(key);
86 * key, this method returns a {@link SortedSet}, instead of the
89 @Override public SortedSet<V> removeAll(@Nullable Object key) {
90 return (SortedSet<V>) super.removeAll(key)
    [all...]
StandardRowSortedTable.java 28 import java.util.SortedSet;
37 * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link
69 * <p>This method returns a {@link SortedSet}, instead of the {@code Set}
72 @Override public SortedSet<R> rowKeySet() {
73 return (SortedSet<R>) rowMap().keySet();
93 public SortedSet<R> keySet() {
94 return (SortedSet<R>) super.keySet();
98 SortedSet<R> createKeySet() {
ForwardingSortedSetMultimap.java 22 import java.util.SortedSet;
44 @Override public SortedSet<V> get(@Nullable K key) {
48 @Override public SortedSet<V> removeAll(@Nullable Object key) {
52 @Override public SortedSet<V> replaceValues(
RowSortedTable.java 25 import java.util.SortedSet;
30 * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link
43 * <p>This method returns a {@link SortedSet}, instead of the {@code Set}
46 @Override SortedSet<R> rowKeySet();
SortedSetMultimap.java 25 import java.util.SortedSet;
31 * that is, they comprise a {@link SortedSet}. It cannot hold duplicate
38 * each return a {@link SortedSet} of values, while {@link Multimap#entries()}
40 * so explicitly, the map returned by {@link #asMap} has {@code SortedSet}
63 * key, this method returns a {@link SortedSet}, instead of the
67 SortedSet<V> get(@Nullable K key);
73 * key, this method returns a {@link SortedSet}, instead of the
77 SortedSet<V> removeAll(@Nullable Object key);
84 * key, this method returns a {@link SortedSet}, instead of the
90 SortedSet<V> replaceValues(K key, Iterable<? extends V> values)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SortedSetMultimapAsMapTester.java 26 import java.util.SortedSet;
40 SortedSet<V> valueSet = (SortedSet<V>) valueCollection;
47 SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key);
57 SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().remove(key);
  /external/snakeyaml/src/test/java/examples/collections/
TypeSafeSetImplementationsTest.java 21 import java.util.SortedSet;
35 SortedSet<String> sortedSet = new TreeSet<String>();
36 sortedSet.add("two");
37 sortedSet.add("one");
38 sortedSet.add("three");
39 bean.setSorted(sortedSet);
40 SortedSet<Developer> developers = new TreeSet<Developer>();
53 SortedSet<String> sortedSet = new TreeSet<String>()
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableSortedSetTest.java 51 import java.util.SortedSet;
162 @Override protected SortedSet<String> of() {
166 @Override protected SortedSet<String> of(String e) {
170 @Override protected SortedSet<String> of(String e1, String e2) {
174 @Override protected SortedSet<String> of(String e1, String e2, String e3) {
178 @Override protected SortedSet<String> of(
183 @Override protected SortedSet<String> of(
188 @Override protected SortedSet<String> of(String e1, String e2, String e3,
193 @Override protected SortedSet<String> copyOf(String[] elements) {
197 @Override protected SortedSet<String> copyOf(Collection<String> elements)
    [all...]
ForwardingSortedSetTest.java 32 import java.util.SortedSet;
42 private final SortedSet<T> backingSet;
44 StandardImplForwardingSortedSet(SortedSet<T> backingSet) {
48 @Override protected SortedSet<T> delegate() {
100 @Override public SortedSet<T> subSet(T fromElement, T toElement) {
135 final SortedSet<String> sortedSet
136 = createProxyInstance(SortedSet.class);
138 @Override protected SortedSet<String> delegate() {
139 return sortedSet;
    [all...]
ConstraintsTest.java 34 import java.util.SortedSet;
124 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar"));
125 SortedSet<String> constrained = Constraints.constrainedSortedSet(
126 sortedSet, TEST_CONSTRAINT);
127 sortedSet.add(TEST_ELEMENT);
130 assertTrue(sortedSet.equals(constrained));
131 assertTrue(constrained.equals(sortedSet));
132 assertEquals(sortedSet.toString(), constrained.toString());
133 assertEquals(sortedSet.hashCode(), constrained.hashCode())
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue97/
Blog.java 18 import java.util.SortedSet;
21 private SortedSet<Post> posts;
27 public SortedSet<Post> getPosts() {
  /external/smali/util/src/main/java/org/jf/util/
CollectionUtils.java 139 if (it instanceof SortedSet) {
140 SortedSet<? extends T> sortedSet = (SortedSet<? extends T>)it;
141 Comparator<?> comparator = sortedSet.comparator();
149 if (it instanceof SortedSet) {
150 SortedSet<? extends T> sortedSet = (SortedSet<? extends T>)it;
151 Comparator<?> comparator = sortedSet.comparator()
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedSetTest.java 31 import java.util.SortedSet;
55 @Override protected SortedSet<String> of() {
59 @Override protected SortedSet<String> of(String e) {
63 @Override protected SortedSet<String> of(String e1, String e2) {
67 @Override protected SortedSet<String> of(String e1, String e2, String e3) {
71 @Override protected SortedSet<String> of(
76 @Override protected SortedSet<String> of(
81 @Override protected SortedSet<String> of(String e1, String e2, String e3,
86 @Override protected SortedSet<String> copyOf(String[] elements) {
90 @Override protected SortedSet<String> copyOf(Collection<String> elements)
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SortedMultiset.java 22 import java.util.SortedSet;
26 * to returning a {@code SortedSet} for GWT compatibility.
44 * Returns a {@link SortedSet} view of the distinct elements in this multiset.
47 @Override SortedSet<E> elementSet();
SortedMultisets.java 27 import java.util.SortedSet;
46 SortedSet<E> {
61 @Override public SortedSet<E> subSet(E fromElement, E toElement) {
65 @Override public SortedSet<E> headSet(E toElement) {
69 @Override public SortedSet<E> tailSet(E fromElement) {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestStringSortedSetGenerator.java 23 import java.util.SortedSet;
36 public SortedSet<String> create(Object... elements) {
37 return (SortedSet<String>) super.create(elements);
40 @Override protected abstract SortedSet<String> create(String[] elements);
  /frameworks/base/core/java/com/google/android/collect/
Sets.java 24 import java.util.SortedSet;
74 * Creates an empty {@code SortedSet} instance.
76 * @return a newly-created, initially-empty {@code SortedSet}.
78 public static <E> SortedSet<E> newSortedSet() {
83 * Creates a {@code SortedSet} instance containing the given elements.
86 * @return a newly-created {@code SortedSet} containing those elements (minus
89 public static <E> SortedSet<E> newSortedSet(E... elements) {
90 SortedSet<E> set = new TreeSet<E>();
  /libcore/luni/src/test/java/libcore/java/util/
TreeSetTest.java 20 import java.util.SortedSet;
59 final SortedSet<String> subSet = set.subSet("a", "c");
60 new SerializationTester<SortedSet<String>>(subSet, s) {
61 @Override protected void verify(SortedSet<String> deserialized) {
77 final SortedSet<String> subSet = set.subSet("a", false, "c", true);
78 new SerializationTester<SortedSet<String>>(subSet, s) {
79 @Override protected void verify(SortedSet<String> deserialized) {
89 private void assertBounded(SortedSet<String> deserialized, boolean bounded) {

Completed in 1902 milliseconds

1 2 3 4 5 6 7 8 91011>>