Home
last modified time | relevance | path

Searched refs:ImmutableSortedSet (Results 1 – 25 of 62) sorted by relevance

123

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSetTest.java56 return ImmutableSortedSet.of(); in of()
60 return ImmutableSortedSet.of(e); in of()
64 return ImmutableSortedSet.of(e1, e2); in of()
68 return ImmutableSortedSet.of(e1, e2, e3); in of()
73 return ImmutableSortedSet.of(e1, e2, e3, e4); in of()
78 return ImmutableSortedSet.of(e1, e2, e3, e4, e5); in of()
83 return ImmutableSortedSet.of(e1, e2, e3, e4, e5, e6, rest); in of()
87 return ImmutableSortedSet.copyOf(elements); in copyOf()
91 return ImmutableSortedSet.copyOf(elements); in copyOf()
95 return ImmutableSortedSet.copyOf(elements); in copyOf()
[all …]
DImmutableSetMultimapTest.java223 assertFalse(multimap.get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysBy() local
224 assertFalse(multimap.get("x") instanceof ImmutableSortedSet); in testBuilderOrderKeysBy() local
225 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysBy() local
248 assertFalse(multimap.get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysByDuplicates() local
249 assertFalse(multimap.get("x") instanceof ImmutableSortedSet); in testBuilderOrderKeysByDuplicates() local
250 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysByDuplicates() local
268 assertTrue(multimap.get("a") instanceof ImmutableSortedSet); in testBuilderOrderValuesBy() local
270 ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderValuesBy()
271 assertTrue(multimap.get("x") instanceof ImmutableSortedSet); in testBuilderOrderValuesBy() local
273 ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderValuesBy()
[all …]
DContiguousSetTest.java69 ImmutableSortedSet.of(1, 2, 3)) in testEquals()
109 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testHeadSet()
127 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testTailSet()
143 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet()
160 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet_outOfOrder()
190 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContains()
206 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContainsAll()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSortedSetTest.java163 return ImmutableSortedSet.of(); in of()
167 return ImmutableSortedSet.of(e); in of()
171 return ImmutableSortedSet.of(e1, e2); in of()
175 return ImmutableSortedSet.of(e1, e2, e3); in of()
180 return ImmutableSortedSet.of(e1, e2, e3, e4); in of()
185 return ImmutableSortedSet.of(e1, e2, e3, e4, e5); in of()
190 return ImmutableSortedSet.of(e1, e2, e3, e4, e5, e6, rest); in of()
194 return ImmutableSortedSet.copyOf(elements); in copyOf()
198 return ImmutableSortedSet.copyOf(elements); in copyOf()
202 return ImmutableSortedSet.copyOf(elements); in copyOf()
[all …]
DImmutableSetMultimapTest.java256 assertFalse(multimap.get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysBy() local
257 assertFalse(multimap.get("x") instanceof ImmutableSortedSet); in testBuilderOrderKeysBy() local
258 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysBy() local
281 assertFalse(multimap.get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysByDuplicates() local
282 assertFalse(multimap.get("x") instanceof ImmutableSortedSet); in testBuilderOrderKeysByDuplicates() local
283 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet); in testBuilderOrderKeysByDuplicates() local
301 assertTrue(multimap.get("a") instanceof ImmutableSortedSet); in testBuilderOrderValuesBy() local
303 ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderValuesBy()
304 assertTrue(multimap.get("x") instanceof ImmutableSortedSet); in testBuilderOrderValuesBy() local
306 ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderValuesBy()
[all …]
DContiguousSetTest.java73 ImmutableSortedSet.of(1, 2, 3)) in testEquals()
134 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testHeadSet()
152 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testTailSet()
168 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet()
185 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet_outOfOrder()
215 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContains()
231 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContainsAll()
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedSet.java93 public abstract class ImmutableSortedSet<E> extends ImmutableSortedSetFauxverideShim<E> class
99 private static final ImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
103 private static <E> ImmutableSortedSet<E> emptySet() { in emptySet()
104 return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET; in emptySet()
107 static <E> ImmutableSortedSet<E> emptySet( in emptySet()
119 public static <E> ImmutableSortedSet<E> of() { in of()
126 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
140 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
153 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
166 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
[all …]
DImmutableSortedSetFauxverideShim.java45 @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() { in builder()
58 @Deprecated public static <E> ImmutableSortedSet<E> of(E element) { in of()
71 @Deprecated public static <E> ImmutableSortedSet<E> of(E e1, E e2) { in of()
84 @Deprecated public static <E> ImmutableSortedSet<E> of(E e1, E e2, E e3) { in of()
98 @Deprecated public static <E> ImmutableSortedSet<E> of( in of()
113 @Deprecated public static <E> ImmutableSortedSet<E> of( in of()
128 @Deprecated public static <E> ImmutableSortedSet<E> of( in of()
142 @Deprecated public static <E> ImmutableSortedSet<E> copyOf(E[] elements) { in copyOf()
DDescendingImmutableSortedSet.java28 class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> {
29 private final ImmutableSortedSet<E> forward;
31 DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { in DescendingImmutableSortedSet()
47 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl()
52 ImmutableSortedSet<E> subSetImpl( in subSetImpl()
58 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl()
64 public ImmutableSortedSet<E> descendingSet() { in descendingSet()
76 ImmutableSortedSet<E> createDescendingSet() { in createDescendingSet()
DEmptyImmutableSortedSet.java36 class EmptyImmutableSortedSet<E> extends ImmutableSortedSet<E> {
107 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl()
112 ImmutableSortedSet<E> subSetImpl( in subSetImpl()
118 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl()
127 ImmutableSortedSet<E> createDescendingSet() { in createDescendingSet()
DEmptyImmutableSortedMap.java34 private final transient ImmutableSortedSet<K> keySet;
37 this.keySet = ImmutableSortedSet.emptySet(comparator); in EmptyImmutableSortedMap()
43 this.keySet = ImmutableSortedSet.emptySet(comparator); in EmptyImmutableSortedMap()
52 public ImmutableSortedSet<K> keySet() { in keySet()
DImmutableSortedAsList.java35 ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) { in ImmutableSortedAsList()
40 ImmutableSortedSet<E> delegateCollection() { in delegateCollection()
41 return (ImmutableSortedSet<E>) super.delegateCollection(); in delegateCollection()
DRegularImmutableSortedSet.java48 final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
219 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl()
230 ImmutableSortedSet<E> subSetImpl( in subSetImpl()
237 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { in tailSetImpl()
257 ImmutableSortedSet<E> getSubSet(int newFromIndex, int newToIndex) { in getSubSet()
287 ImmutableSortedSet<E> createDescendingSet() { in createDescendingSet()
DEmptyImmutableSortedMultiset.java31 private final ImmutableSortedSet<E> elementSet;
34 this.elementSet = ImmutableSortedSet.emptySet(comparator); in EmptyImmutableSortedMultiset()
63 public ImmutableSortedSet<E> elementSet() { in elementSet()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSet.java38 public abstract class ImmutableSortedSet<E> class
48 @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() { in builder()
57 private static final ImmutableSortedSet<Object> NATURAL_EMPTY_SET =
61 private static <E> ImmutableSortedSet<E> emptySet() { in emptySet()
62 return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET; in emptySet()
65 static <E> ImmutableSortedSet<E> emptySet( in emptySet()
75 public static <E> ImmutableSortedSet<E> of() { in of()
79 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
85 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
91 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
[all …]
DImmutableSortedAsList.java32 ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) { in ImmutableSortedAsList()
37 ImmutableSortedSet<E> delegateCollection() { in delegateCollection()
38 return (ImmutableSortedSet<E>) super.delegateCollection(); in delegateCollection()
DImmutableSortedMap.java24 import com.google.common.collect.ImmutableSortedSet;
217 private transient ImmutableSortedSet<K> keySet;
219 @Override public ImmutableSortedSet<K> keySet() { in keySet()
220 ImmutableSortedSet<K> ks = keySet; in keySet()
224 @Override ImmutableSortedSet<K> createKeySet() { in createKeySet()
231 return ImmutableSortedSet.copyOf(comparator, sortedDelegate.keySet()); in createKeySet()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DPoolClassDef.java47 @Nonnull final ImmutableSortedSet<Field> staticFields;
48 @Nonnull final ImmutableSortedSet<Field> instanceFields;
49 @Nonnull final ImmutableSortedSet<PoolMethod> directMethods;
50 @Nonnull final ImmutableSortedSet<PoolMethod> virtualMethods;
59 …interfaces = new TypeListPool.Key<SortedSet<String>>(ImmutableSortedSet.copyOf(classDef.getInterfa… in PoolClassDef()
60 staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields()); in PoolClassDef()
61 instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields()); in PoolClassDef()
62 directMethods = ImmutableSortedSet.copyOf( in PoolClassDef()
64 virtualMethods = ImmutableSortedSet.copyOf( in PoolClassDef()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSetGenerators.java33 import com.google.common.collect.ImmutableSortedSet;
97 return ImmutableSortedSet.copyOf(elements); in create()
106 return ImmutableSortedSet.copyOf(list) in create()
116 return ImmutableSortedSet.copyOf(list) in create()
127 return ImmutableSortedSet.copyOf(list) in create()
136 return ImmutableSortedSet in create()
151 return ImmutableSortedSet.orderedBy(STRING_REVERSED) in create()
169 return new ImmutableSortedSet.Builder<String>(COMPARABLE_REVERSED) in create()
184 return ImmutableSortedSet.<String>reverseOrder() in create()
199 return ImmutableSortedSet.copyOf(elements); in create()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DImmutableConverter.java36 import com.google.common.collect.ImmutableSortedSet;
111 …public ImmutableSortedSet<ImmutableItem> toSortedSet(@Nonnull Comparator<? super ImmutableItem> co…
114 return ImmutableSortedSet.of();
118 if (iterable instanceof ImmutableSortedSet &&
119 ((ImmutableSortedSet)iterable).comparator().equals(comparator)) {
131 return (ImmutableSortedSet<ImmutableItem>)iterable;
137 return ImmutableSortedSet.copyOf(comparator, new Iterator<ImmutableItem>() {
148 return ImmutableSortedSet.of();
DImmutableUtils.java36 import com.google.common.collect.ImmutableSortedSet;
56 …@Nonnull public static <T> ImmutableSortedSet<T> nullToEmptySortedSet(@Nullable ImmutableSortedSet in nullToEmptySortedSet()
58 return ImmutableSortedSet.of(); in nullToEmptySortedSet()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
DSetGenerators.java32 import com.google.common.collect.ImmutableSortedSet;
96 return ImmutableSortedSet.copyOf(elements); in create()
105 return ImmutableSortedSet.copyOf(list) in create()
115 return ImmutableSortedSet.copyOf(list) in create()
126 return ImmutableSortedSet.copyOf(list) in create()
138 return ImmutableSortedSet.orderedBy(STRING_REVERSED) in create()
156 return new ImmutableSortedSet.Builder<String>(COMPARABLE_REVERSED) in create()
171 return ImmutableSortedSet.<String>reverseOrder() in create()
186 return ImmutableSortedSet.copyOf(elements); in create()
201 ImmutableSet<String> set = ImmutableSortedSet.copyOf( in create()
[all …]
/external/jsilver/src/com/google/streamhtmlparser/util/
DHtmlUtils.java19 import com.google.common.collect.ImmutableSortedSet;
88 ImmutableSortedSet.of(
142 ImmutableSortedSet.of(
161 ImmutableSortedSet.of(
177 ImmutableSortedSet.of(
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableClassDef.java58 @Nonnull protected final ImmutableSortedSet<? extends ImmutableField> staticFields;
59 @Nonnull protected final ImmutableSortedSet<? extends ImmutableField> instanceFields;
60 @Nonnull protected final ImmutableSortedSet<? extends ImmutableMethod> directMethods;
61 @Nonnull protected final ImmutableSortedSet<? extends ImmutableMethod> virtualMethods;
118 @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields, in ImmutableClassDef()
119 @Nullable ImmutableSortedSet<? extends ImmutableField> instanceFields, in ImmutableClassDef()
120 @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods, in ImmutableClassDef()
121 … @Nullable ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) { in ImmutableClassDef()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderClassDef.java83 this.staticFields = ImmutableSortedSet.copyOf( in BuilderClassDef()
85 this.instanceFields = ImmutableSortedSet.copyOf( in BuilderClassDef()
87 this.directMethods = ImmutableSortedSet.copyOf( in BuilderClassDef()
89 this.virtualMethods = ImmutableSortedSet.copyOf( in BuilderClassDef()

123