HomeSort by relevance Sort by last modified time
    Searched refs:ImmutableSortedSet (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/guava/guava/src/com/google/common/collect/
ImmutableSortedSetFauxverideShim.java 21 * {@link ImmutableSortedSet} equivalents with deprecated, exception-throwing
26 * Set<Object> sorted = ImmutableSortedSet.copyOf(objects);
29 * <p>While we could put the overrides in {@link ImmutableSortedSet} itself, it
37 * Not supported. Use {@link ImmutableSortedSet#naturalOrder}, which offers
39 * {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}.
42 * @deprecated Use {@link ImmutableSortedSet#naturalOrder}, which offers
45 @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() {
52 * version in {@code ImmutableSortedSet}, not this dummy version.
56 * ImmutableSortedSet#of(Comparable)}.</b>
58 @Deprecated public static <E> ImmutableSortedSet<E> of(E element)
    [all...]
DescendingImmutableSortedSet.java 24 * Skeletal implementation of {@link ImmutableSortedSet#descendingSet()}.
28 class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> {
29 private final ImmutableSortedSet<E> forward;
31 DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) {
47 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
52 ImmutableSortedSet<E> subSetImpl(
58 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
64 public ImmutableSortedSet<E> descendingSet() {
76 ImmutableSortedSet<E> createDescendingSet() {
ImmutableSortedSet.java 46 * ImmutableSortedSet} contains its own private data and will <i>never</i>
60 * {@code ImmutableSortedSet} doesn't use {@link Object#equals} to determine if
72 * <b>Warning:</b> Like most sets, an {@code ImmutableSortedSet} will not
93 public abstract class ImmutableSortedSet<E> extends ImmutableSortedSetFauxverideShim<E>
99 private static final ImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
103 private static <E> ImmutableSortedSet<E> emptySet() {
104 return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET;
107 static <E> ImmutableSortedSet<E> emptySet(
119 public static <E> ImmutableSortedSet<E> of() {
126 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of
    [all...]
EmptyImmutableSortedSet.java 36 class EmptyImmutableSortedSet<E> extends ImmutableSortedSet<E> {
107 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
112 ImmutableSortedSet<E> subSetImpl(
118 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
127 ImmutableSortedSet<E> createDescendingSet() {
EmptyImmutableSortedMap.java 34 private final transient ImmutableSortedSet<K> keySet;
37 this.keySet = ImmutableSortedSet.emptySet(comparator);
43 this.keySet = ImmutableSortedSet.emptySet(comparator);
52 public ImmutableSortedSet<K> keySet() {
EmptyImmutableSortedMultiset.java 31 private final ImmutableSortedSet<E> elementSet;
34 this.elementSet = ImmutableSortedSet.emptySet(comparator);
63 public ImmutableSortedSet<E> elementSet() {
ImmutableSortedAsList.java 25 * List returned by {@code ImmutableSortedSet.asList()} when the set isn't empty.
35 ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) {
40 ImmutableSortedSet<E> delegateCollection() {
41 return (ImmutableSortedSet<E>) super.delegateCollection();
50 @GwtIncompatible("ImmutableSortedSet.indexOf")
63 @GwtIncompatible("ImmutableSortedSet.indexOf")
RegularImmutableSortedSet.java 48 final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
219 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
230 ImmutableSortedSet<E> subSetImpl(
237 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
257 ImmutableSortedSet<E> getSubSet(int newFromIndex, int newToIndex) {
287 ImmutableSortedSet<E> createDescendingSet() {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedAsList.java 22 * List returned by {@code ImmutableSortedSet.asList()} when the set isn't empty.
32 ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) {
37 ImmutableSortedSet<E> delegateCollection() {
38 return (ImmutableSortedSet<E>) super.delegateCollection();
EmptyImmutableSortedSet.java 26 class EmptyImmutableSortedSet<E> extends ImmutableSortedSet<E> {
ImmutableSortedSet.java 34 * GWT emulation of {@link ImmutableSortedSet}.
38 public abstract class ImmutableSortedSet<E>
40 // TODO(cpovirk): split into ImmutableSortedSet/ForwardingImmutableSortedSet?
43 // which overrides ImmutableSet & which ImmutableSortedSet extends.
48 @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() {
57 private static final ImmutableSortedSet<Object> NATURAL_EMPTY_SET =
61 private static <E> ImmutableSortedSet<E> emptySet() {
62 return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET;
65 static <E> ImmutableSortedSet<E> emptySet(
75 public static <E> ImmutableSortedSet<E> of()
    [all...]
RegularImmutableSortedSet.java 26 final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
  /external/smali/util/src/main/java/org/jf/util/
ImmutableUtils.java 36 import com.google.common.collect.ImmutableSortedSet;
56 @Nonnull public static <T> ImmutableSortedSet<T> nullToEmptySortedSet(@Nullable ImmutableSortedSet<T> set) {
58 return ImmutableSortedSet.of();
ImmutableConverter.java 36 import com.google.common.collect.ImmutableSortedSet;
111 public ImmutableSortedSet<ImmutableItem> toSortedSet(@Nonnull Comparator<? super ImmutableItem> comparator,
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();
  /external/jsilver/src/com/google/streamhtmlparser/util/
HtmlUtils.java 19 import com.google.common.collect.ImmutableSortedSet;
88 ImmutableSortedSet.of(
142 ImmutableSortedSet.of(
161 ImmutableSortedSet.of(
177 ImmutableSortedSet.of(
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableSortedSetTest.java 55 * Unit tests for {@link ImmutableSortedSet}.
119 .named("ImmutableSortedSet.asList")
128 .named("ImmutableSortedSet.subSet.asList")
137 .named("ImmutableSortedSet.descendingSet.asList")
163 return ImmutableSortedSet.of();
167 return ImmutableSortedSet.of(e);
171 return ImmutableSortedSet.of(e1, e2);
175 return ImmutableSortedSet.of(e1, e2, e3);
180 return ImmutableSortedSet.of(e1, e2, e3, e4);
185 return ImmutableSortedSet.of(e1, e2, e3, e4, e5)
    [all...]
ImmutableSetMultimapTest.java 256 assertFalse(multimap.get("a") instanceof ImmutableSortedSet);
257 assertFalse(multimap.get("x") instanceof ImmutableSortedSet);
258 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
281 assertFalse(multimap.get("a") instanceof ImmutableSortedSet);
282 assertFalse(multimap.get("x") instanceof ImmutableSortedSet);
283 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
301 assertTrue(multimap.get("a") instanceof ImmutableSortedSet);
303 ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator());
304 assertTrue(multimap.get("x") instanceof ImmutableSortedSet);
306 ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator())
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedSetTest.java 35 * Unit tests for {@link ImmutableSortedSet}.
56 return ImmutableSortedSet.of();
60 return ImmutableSortedSet.of(e);
64 return ImmutableSortedSet.of(e1, e2);
68 return ImmutableSortedSet.of(e1, e2, e3);
73 return ImmutableSortedSet.of(e1, e2, e3, e4);
78 return ImmutableSortedSet.of(e1, e2, e3, e4, e5);
83 return ImmutableSortedSet.of(e1, e2, e3, e4, e5, e6, rest);
87 return ImmutableSortedSet.copyOf(elements);
91 return ImmutableSortedSet.copyOf(elements)
    [all...]
ImmutableSetMultimapTest.java 223 assertFalse(multimap.get("a") instanceof ImmutableSortedSet);
224 assertFalse(multimap.get("x") instanceof ImmutableSortedSet);
225 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
248 assertFalse(multimap.get("a") instanceof ImmutableSortedSet);
249 assertFalse(multimap.get("x") instanceof ImmutableSortedSet);
250 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
268 assertTrue(multimap.get("a") instanceof ImmutableSortedSet);
270 ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator());
271 assertTrue(multimap.get("x") instanceof ImmutableSortedSet);
273 ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator())
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
PoolClassDef.java 47 @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.getInterfaces()));
60 staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields());
61 instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields());
62 directMethods = ImmutableSortedSet.copyOf(
64 virtualMethods = ImmutableSortedSet.copyOf(
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SetGenerators.java 33 import com.google.common.collect.ImmutableSortedSet;
97 return ImmutableSortedSet.copyOf(elements);
106 return ImmutableSortedSet.copyOf(list)
116 return ImmutableSortedSet.copyOf(list)
127 return ImmutableSortedSet.copyOf(list)
136 return ImmutableSortedSet
151 return ImmutableSortedSet.orderedBy(STRING_REVERSED)
169 return new ImmutableSortedSet.Builder<String>(COMPARABLE_REVERSED)
184 return ImmutableSortedSet.<String>reverseOrder()
199 return ImmutableSortedSet.copyOf(elements)
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
SetGenerators.java 32 import com.google.common.collect.ImmutableSortedSet;
96 return ImmutableSortedSet.copyOf(elements);
105 return ImmutableSortedSet.copyOf(list)
115 return ImmutableSortedSet.copyOf(list)
126 return ImmutableSortedSet.copyOf(list)
138 return ImmutableSortedSet.orderedBy(STRING_REVERSED)
156 return new ImmutableSortedSet.Builder<String>(COMPARABLE_REVERSED)
171 return ImmutableSortedSet.<String>reverseOrder()
186 return ImmutableSortedSet.copyOf(elements);
201 ImmutableSet<String> set = ImmutableSortedSet.copyOf
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
ImmutableClassDef.java 58 @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,
119 @Nullable ImmutableSortedSet<? extends ImmutableField> instanceFields,
120 @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods,
121 @Nullable ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) {
  /external/guava/guava-gwt/src/com/google/common/collect/
EmptyImmutableSortedSet_CustomFieldSerializer.java 48 * EmptyImmutableSortedSet always has no elements, ImmutableSortedSet.copyOf
52 ImmutableSortedSet.orderedBy(comparator).build();
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderClassDef.java 83 this.staticFields = ImmutableSortedSet.copyOf(
85 this.instanceFields = ImmutableSortedSet.copyOf(
87 this.directMethods = ImmutableSortedSet.copyOf(
89 this.virtualMethods = ImmutableSortedSet.copyOf(

Completed in 1172 milliseconds

1 2 3 4