-
Notifications
You must be signed in to change notification settings - Fork 53
io microsphere collection ListUtils
Type: Class | Module: microsphere-java-core | Package: io.microsphere.collection | Since: 1.0.0
Source:
microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java
The utilities class for Java List
public abstract class ListUtils implements UtilsAuthor: Mercy
-
Introduced in:
1.0.0 -
Current Project Version:
0.2.8-SNAPSHOT
This component is tested and compatible with the following Java versions:
| Java Version | Status |
|---|---|
| Java 8 | ✅ Compatible |
| Java 11 | ✅ Compatible |
| Java 17 | ✅ Compatible |
| Java 21 | ✅ Compatible |
| Java 25 | ✅ Compatible |
List<String> list = Arrays.asList("a", "b", "c");
boolean result1 = ListUtils.isList(list); // returns true
String notAList = "not a list";
boolean result2 = ListUtils.isList(notAList); // returns false
Object nullObject = null;
boolean result3 = ListUtils.isList(nullObject); // returns falseboolean result1 = ListUtils.isList(ArrayList.class); // returns true
boolean result2 = ListUtils.isList(String.class); // returns false
boolean result3 = ListUtils.isList(List.class); // returns trueList<Integer> numbers = Arrays.asList(1, 2, 3);
Integer firstNumber = first(numbers); // returns 1
List<String> emptyList = Collections.emptyList();
String firstString = first(emptyList); // returns nullList<Integer> numbers = Arrays.asList(1, 2, 3);
Integer lastNumber = last(numbers); // returns 3
List<String> emptyList = Collections.emptyList();
String lastString = last(emptyList); // returns nullList<String> fruits = ListUtils.of("apple", "banana", "cherry");
System.out.println(fruits); // Output: [apple, banana, cherry]
List<Integer> numbers = ListUtils.of(1, 2, 3, 4, 5);
System.out.println(numbers); // Output: [1, 2, 3, 4, 5]
List<String> emptyList = ListUtils.of();
System.out.println(emptyList); // Output: []List<String> fruits = ListUtils.ofList("apple", "banana", "cherry");
System.out.println(fruits); // Output: [apple, banana, cherry]
String[] names = {};
List<String> emptyList = ListUtils.ofList(names);
System.out.println(emptyList); // Output: []Set<String> fruits = new HashSet<>(Arrays.asList("apple", "banana", "cherry"));
List<String> fruitsList = ListUtils.ofList(fruits);
System.out.println(fruitsList); // Output: [apple, banana, cherry]
List<Integer> numbers = Arrays.asList(1, 2, 3);
List<Integer> unmodifiableNumbers = ListUtils.ofList(numbers);
System.out.println(unmodifiableNumbers); // Output: [1, 2, 3] - already a list, wrapped as unmodifiable
List<String> emptyList = ListUtils.ofList((Iterable<String>) null);
System.out.println(emptyList); // Output: []Vector<String> vector = new Vector<>(Arrays.asList("one", "two", "three"));
List<String> list = ListUtils.ofList(vector.elements());
System.out.println(list); // Output: [one, two, three]
List<Integer> emptyList = ListUtils.ofList((Enumeration<Integer>) null);
System.out.println(emptyList); // Output: []List<String> fruits = ListUtils.ofList(Arrays.asList("apple", "banana", "cherry").iterator());
System.out.println(fruits); // Output: [apple, banana, cherry]
List<Integer> numbers = ListUtils.ofList((Iterator<Integer>) null);
System.out.println(numbers); // Output: []List<String> list = ListUtils.newArrayList();
System.out.println(list.isEmpty()); // Output: true
list.add("Hello");
System.out.println(list); // Output: [Hello]List<String> list = ListUtils.newArrayList(10);
System.out.println(list.isEmpty()); // Output: true
list.add("Hello");
System.out.println(list); // Output: [Hello]Vector<String> vector = new Vector<>(Arrays.asList("apple", "banana", "cherry"));
List<String> list = ListUtils.newArrayList(vector.elements());
System.out.println(list); // Output: [apple, banana, cherry]
List<Integer> emptyList = ListUtils.newArrayList((Enumeration<Integer>) null);
System.out.println(emptyList); // Output: []List<String> fruits = Arrays.asList("apple", "banana", "cherry");
List<String> listCopy = ListUtils.newArrayList(fruits);
System.out.println(listCopy); // Output: [apple, banana, cherry]
Set<Integer> numbersSet = new HashSet<>(Arrays.asList(1, 2, 3));
List<Integer> numbersList = ListUtils.newArrayList(numbersSet);
System.out.println(numbersList); // Output: [1, 2, 3] - order may vary depending on Set implementation
List<String> emptyList = ListUtils.newArrayList((Iterable<String>) null);
System.out.println(emptyList); // Output: []List<String> fruits = Arrays.asList("apple", "banana", "cherry");
List<String> listCopy = ListUtils.newArrayList(fruits.iterator());
System.out.println(listCopy); // Output: [apple, banana, cherry]
List<Integer> numbers = ListUtils.newArrayList((Iterator<Integer>) null);
System.out.println(numbers); // Output: []List<String> list = ListUtils.newLinkedList();
System.out.println(list.isEmpty()); // Output: true
list.add("Hello");
System.out.println(list); // Output: [Hello]Vector<String> vector = new Vector<>(Arrays.asList("apple", "banana", "cherry"));
List<String> list = ListUtils.newLinkedList(vector.elements());
System.out.println(list); // Output: [apple, banana, cherry]
List<Integer> emptyList = ListUtils.newLinkedList((Enumeration<Integer>) null);
System.out.println(emptyList); // Output: []List<String> fruits = Arrays.asList("apple", "banana", "cherry");
List<String> listCopy = ListUtils.newLinkedList(fruits);
System.out.println(listCopy); // Output: [apple, banana, cherry]
Set<Integer> numbersSet = new HashSet<>(Arrays.asList(1, 2, 3));
List<Integer> numbersList = ListUtils.newLinkedList(numbersSet);
System.out.println(numbersList); // Output: [1, 2, 3] - order may vary depending on Set implementation
List<String> emptyList = ListUtils.newLinkedList((Iterable<String>) null);
System.out.println(emptyList); // Output: []List<String> fruits = Arrays.asList("apple", "banana", "cherry");
List<String> listCopy = ListUtils.newLinkedList(fruits.iterator());
System.out.println(listCopy); // Output: [apple, banana, cherry]
List<Integer> numbers = ListUtils.newLinkedList((Iterator<Integer>) null);
System.out.println(numbers); // Output: []String[] fruits = {"apple", "banana", "cherry"};
List<String> fruitList = ListUtils.ofArrayList(fruits);
System.out.println(fruitList); // Output: [apple, banana, cherry]
fruitList.add("orange"); // return true
System.out.println(fruitList); // Output: [apple, banana, cherry, orange]
Integer[] numbers = {};
List<Integer> numberList = ListUtils.ofArrayList(numbers); // throws IllegalArgumentException
List<Integer> emptyList = ListUtils.ofLinkedList((Integer[]) null); // throws IllegalArgumentExceptionString[] fruits = {"apple", "banana", "cherry"};
List<String> fruitList = ListUtils.ofLinkedList(fruits);
System.out.println(fruitList); // Output: [apple, banana, cherry]
fruitList.add("orange"); // return true
System.out.println(fruitList); // Output: [apple, banana, cherry, orange]
Integer[] numbers = {};
List<Integer> numberList = ListUtils.ofLinkedList(numbers); // throws IllegalArgumentException
List<Integer> emptyList = ListUtils.ofLinkedList((Integer[]) null); // throws IllegalArgumentExceptionAdd the following dependency to your pom.xml:
<dependency>
<groupId>io.github.microsphere-projects</groupId>
<artifactId>microsphere-java-core</artifactId>
<version>${microsphere-java.version}</version>
</dependency>Tip: Use the BOM (
microsphere-java-dependencies) for consistent version management. See the Getting Started guide.
import io.microsphere.collection.ListUtils;| Method | Description |
|---|---|
isList |
Checks if the specified object is an instance of List. |
isList |
Checks if the specified type is assignable from List. |
first |
Retrieves the first element from the specified list. |
last |
Retrieves the last element from the specified list. |
of |
Creates an immutable list from the given elements. |
ofList |
Creates an immutable list from the given array of elements. |
ofList |
Creates an immutable list from the specified Iterable. |
ofList |
Creates an immutable list from the specified Enumeration. |
ofList |
Creates an immutable list from the specified Iterator. |
newArrayList |
Creates a new empty ArrayList instance. |
newArrayList |
Creates a new ArrayList instance with the specified initial capacity. |
newArrayList |
Creates a new LinkedList instance from the specified Enumeration. |
newArrayList |
Creates a new ArrayList instance containing all elements from the specified Iterable. |
newArrayList |
Creates a new ArrayList instance containing all elements from the specified Iterator. |
newLinkedList |
Creates a new empty LinkedList instance. |
newLinkedList |
Creates a new LinkedList instance from the specified Enumeration. |
newLinkedList |
Creates a new LinkedList instance containing all elements from the specified Iterable. |
newLinkedList |
Creates a new LinkedList instance containing all elements from the specified Iterator. |
ofArrayList |
Creates a new ArrayList containing all elements from the specified array. |
ofLinkedList |
Creates a new LinkedList containing all elements from the specified array. |
public static boolean isList(@Nullable Object values)Checks if the specified object is an instance of List.
`List list = Arrays.asList("a", "b", "c");
boolean result1 = ListUtils.isList(list); // returns true
String notAList = "not a list";
boolean result2 = ListUtils.isList(notAList); // returns false
Object nullObject = null;
boolean result3 = ListUtils.isList(nullObject); // returns false
`
public static boolean isList(@Nullable Class<?> type)Checks if the specified type is assignable from List.
`boolean result1 = ListUtils.isList(ArrayList.class); // returns true
boolean result2 = ListUtils.isList(String.class); // returns false
boolean result3 = ListUtils.isList(List.class); // returns true
`
public static <E> E first(List<E> list)Retrieves the first element from the specified list.
`List numbers = Arrays.asList(1, 2, 3);
Integer firstNumber = first(numbers); // returns 1
List emptyList = Collections.emptyList();
String firstString = first(emptyList); // returns null
`
public static <E> E last(List<E> list)Retrieves the last element from the specified list.
`List numbers = Arrays.asList(1, 2, 3);
Integer lastNumber = last(numbers); // returns 3
List emptyList = Collections.emptyList();
String lastString = last(emptyList); // returns null
`
public static <E> List<E> of(E... elements)Creates an immutable list from the given elements.
This method is a convenient way to create a list with a small number of elements.
The returned list is unmodifiable, meaning that any attempt to change its contents
will result in an UnsupportedOperationException.
`List fruits = ListUtils.of("apple", "banana", "cherry");
System.out.println(fruits); // Output: [apple, banana, cherry]
List numbers = ListUtils.of(1, 2, 3, 4, 5);
System.out.println(numbers); // Output: [1, 2, 3, 4, 5]
List emptyList = ListUtils.of();
System.out.println(emptyList); // Output: []
`
public static <E> List<E> ofList(E... elements)Creates an immutable list from the given array of elements.
This method is typically used to create a list from an array or varargs input.
If the provided array is empty, it returns an empty list. The returned list is
unmodifiable, meaning any attempt to modify it will throw an
UnsupportedOperationException.
`List fruits = ListUtils.ofList("apple", "banana", "cherry");
System.out.println(fruits); // Output: [apple, banana, cherry]
String[] names = {`;
List emptyList = ListUtils.ofList(names);
System.out.println(emptyList); // Output: []
}
public static <E> List<E> ofList(Iterable<E> iterable)Creates an immutable list from the specified Iterable.
If the given iterable is null, an empty list will be returned.
If the iterable is already a list, it will be wrapped in an unmodifiable list.
Otherwise, the elements will be copied into a new list.
`Set fruits = new HashSet<>(Arrays.asList("apple", "banana", "cherry"));
List fruitsList = ListUtils.ofList(fruits);
System.out.println(fruitsList); // Output: [apple, banana, cherry]
List numbers = Arrays.asList(1, 2, 3);
List unmodifiableNumbers = ListUtils.ofList(numbers);
System.out.println(unmodifiableNumbers); // Output: [1, 2, 3] - already a list, wrapped as unmodifiable
List emptyList = ListUtils.ofList((Iterable) null);
System.out.println(emptyList); // Output: []
`
public static <E> List<E> ofList(Enumeration<E> enumeration)Creates an immutable list from the specified Enumeration.
If the given enumeration is null, an empty list will be returned.
Otherwise, the elements will be copied into a new list using the underlying iterator,
and the result will be wrapped in an unmodifiable list.
`Vector vector = new Vector<>(Arrays.asList("one", "two", "three"));
List list = ListUtils.ofList(vector.elements());
System.out.println(list); // Output: [one, two, three]
List emptyList = ListUtils.ofList((Enumeration) null);
System.out.println(emptyList); // Output: []
`
public static <E> List<E> ofList(Iterator<E> iterator)Creates an immutable list from the specified Iterator.
If the given iterator is null, an empty list will be returned.
Otherwise, the elements will be copied into a new list using the underlying iteration,
and the result will be wrapped in an unmodifiable list.
`List fruits = ListUtils.ofList(Arrays.asList("apple", "banana", "cherry").iterator());
System.out.println(fruits); // Output: [apple, banana, cherry]
List numbers = ListUtils.ofList((Iterator) null);
System.out.println(numbers); // Output: []
`
public static <E> ArrayList<E> newArrayList()Creates a new empty ArrayList instance.
This method provides a convenient way to create an empty array list with default initial capacity. The returned list is modifiable and will grow dynamically as elements are added.
`List list = ListUtils.newArrayList();
System.out.println(list.isEmpty()); // Output: true
list.add("Hello");
System.out.println(list); // Output: [Hello]
`
public static <E> ArrayList<E> newArrayList(int size)Creates a new ArrayList instance with the specified initial capacity.
This method provides a convenient way to create an array list with a predefined initial size, which can help optimize performance when the number of elements to be added is known in advance.
`List list = ListUtils.newArrayList(10);
System.out.println(list.isEmpty()); // Output: true
list.add("Hello");
System.out.println(list); // Output: [Hello]
`
public static <E> ArrayList<E> newArrayList(Enumeration<E> values)Creates a new LinkedList instance from the specified Enumeration.
This method converts the given Enumeration into an Iterable
using CollectionUtils#toIterable(Enumeration) and then delegates to
#newLinkedList(Iterable) to construct the list.
`Vector vector = new Vector<>(Arrays.asList("apple", "banana", "cherry"));
List list = ListUtils.newArrayList(vector.elements());
System.out.println(list); // Output: [apple, banana, cherry]
List emptyList = ListUtils.newArrayList((Enumeration) null);
System.out.println(emptyList); // Output: []
`
public static <E> ArrayList<E> newArrayList(Iterable<E> values)Creates a new ArrayList instance containing all elements from the specified Iterable.
If the given Iterable is null, an empty array list will be returned.
Otherwise, the elements will be iterated and added to a new array list.
`List fruits = Arrays.asList("apple", "banana", "cherry");
List listCopy = ListUtils.newArrayList(fruits);
System.out.println(listCopy); // Output: [apple, banana, cherry]
Set numbersSet = new HashSet<>(Arrays.asList(1, 2, 3));
List numbersList = ListUtils.newArrayList(numbersSet);
System.out.println(numbersList); // Output: [1, 2, 3] - order may vary depending on Set implementation
List emptyList = ListUtils.newArrayList((Iterable) null);
System.out.println(emptyList); // Output: []
`
public static <E> ArrayList<E> newArrayList(Iterator<E> iterator)Creates a new ArrayList instance containing all elements from the specified Iterator.
If the given Iterator is null, an empty array list will be returned.
Otherwise, the elements will be iterated and added to a new array list.
`List fruits = Arrays.asList("apple", "banana", "cherry");
List listCopy = ListUtils.newArrayList(fruits.iterator());
System.out.println(listCopy); // Output: [apple, banana, cherry]
List numbers = ListUtils.newArrayList((Iterator) null);
System.out.println(numbers); // Output: []
`
public static <E> LinkedList<E> newLinkedList()Creates a new empty LinkedList instance.
This method provides a convenient way to create an empty linked list. The returned list is modifiable and allows for efficient insertions and deletions.
`List list = ListUtils.newLinkedList();
System.out.println(list.isEmpty()); // Output: true
list.add("Hello");
System.out.println(list); // Output: [Hello]
`
public static <E> LinkedList<E> newLinkedList(Enumeration<E> values)Creates a new LinkedList instance from the specified Enumeration.
This method converts the given Enumeration into an Iterable
using CollectionUtils#toIterable(Enumeration) and then delegates to
#newLinkedList(Iterable) to construct the list.
`Vector vector = new Vector<>(Arrays.asList("apple", "banana", "cherry"));
List list = ListUtils.newLinkedList(vector.elements());
System.out.println(list); // Output: [apple, banana, cherry]
List emptyList = ListUtils.newLinkedList((Enumeration) null);
System.out.println(emptyList); // Output: []
`
public static <E> LinkedList<E> newLinkedList(Iterable<E> values)Creates a new LinkedList instance containing all elements from the specified Iterable.
If the given Iterable is null, an empty linked list will be returned.
Otherwise, the elements will be iterated and added to a new linked list.
`List fruits = Arrays.asList("apple", "banana", "cherry");
List listCopy = ListUtils.newLinkedList(fruits);
System.out.println(listCopy); // Output: [apple, banana, cherry]
Set numbersSet = new HashSet<>(Arrays.asList(1, 2, 3));
List numbersList = ListUtils.newLinkedList(numbersSet);
System.out.println(numbersList); // Output: [1, 2, 3] - order may vary depending on Set implementation
List emptyList = ListUtils.newLinkedList((Iterable) null);
System.out.println(emptyList); // Output: []
`
public static <E> LinkedList<E> newLinkedList(Iterator<E> iterator)Creates a new LinkedList instance containing all elements from the specified Iterator.
If the given Iterator is null, an empty linked list will be returned.
Otherwise, the elements will be iterated and added to a new linked list.
`List fruits = Arrays.asList("apple", "banana", "cherry");
List listCopy = ListUtils.newLinkedList(fruits.iterator());
System.out.println(listCopy); // Output: [apple, banana, cherry]
List numbers = ListUtils.newLinkedList((Iterator) null);
System.out.println(numbers); // Output: []
`
public static <E> ArrayList<E> ofArrayList(E... array)Creates a new ArrayList containing all elements from the specified array.
The resulting list is modifiable, allowing for further additions or modifications after creation.
If the given array is empty, the IllegalArgumentException will be thrown
`String[] fruits = {"apple", "banana", "cherry"`;
List fruitList = ListUtils.ofArrayList(fruits);
System.out.println(fruitList); // Output: [apple, banana, cherry]
fruitList.add("orange"); // return true
System.out.println(fruitList); // Output: [apple, banana, cherry, orange]
Integer[] numbers = {};
List numberList = ListUtils.ofArrayList(numbers); // throws IllegalArgumentException
List emptyList = ListUtils.ofLinkedList((Integer[]) null); // throws IllegalArgumentException
}
public static <E> LinkedList<E> ofLinkedList(E... array)Creates a new LinkedList containing all elements from the specified array.
This method copies the elements from the provided array into a newly created linked list,
allowing for efficient insertions and deletions. If the array is empty or null,
an IllegalArgumentException will be thrown.
`String[] fruits = {"apple", "banana", "cherry"`;
List fruitList = ListUtils.ofLinkedList(fruits);
System.out.println(fruitList); // Output: [apple, banana, cherry]
fruitList.add("orange"); // return true
System.out.println(fruitList); // Output: [apple, banana, cherry, orange]
Integer[] numbers = {};
List numberList = ListUtils.ofLinkedList(numbers); // throws IllegalArgumentException
List emptyList = ListUtils.ofLinkedList((Integer[]) null); // throws IllegalArgumentException
}
ListsList
This documentation was auto-generated from the source code of microsphere-java.
annotation-processor
- ConfigurationPropertyAnnotationProcessor
- ConfigurationPropertyJSONElementVisitor
- FilerProcessor
- ResourceProcessor
java-annotations
java-core
- ACLLoggerFactory
- AbstractArtifactResourceResolver
- AbstractConverter
- AbstractDeque
- AbstractEventDispatcher
- AbstractLogger
- AbstractURLClassPathHandle
- AccessibleObjectUtils
- AdditionalMetadataResourceConfigurationPropertyLoader
- AnnotationUtils
- ArchiveFileArtifactResourceResolver
- ArrayEnumeration
- ArrayStack
- ArrayUtils
- Artifact
- ArtifactDetector
- ArtifactResourceResolver
- Assert
- BannedArtifactClassLoadingExecutor
- BaseUtils
- BeanMetadata
- BeanProperty
- BeanUtils
- ByteArrayToObjectConverter
- CharSequenceComparator
- CharSequenceUtils
- CharsetUtils
- ClassDataRepository
- ClassDefinition
- ClassFileJarEntryFilter
- ClassFilter
- ClassLoaderUtils
- ClassPathResourceConfigurationPropertyLoader
- ClassPathUtils
- ClassUtils
- ClassicProcessIdResolver
- ClassicURLClassPathHandle
- CollectionUtils
- Compatible
- CompositeSubProtocolURLConnectionFactory
- CompositeURLStreamHandlerFactory
- ConditionalEventListener
- ConfigurationProperty
- ConfigurationPropertyGenerator
- ConfigurationPropertyLoader
- ConfigurationPropertyReader
- Configurer
- ConsoleURLConnection
- Constants
- ConstructorDefinition
- ConstructorUtils
- Converter
- Converters
- CustomizedThreadFactory
- DefaultConfigurationPropertyGenerator
- DefaultConfigurationPropertyReader
- DefaultDeserializer
- DefaultEntry
- DefaultSerializer
- DelegatingBlockingQueue
- DelegatingDeque
- DelegatingIterator
- DelegatingQueue
- DelegatingScheduledExecutorService
- DelegatingURLConnection
- DelegatingURLStreamHandlerFactory
- DelegatingWrapper
- Deprecation
- Deserializer
- Deserializers
- DirectEventDispatcher
- DirectoryFileFilter
- EmptyDeque
- EmptyIterable
- EmptyIterator
- EnumerationIteratorAdapter
- EnumerationUtils
- Event
- EventDispatcher
- EventListener
- ExceptionUtils
- ExecutableDefinition
- ExecutableUtils
- ExecutorUtils
- ExtendableProtocolURLStreamHandler
- FastByteArrayInputStream
- FastByteArrayOutputStream
- FieldDefinition
- FieldUtils
- FileChangedEvent
- FileChangedListener
- FileConstants
- FileExtensionFilter
- FileUtils
- FileWatchService
- Filter
- FilterOperator
- FilterUtils
- FormatUtils
- Functional
- GenericEvent
- GenericEventListener
- Handler
- Handler
- HierarchicalClassComparator
- IOFileFilter
- IOUtils
- ImmutableEntry
- IterableAdapter
- IterableUtils
- Iterators
- JDKLoggerFactory
- JSON
- JSONArray
- JSONException
- JSONObject
- JSONStringer
- JSONTokener
- JSONUtils
- JarEntryFilter
- JarUtils
- JavaType
- JmxUtils
- ListUtils
- Listenable
- Lists
- Logger
- LoggerFactory
- LoggingFileChangedListener
- MBeanAttribute
- MBeanAttributeInfoBuilder
- MBeanConstructorInfoBuilder
- MBeanDescribableBuilder
- MBeanExecutableInfoBuilder
- MBeanFeatureInfoBuilder
- MBeanInfoBuilder
- MBeanNotificationInfoBuilder
- MBeanOperationInfoBuilder
- MBeanParameterInfoBuilder
- ManagementUtils
- ManifestArtifactResourceResolver
- MapToPropertiesConverter
- MapUtils
- Maps
- MavenArtifact
- MavenArtifactResourceResolver
- MemberDefinition
- MemberUtils
- MetadataResourceConfigurationPropertyLoader
- MethodDefinition
- MethodHandleUtils
- MethodHandlesLookupUtils
- MethodUtils
- ModernProcessIdResolver
- ModernURLClassPathHandle
- Modifier
- MultiValueConverter
- MultipleType
- MutableInteger
- MutableURLStreamHandlerFactory
- NameFileFilter
- NoOpLogger
- NoOpLoggerFactory
- NoOpURLClassPathHandle
- NumberToByteConverter
- NumberToCharacterConverter
- NumberToDoubleConverter
- NumberToFloatConverter
- NumberToIntegerConverter
- NumberToLongConverter
- NumberToShortConverter
- NumberUtils
- ObjectToBooleanConverter
- ObjectToByteArrayConverter
- ObjectToByteConverter
- ObjectToCharacterConverter
- ObjectToDoubleConverter
- ObjectToFloatConverter
- ObjectToIntegerConverter
- ObjectToLongConverter
- ObjectToOptionalConverter
- ObjectToShortConverter
- ObjectToStringConverter
- PackageNameClassFilter
- PackageNameClassNameFilter
- ParallelEventDispatcher
- ParameterizedTypeImpl
- PathConstants
- Predicates
- Prioritized
- PriorityComparator
- ProcessExecutor
- ProcessIdResolver
- ProcessManager
- PropertiesToStringConverter
- PropertiesUtils
- PropertyConstants
- PropertyResourceBundleControl
- PropertyResourceBundleUtils
- ProtocolConstants
- ProxyUtils
- QueueUtils
- ReadOnlyIterator
- ReflectionUtils
- ReflectiveConfigurationPropertyGenerator
- ReflectiveDefinition
- ResourceConstants
- ReversedDeque
- Scanner
- SecurityUtils
- SeparatorConstants
- Serializer
- Serializers
- ServiceLoaderURLStreamHandlerFactory
- ServiceLoaderUtils
- ServiceLoadingURLClassPathHandle
- SetUtils
- Sets
- Sfl4jLoggerFactory
- ShutdownHookCallbacksThread
- ShutdownHookUtils
- SimpleClassScanner
- SimpleFileScanner
- SimpleJarEntryScanner
- SingletonDeque
- SingletonEnumeration
- SingletonIterator
- StackTraceUtils
- StandardFileWatchService
- StandardURLStreamHandlerFactory
- StopWatch
- StreamArtifactResourceResolver
- Streams
- StringBuilderWriter
- StringConverter
- StringDeserializer
- StringSerializer
- StringToArrayConverter
- StringToBlockingDequeConverter
- StringToBlockingQueueConverter
- StringToBooleanConverter
- StringToByteConverter
- StringToCharArrayConverter
- StringToCharacterConverter
- StringToClassConverter
- StringToCollectionConverter
- StringToDequeConverter
- StringToDoubleConverter
- StringToDurationConverter
- StringToFloatConverter
- StringToInputStreamConverter
- StringToIntegerConverter
- StringToIterableConverter
- StringToListConverter
- StringToLongConverter
- StringToMultiValueConverter
- StringToNavigableSetConverter
- StringToQueueConverter
- StringToSetConverter
- StringToShortConverter
- StringToSortedSetConverter
- StringToStringConverter
- StringToTransferQueueConverter
- StringUtils
- SubProtocolURLConnectionFactory
- SymbolConstants
- SystemUtils
- ThrowableAction
- ThrowableBiConsumer
- ThrowableBiFunction
- ThrowableConsumer
- ThrowableFunction
- ThrowableSupplier
- ThrowableUtils
- TrueClassFilter
- TrueFileFilter
- TypeArgument
- TypeFinder
- TypeUtils
- URLClassPathHandle
- URLUtils
- UnmodifiableDeque
- UnmodifiableIterator
- UnmodifiableQueue
- Utils
- ValueHolder
- Version
- VersionUtils
- VirtualMachineProcessIdResolver
- Wrapper
- WrapperProcessor
java-test
- AbstractAnnotationProcessingTest
- Ancestor
- AnnotationProcessingTestProcessor
- ArrayTypeModel
- CollectionTypeModel
- Color
- CompilerInvocationInterceptor
- ConfigurationPropertyModel
- DefaultTestService
- GenericTestService
- MapTypeModel
- Model
- Parent
- PrimitiveTypeModel
- SimpleTypeModel
- StringArrayList
- TestAnnotation
- TestService
- TestServiceImpl
jdk-tools
lang-model