Home
last modified time | relevance | path

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

1234

/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 …]
/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 …]
DImmutableRangeSetTest.java391 ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17); in testAsSet()
392 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers()); in testAsSet()
407 ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17); in testAsSetHeadSet()
408 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers()); in testAsSetHeadSet()
424 ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17); in testAsSetTailSet()
425 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers()); in testAsSetTailSet()
441 ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17); in testAsSetSubSet()
442 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers()); in testAsSetSubSet()
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedSet.java94 public abstract class ImmutableSortedSet<E> extends ImmutableSortedSetFauxverideShim<E> class
100 private static final ImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
104 private static <E> ImmutableSortedSet<E> emptySet() { in emptySet()
105 return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET; in emptySet()
108 static <E> ImmutableSortedSet<E> emptySet( in emptySet()
120 public static <E> ImmutableSortedSet<E> of() { in of()
127 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
141 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
154 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
167 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()
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()
/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()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeyCombination.java11 import com.google.common.collect.ImmutableSortedSet;
141 ImmutableSortedSet<ModifierKey> sortedOnKeys1 = ImmutableSortedSet.copyOf(onKeys); in compareTo()
142 ImmutableSortedSet<ModifierKey> sortedOnKeys2 = ImmutableSortedSet.copyOf(o.onKeys); in compareTo()
163 ImmutableSortedSet<ModifierKey> sortedOffKeys1 = ImmutableSortedSet.copyOf(offKeys); in compareTo()
164 ImmutableSortedSet<ModifierKey> sortedOffKeys2 = ImmutableSortedSet.copyOf(o.offKeys); in compareTo()
181 ImmutableSortedSet<ModifierKey> set1, ImmutableSortedSet<ModifierKey> set2) { in compareSetsDescending()
DKeyboard.java9 import com.google.common.collect.ImmutableSortedSet;
19 private final ImmutableSortedSet<KeyMap> keyMaps;
20 private final ImmutableSortedSet<Transform> transforms;
24 ImmutableSortedSet<KeyMap> keyMaps, ImmutableSortedSet<Transform> transforms) { in Keyboard()
36 ImmutableSortedSet<KeyMap> keyMaps, ImmutableSortedSet<Transform> transforms) { in of()
DModifierKeyCombinationSet.java11 import com.google.common.collect.ImmutableSortedSet;
25 private final ImmutableSortedSet<ModifierKeyCombination> combinations;
27 private ModifierKeyCombinationSet(ImmutableSortedSet<ModifierKeyCombination> combinations) { in ModifierKeyCombinationSet()
38 return new ModifierKeyCombinationSet(ImmutableSortedSet.copyOf(simplifiedSet)); in of()
53 public ImmutableSortedSet<ModifierKeyCombination> combinations() { in combinations()
DKeyboardBuilder.java17 import com.google.common.collect.ImmutableSortedSet;
92 ImmutableSortedSet.Builder<KeyMap> keyMaps = ImmutableSortedSet.naturalOrder(); in build()
99ImmutableSortedSet.Builder<Transform> transforms = ImmutableSortedSet.orderedBy(collatorComparator… in build()
/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/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/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/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;
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/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/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DKeyboardTest.java18 import com.google.common.collect.ImmutableSortedSet;
50ImmutableSortedSet<Transform> transforms = ImmutableSortedSet.of(Transform.of("¨ß", "\uD800\uDE80"… in createKeyboard()
54 ImmutableList.of("Czech-QWERTY"), ImmutableSortedSet.of(keyMap1, keyMap2), transforms); in createKeyboard()
128ImmutableSortedSet<Transform> transforms = ImmutableSortedSet.of(Transform.of("¨ß", "\uD800\uDE80"… in testEqualsTrue()
132 ImmutableSortedSet.of(keyMap1, keyMap2), transforms); in testEqualsTrue()
151 ImmutableSortedSet<Transform> emptyTransforms = ImmutableSortedSet.of(); in testEqualsFalse()
154 ImmutableSortedSet.of(keyMap1), emptyTransforms); in testEqualsFalse()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableClassDef.java59 @Nonnull protected final ImmutableSortedSet<? extends ImmutableField> staticFields;
60 @Nonnull protected final ImmutableSortedSet<? extends ImmutableField> instanceFields;
61 @Nonnull protected final ImmutableSortedSet<? extends ImmutableMethod> directMethods;
62 @Nonnull protected final ImmutableSortedSet<? extends ImmutableMethod> virtualMethods;
119 @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields, in ImmutableClassDef()
120 @Nullable ImmutableSortedSet<? extends ImmutableField> instanceFields, in ImmutableClassDef()
121 @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods, in ImmutableClassDef()
122 … @Nullable ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) { in ImmutableClassDef()

1234