HomeSort by relevance Sort by last modified time
    Searched defs:sortedSet (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /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-tests/test/com/google/common/collect/
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...]
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...]
ImmutableSetTest.java 208 ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
209 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
210 assertNotSame(sortedSet, copy);
FluentIterableTest.java 43 import java.util.SortedSet;
355 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
356 assertEquals("a", FluentIterable.from(sortedSet).first().get());
360 SortedSet<String> sortedSet = ImmutableSortedSet.of();
361 assertEquals(Optional.absent(), FluentIterable.from(sortedSet).first());
394 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
395 assertEquals("c", FluentIterable.from(sortedSet).last().get())
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSetTest.java 116 ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
117 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
118 assertNotSame(sortedSet, copy);
  /external/guava/guava-tests/benchmark/com/google/common/collect/
SortedCopyBenchmark.java 118 int sortedSet(int reps) {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedSet.java 28 import java.util.SortedSet;
39 extends ForwardingImmutableSet<E> implements SortedSet<E>, SortedIterable<E> {
126 SortedSet<E> delegate = new TreeSet<E>(comparator);
171 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) {
172 Comparator<? super E> comparator = sortedSet.comparator();
176 return copyOfInternal(comparator, sortedSet.iterator());
206 SortedSet<E> delegate = new TreeSet<E>(comparator);
217 if (elements instanceof SortedSet) {
218 SortedSet<?> sortedSet = (SortedSet<?>) elements
    [all...]
Synchronized.java 36 import java.util.SortedSet;
226 private static <E> SortedSet<E> sortedSet(
227 SortedSet<E> set, @Nullable Object mutex) {
232 implements SortedSet<E> {
233 SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) {
237 @Override SortedSet<E> delegate() {
238 return (SortedSet<E>) super.delegate();
249 public SortedSet<E> subSet(E fromElement, E toElement) {
251 return sortedSet(delegate().subSet(fromElement, toElement), mutex)
    [all...]
  /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/src/com/google/common/collect/
Synchronized.java 42 import java.util.SortedSet;
242 private static <E> SortedSet<E> sortedSet(
243 SortedSet<E> set, @Nullable Object mutex) {
248 implements SortedSet<E> {
249 SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) {
253 @Override SortedSet<E> delegate() {
254 return (SortedSet<E>) super.delegate();
265 public SortedSet<E> subSet(E fromElement, E toElement) {
267 return sortedSet(delegate().subSet(fromElement, toElement), mutex)
    [all...]
  /prebuilts/tools/common/m2/repository/org/smali/util/2.1.3/
util-2.1.3.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 
  /external/owasp/sanitizer/lib/guava-libraries/
guava.jar 
  /packages/services/Telecomm/libs/
guava.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/10.0.1/
guava-10.0.1.jar 
  /cts/tests/libcore/javautilcollections/libs/
guava-testlib-20.0.jar 
  /external/guice/lib/build/
guava-testlib-16.0.1.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar 
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3/
auto-value-1.3.jar 
  /prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3-rc1/
auto-value-1.3-rc1.jar 

Completed in 1363 milliseconds

1 2 3 4 5 6 7