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

项目:guava-mock    文件:SynchronizedNavigableMapTest.java   
public void testDescendingKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> descendingKeySet = map.descendingKeySet();
  assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
  assertSame(
      mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableMapTest.java   
public void testNavigableKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> navigableKeySet = map.navigableKeySet();
  assertTrue(navigableKeySet instanceof SynchronizedNavigableSet);
  assertSame(
      mutex, ((SynchronizedNavigableSet<String>) navigableKeySet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableMapTest.java   
public void testDescendingKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> descendingKeySet = map.descendingKeySet();
  assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
  assertSame(
      mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableMapTest.java   
public void testNavigableKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> navigableKeySet = map.navigableKeySet();
  assertTrue(navigableKeySet instanceof SynchronizedNavigableSet);
  assertSame(
      mutex, ((SynchronizedNavigableSet<String>) navigableKeySet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableMapTest.java   
public void testDescendingKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> descendingKeySet = map.descendingKeySet();
  assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
  assertSame(
      mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableMapTest.java   
public void testNavigableKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> navigableKeySet = map.navigableKeySet();
  assertTrue(navigableKeySet instanceof SynchronizedNavigableSet);
  assertSame(
      mutex, ((SynchronizedNavigableSet<String>) navigableKeySet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testDescendingSet() {
  NavigableSet<String> set = create();
  NavigableSet<String> descendingSet = set.descendingSet();
  assertTrue(descendingSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) descendingSet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> headSet = set.headSet("a", true);
  assertTrue(headSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) headSet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_B_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> subSet = set.subSet("a", false, "b", true);
  assertTrue(subSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) subSet).mutex);
}
项目:guava-mock    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> tailSet = set.tailSet("a", true);
  assertTrue(tailSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) tailSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testDescendingSet() {
  NavigableSet<String> set = create();
  NavigableSet<String> descendingSet = set.descendingSet();
  assertTrue(descendingSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) descendingSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> headSet = set.headSet("a", true);
  assertTrue(headSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) headSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_B_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> subSet = set.subSet("a", false, "b", true);
  assertTrue(subSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) subSet).mutex);
}
项目:googles-monorepo-demo    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> tailSet = set.tailSet("a", true);
  assertTrue(tailSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) tailSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testDescendingSet() {
  NavigableSet<String> map = create();
  NavigableSet<String> descendingSet = map.descendingSet();
  assertTrue(descendingSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) descendingSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E_B() {
  NavigableSet<String> map = create();
  NavigableSet<String> headSet = map.headSet("a", true);
  assertTrue(headSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) headSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_B_E_B() {
  NavigableSet<String> map = create();
  NavigableSet<String> subSet = map.subSet("a", false, "b", true);
  assertTrue(subSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) subSet).mutex);
}
项目:guava-libraries    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E_B() {
  NavigableSet<String> map = create();
  NavigableSet<String> tailSet = map.tailSet("a", true);
  assertTrue(tailSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) tailSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testDescendingSet() {
  NavigableSet<String> map = create();
  NavigableSet<String> descendingSet = map.descendingSet();
  assertTrue(descendingSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) descendingSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E_B() {
  NavigableSet<String> map = create();
  NavigableSet<String> headSet = map.headSet("a", true);
  assertTrue(headSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) headSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_B_E_B() {
  NavigableSet<String> map = create();
  NavigableSet<String> subSet = map.subSet("a", false, "b", true);
  assertTrue(subSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) subSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E_B() {
  NavigableSet<String> map = create();
  NavigableSet<String> tailSet = map.tailSet("a", true);
  assertTrue(tailSet instanceof SynchronizedNavigableSet);
  assertSame(MUTEX, ((SynchronizedNavigableSet<String>) tailSet).mutex);
}
项目:guava    文件:SynchronizedNavigableMapTest.java   
public void testDescendingKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> descendingKeySet = map.descendingKeySet();
  assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
  assertSame(mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
}
项目:guava    文件:SynchronizedNavigableMapTest.java   
public void testNavigableKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> navigableKeySet = map.navigableKeySet();
  assertTrue(navigableKeySet instanceof SynchronizedNavigableSet);
  assertSame(mutex, ((SynchronizedNavigableSet<String>) navigableKeySet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testDescendingSet() {
  NavigableSet<String> set = create();
  NavigableSet<String> descendingSet = set.descendingSet();
  assertTrue(descendingSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) descendingSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testHeadSet_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> headSet = set.headSet("a", true);
  assertTrue(headSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) headSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testSubSet_E_B_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> subSet = set.subSet("a", false, "b", true);
  assertTrue(subSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) subSet).mutex);
}
项目:guava    文件:SynchronizedNavigableSetTest.java   
public void testTailSet_E_B() {
  NavigableSet<String> set = create();
  NavigableSet<String> tailSet = set.tailSet("a", true);
  assertTrue(tailSet instanceof SynchronizedNavigableSet);
  assertSame(set, ((SynchronizedNavigableSet<String>) tailSet).mutex);
}
项目:guava    文件:SynchronizedNavigableMapTest.java   
public void testDescendingKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> descendingKeySet = map.descendingKeySet();
  assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
  assertSame(mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
}
项目:guava    文件:SynchronizedNavigableMapTest.java   
public void testNavigableKeySet() {
  NavigableMap<String, Integer> map = create();
  NavigableSet<String> navigableKeySet = map.navigableKeySet();
  assertTrue(navigableKeySet instanceof SynchronizedNavigableSet);
  assertSame(mutex, ((SynchronizedNavigableSet<String>) navigableKeySet).mutex);
}