public void testHeadSet_E() {
NavigableSet<String> set = create();
SortedSet<String> headSet = set.headSet("a");
assertTrue(headSet instanceof SynchronizedSortedSet);
assertSame(set,((SynchronizedSortedSet<String>) headSet).mutex);
}
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);
}
public void testTailSet_E() {
NavigableSet<String> set = create();
SortedSet<String> tailSet = set.tailSet("a");
assertTrue(tailSet instanceof SynchronizedSortedSet);
assertSame(set,((SynchronizedSortedSet<String>) tailSet).mutex);
}
public void testHeadSet_E() {
NavigableSet<String> set = create();
SortedSet<String> headSet = set.headSet("a");
assertTrue(headSet instanceof SynchronizedSortedSet);
assertSame(set,((SynchronizedSortedSet<String>) headSet).mutex);
}
public void testSubSet_E_E() {
NavigableSet<String> set = create();
SortedSet<String> subSet = set.subSet("a",((SynchronizedSortedSet<String>) subSet).mutex);
}
public void testTailSet_E() {
NavigableSet<String> set = create();
SortedSet<String> tailSet = set.tailSet("a");
assertTrue(tailSet instanceof SynchronizedSortedSet);
assertSame(set,((SynchronizedSortedSet<String>) tailSet).mutex);
}
public void testHeadSet_E() {
NavigableSet<String> map = create();
SortedSet<String> headSet = map.headSet("a");
assertTrue(headSet instanceof SynchronizedSortedSet);
assertSame(MUTEX,((SynchronizedSortedSet<String>) headSet).mutex);
}
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);
}
public void testTailSet_E() {
NavigableSet<String> map = create();
SortedSet<String> tailSet = map.tailSet("a");
assertTrue(tailSet instanceof SynchronizedSortedSet);
assertSame(MUTEX,((SynchronizedSortedSet<String>) tailSet).mutex);
}
public void testHeadSet_E() {
NavigableSet<String> map = create();
SortedSet<String> headSet = map.headSet("a");
assertTrue(headSet instanceof SynchronizedSortedSet);
assertSame(MUTEX,((SynchronizedSortedSet<String>) headSet).mutex);
}
public void testSubSet_E_E() {
NavigableSet<String> map = create();
SortedSet<String> subSet = map.subSet("a",((SynchronizedSortedSet<String>) subSet).mutex);
}
public void testTailSet_E() {
NavigableSet<String> map = create();
SortedSet<String> tailSet = map.tailSet("a");
assertTrue(tailSet instanceof SynchronizedSortedSet);
assertSame(MUTEX,((SynchronizedSortedSet<String>) tailSet).mutex);
}
public void testHeadSet_E() {
NavigableSet<String> set = create();
SortedSet<String> headSet = set.headSet("a");
assertTrue(headSet instanceof SynchronizedSortedSet);
assertSame(set,((SynchronizedSortedSet<String>) headSet).mutex);
}
public void testSubSet_E_E() {
NavigableSet<String> set = create();
SortedSet<String> subSet = set.subSet("a",((SynchronizedSortedSet<String>) subSet).mutex);
}
public void testTailSet_E() {
NavigableSet<String> set = create();
SortedSet<String> tailSet = set.tailSet("a");
assertTrue(tailSet instanceof SynchronizedSortedSet);
assertSame(set,((SynchronizedSortedSet<String>) tailSet).mutex);
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。