Java 类com.google.common.collect.Synchronized.SynchronizedSortedSet 实例源码

项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E() {
  NavigableSet<String> set = create();
  SortedSet<String> headSet = set.headSet("a");
  assertTrue(headSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) headSet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_E() {
  NavigableSet<String> set = create();
  SortedSet<String> subSet = set.subSet("a", "b");
  assertTrue(subSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) subSet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E() {
  NavigableSet<String> set = create();
  SortedSet<String> tailSet = set.tailSet("a");
  assertTrue(tailSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) tailSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E() {
  NavigableSet<String> set = create();
  SortedSet<String> headSet = set.headSet("a");
  assertTrue(headSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) headSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_E() {
  NavigableSet<String> set = create();
  SortedSet<String> subSet = set.subSet("a", "b");
  assertTrue(subSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) subSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E() {
  NavigableSet<String> set = create();
  SortedSet<String> tailSet = set.tailSet("a");
  assertTrue(tailSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) tailSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E() {
  NavigableSet<String> map = create();
  SortedSet<String> headSet = map.headSet("a");
  assertTrue(headSet instanceof SynchronizedSortedSet);
  assertSame(MUTEX, ((SynchronizedSortedSet<String>) headSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_E() {
  NavigableSet<String> map = create();
  SortedSet<String> subSet = map.subSet("a", "b");
  assertTrue(subSet instanceof SynchronizedSortedSet);
  assertSame(MUTEX, ((SynchronizedSortedSet<String>) subSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E() {
  NavigableSet<String> map = create();
  SortedSet<String> tailSet = map.tailSet("a");
  assertTrue(tailSet instanceof SynchronizedSortedSet);
  assertSame(MUTEX, ((SynchronizedSortedSet<String>) tailSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E() {
  NavigableSet<String> map = create();
  SortedSet<String> headSet = map.headSet("a");
  assertTrue(headSet instanceof SynchronizedSortedSet);
  assertSame(MUTEX, ((SynchronizedSortedSet<String>) headSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_E() {
  NavigableSet<String> map = create();
  SortedSet<String> subSet = map.subSet("a", "b");
  assertTrue(subSet instanceof SynchronizedSortedSet);
  assertSame(MUTEX, ((SynchronizedSortedSet<String>) subSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E() {
  NavigableSet<String> map = create();
  SortedSet<String> tailSet = map.tailSet("a");
  assertTrue(tailSet instanceof SynchronizedSortedSet);
  assertSame(MUTEX, ((SynchronizedSortedSet<String>) tailSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E() {
  NavigableSet<String> set = create();
  SortedSet<String> headSet = set.headSet("a");
  assertTrue(headSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) headSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_E() {
  NavigableSet<String> set = create();
  SortedSet<String> subSet = set.subSet("a", "b");
  assertTrue(subSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) subSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E() {
  NavigableSet<String> set = create();
  SortedSet<String> tailSet = set.tailSet("a");
  assertTrue(tailSet instanceof SynchronizedSortedSet);
  assertSame(set, ((SynchronizedSortedSet<String>) tailSet).mutex);
}