Available Methods
- emptyList ( )
- sort ( )
- singletonList ( )
- unmodifiableList ( )
- emptySet ( )
- emptyMap ( )
- unmodifiableMap ( )
- singleton ( )
- unmodifiableSet ( )
- singletonMap ( )
- addAll ( )
- unmodifiableCollection ( )
- reverse ( )
- shuffle ( )
- EMPTY_LIST
- enumeration ( )
- synchronizedList ( )
- binarySearch ( )
- list ( )
- emptyIterator ( )
- EMPTY_SET
- synchronizedMap ( )
- EMPTY_MAP
- max ( )
- newSetFromMap ( )
- min ( )
- swap ( )
- synchronizedSet ( )
- nCopies ( )
- unmodifiableSortedSet ( )
- disjoint ( )
- reverseOrder ( )
- checkedList ( )
- emptyEnumeration ( )
- unmodifiableSortedMap ( )
- frequency ( )
- checkedQueue ( )
- rotate ( )
- synchronizedCollection ( )
- checkedSortedMap ( )
- synchronizedSortedSet ( )
- checkedSortedSet ( )
- emptySortedSet ( )
- checkedMap ( )
- synchronizedSortedMap ( )
- checkedSet ( )
- replaceAll ( )
- checkedCollection ( )
- copy ( )
- unmodifiableNavigableMap ( )
- emptySortedMap ( )
- unmodifiableNavigableSet ( )
- indexOfSubList ( )
- emptyNavigableMap ( )
- asLifoQueue ( )
- fill ( )
- synchronizedNavigableSet ( )
- emptyListIterator ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.io.InputStream
- android.content.Context
- java.util.Date
- java.util.Iterator
- java.util.concurrent.TimeUnit
- android.util.Log
- java.net.URL
- java.util.Random
- java.util.Locale
- java.lang.reflect.Method
- org.junit.Before
- java.util.LinkedList
- java.util.Comparator
- java.util.Properties
- java.util.UUID
- java.util.stream.Collectors
- java.util.LinkedHashMap
- java.util.Objects
- java.net.URI
- java.util.Map.Entry
- org.junit.Assert
- java.nio.file.Files
- java.util.Optional
Java Code Examples for java.util.Collections#synchronizedNavigableSet()
The following examples show how to use
java.util.Collections#synchronizedNavigableSet() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CollectionsTest.java From j2objc with Apache License 2.0 | 4 votes |
public void test_synchronizedNavigableSet_empty() { NavigableSet<String> set = Collections.synchronizedNavigableSet(new TreeSet<>()); check_navigableSet(set, new ArrayList<>(), "absent element"); }
Example 2
Source File: CollectionsTest.java From j2objc with Apache License 2.0 | 4 votes |
public void test_synchronizedNavigableSet_nonEmpty() { List<String> elements = Arrays.asList("apple", "banana", "melon", "pear"); NavigableSet<String> set = Collections.synchronizedNavigableSet(new TreeSet<>(elements)); check_navigableSet(set, elements, "absent element"); }