public class DefaultNUtilsRPI extends Object implements NUtilsRPI
| Constructor and Description |
|---|
DefaultNUtilsRPI() |
public <T> NStream<T> arrayToStream(T[] str)
arrayToStream in interface NUtilsRPIpublic <T> NStream<T> iterableToStream(Iterable<T> str)
iterableToStream in interface NUtilsRPIpublic <T> NStream<T> iteratorToStream(Iterator<T> str)
iteratorToStream in interface NUtilsRPIpublic <T> NStream<T> iteratorToStream(Iterator<T> str, Runnable onClose)
iteratorToStream in interface NUtilsRPIpublic <T> NStream<T> streamToNStream(Stream<T> str)
streamToNStream in interface NUtilsRPIpublic <T> NStream<T> createEmptyStream()
createEmptyStream in interface NUtilsRPIpublic <T> NIterator<T> createEmptyIterator()
createEmptyIterator in interface NUtilsRPIpublic <T> NIterator<T> iteratorToNIterator(Iterator<T> str)
iteratorToNIterator in interface NUtilsRPIpublic <T> NIterable<T> iterableToNIterable(Iterable<T> o)
iterableToNIterable in interface NUtilsRPIpublic <T> NStream<T> optionalToStream(Optional<T> item)
optionalToStream in interface NUtilsRPIpublic <T> NStream<T> optionalToStream(NOptional<T> item)
optionalToStream in interface NUtilsRPIpublic <T> NChunkedStoreBuilder<T> createChunkedStoreBuilder(NPath folder, NChunkedStoreFactory<T> storeFactory)
createChunkedStoreBuilder in interface NUtilsRPIpublic NChunkedStoreFactory<String> createLineChunkedStoreFactory()
createLineChunkedStoreFactory in interface NUtilsRPIpublic <K,V> NBPlusTree<K,V> createBtreePlus(int order, boolean allowDuplicates, Comparator<K> comparator)
createBtreePlus in interface NUtilsRPIpublic <K,V> NBPlusTree<K,V> createBtreePlus(NPageStore store, int order, boolean allowDuplicates, NDataSerializer<K> keySerializer, NDataSerializer<V> valSerializer, Comparator<K> comparator)
createBtreePlus in interface NUtilsRPIpublic NPageStore createInMemoryPageStore(int pageSize)
createInMemoryPageStore in interface NUtilsRPIpublic NPageStore createFilePageStore(NPath path, int pageSize)
createFilePageStore in interface NUtilsRPIpublic <K,V> NClassMap<K,V> createClassMap(Class<V> valueType)
createClassMap in interface NUtilsRPIpublic <K,V> NClassMap<K,V> createClassMap(Class<K> keyType, Class<V> valueType)
createClassMap in interface NUtilsRPIpublic <A,B,V> NClassPairMap<A,B,V> createClassPairMap(Class<A> baseKey1Type, Class<B> baseKey2Type, Class<V> valueType, boolean symmetric)
createClassPairMap in interface NUtilsRPIpublic <A,B,V> NClassPairMultiMap<A,B,V> createClassPairMultiMap(Class<A> baseKey1Type, Class<B> baseKey2Type, Class<V> valueType, boolean symmetric)
createClassPairMultiMap in interface NUtilsRPIpublic <K,V> NClassMap<K,V> createClassMap(Class<K> keyType, Class<V> valueType, int initialCapacity)
createClassMap in interface NUtilsRPIpublic NClassMap<Object,Class> createClassClassMap()
createClassClassMap in interface NUtilsRPIpublic <T> Map<String,T> createInsensitiveMap()
createInsensitiveMap in interface NUtilsRPIpublic <T> Map<String,T> createFormatInsensitiveMap()
createFormatInsensitiveMap in interface NUtilsRPIpublic <T> Map<String,T> createNormalizedMap(Function<String,String> normalizer)
createNormalizedMap in interface NUtilsRPIpublic <K,V> NCappedMap<K,V> createLruMap(int size)
createLruMap in interface NUtilsRPIpublic <K,V> NMultiKeyMap<K,V> createMultiKeyMap()
createMultiKeyMap in interface NUtilsRPIpublic <V> NStringMap<V> createStringMap(Map<String,V> map, char separator)
createStringMap in interface NUtilsRPIpublic <T> NIterator<T> iteratorWithDescription(NIterator<T> base, Supplier<NElement> description, Runnable onClose)
iteratorWithDescription in interface NUtilsRPIpublic <T> NIterator<T> createIteratorAutoClosable(NIterator<T> t, NRunnable close)
createIteratorAutoClosable in interface NUtilsRPIpublic <T> NIterator<T> createIteratorSafe(NIteratorErrorHandlerType type, NIterator<T> t)
createIteratorSafe in interface NUtilsRPIpublic <T> NIterator<T> createIteratorSafeIgnore(NIterator<T> t)
createIteratorSafeIgnore in interface NUtilsRPIpublic <T> NIterator<T> createIteratorSafePostpone(NIterator<T> t)
createIteratorSafePostpone in interface NUtilsRPIpublic <T> boolean iteratorIsNullOrEmpty(Iterator<T> t)
iteratorIsNullOrEmpty in interface NUtilsRPIpublic <T> NIterator<T> iteratorNonNull(NIterator<T> t)
iteratorNonNull in interface NUtilsRPIpublic <T> NIterator<T> iteratorConcat(List<NIterator<? extends T>> all)
iteratorConcat in interface NUtilsRPIpublic <T> NIterator<T> iteratorCoalesce2(List<NIterator<T>> all)
iteratorCoalesce2 in interface NUtilsRPIpublic <T> NIterator<T> iteratorCoalesce(NIterator<? extends T>... all)
iteratorCoalesce in interface NUtilsRPIpublic <T> NIterator<T> iteratorConcat(NIterator<? extends T>... all)
iteratorConcat in interface NUtilsRPIpublic <T> NIterator<T> iteratorConcatLists(List<NIterator<? extends T>>... all)
iteratorConcatLists in interface NUtilsRPIpublic <T> NIterator<T> iteratorCoalesce(List<NIterator<? extends T>> all)
iteratorCoalesce in interface NUtilsRPIpublic <F,T> NIterator<T> iteratorConvertNonNull(NIterator<F> from, Function<F,T> converter, String name)
iteratorConvertNonNull in interface NUtilsRPIpublic <T> List<T> iteratorToList(Iterator<T> it)
iteratorToList in interface NUtilsRPIpublic <T> Set<T> iteratorToSet(NIterator<T> it)
iteratorToSet in interface NUtilsRPIpublic <T> Set<T> iteratorToTreeSet(NIterator<T> it, NComparator<T> c)
iteratorToTreeSet in interface NUtilsRPIpublic <T> NIterator<T> iteratorSort(NIterator<T> it, NComparator<T> c, boolean removeDuplicates)
iteratorSort in interface NUtilsRPIpublic <T> NIterator<T> iteratorDistinct(NIterator<T> it)
iteratorDistinct in interface NUtilsRPIpublic <F,T> NIterator<F> iteratorDistinct(NIterator<F> it, Function<F,T> converter)
iteratorDistinct in interface NUtilsRPIpublic <T> NIterator<T> iteratorCollector(Iterator<T> it, Consumer<T> consumer)
iteratorCollector in interface NUtilsRPIpublic <T> NIterator<T> iteratorNullifyIfEmpty(NIterator<T> other)
iteratorNullifyIfEmpty in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfCoalesce(List<NIterator<? extends T>> t)
iteratorBuilderOfCoalesce in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfConcat(List<NIterator<? extends T>> t)
iteratorBuilderOfConcat in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilder(Iterator<T> t)
iteratorBuilder in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfRunnable(NRunnable t)
iteratorBuilderOfRunnable in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfRunnable(Runnable t, String n)
iteratorBuilderOfRunnable in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfSupplier(Supplier<Iterator<T>> from, Supplier<NElement> name)
iteratorBuilderOfSupplier in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfArrayValues(T[] t, NElement n)
iteratorBuilderOfArrayValues in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfArrayValues(T[] t, String n)
iteratorBuilderOfArrayValues in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfArrayValues(T[] t, Supplier<NElement> n)
iteratorBuilderOfArrayValues in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorEmptyBuilder()
iteratorEmptyBuilder in interface NUtilsRPIpublic <T> NIteratorBuilder<T> iteratorBuilderOfFlatMap(NIterator<? extends Collection<T>> from)
iteratorBuilderOfFlatMap in interface NUtilsRPIpublic NIterator<NIntPair> int2Iterator(int a, int b)
int2Iterator in interface NUtilsRPIpublic <K,V> NClassMultiMap<K,V> createClassMultiMap(Class<K> key1Type, Class<V> valueType)
createClassMultiMap in interface NUtilsRPIpublic <T> NClassDecisionFilter<T> createClassDecisionFilter(Class<T> type, NDecision defaultDecision)
createClassDecisionFilter in interface NUtilsRPIpublic <T> NDecisionFilter<T> createDecisionFilter(Class<T> type, NDecisionConflict decisionConflict, NDecision defaultDecision)
createDecisionFilter in interface NUtilsRPIpublic <K,V> NListMultiValueMap<K,V> createListMultiValueMap()
createListMultiValueMap in interface NUtilsRPIpublic <K,V> NListMultiValueMap<K,V> createListMultiValueMap(Map<K,List<V>> map)
createListMultiValueMap in interface NUtilsRPIpublic NEvictingCharQueue createEvictingCharQueue(int size)
createEvictingCharQueue in interface NUtilsRPIpublic NEvictingByteQueue createEvictingByteQueue(int size)
createEvictingByteQueue in interface NUtilsRPIpublic NEvictingIntQueue createEvictingIntQueue(int size)
createEvictingIntQueue in interface NUtilsRPIpublic <T> NEvictingQueue<T> createEvictingQueue(int size)
createEvictingQueue in interface NUtilsRPIpublic <K,V> NIndexedMap<K,V> createIndexedMap()
createIndexedMap in interface NUtilsRPIpublic <K,V> NSetMultiValueMap<K,V> createSetMultiValueMap()
createSetMultiValueMap in interface NUtilsRPIpublic <K,V> NSetMultiValueMap<K,V> createSetMultiValueMap(Map<K,Set<V>> map)
createSetMultiValueMap in interface NUtilsRPIpublic List<String> extractMessageParams(String message, NMsgType format, String customMessageTypeId)
extractMessageParams in interface NUtilsRPIpublic NByteList createByteList(int initialSize)
createByteList in interface NUtilsRPIpublic NByteList createByteList()
createByteList in interface NUtilsRPIpublic NByteList createByteList(byte[] values, int offset, int size)
createByteList in interface NUtilsRPIpublic NIntList createIntList(int initialSize)
createIntList in interface NUtilsRPIpublic NIntList createIntList()
createIntList in interface NUtilsRPIpublic NIntList createIntList(int[] values, int offset, int size)
createIntList in interface NUtilsRPIpublic NLongList createLongList(int initialSize)
createLongList in interface NUtilsRPIpublic NLongList createLongList()
createLongList in interface NUtilsRPIpublic NLongList createLongList(long[] values, int offset, int size)
createLongList in interface NUtilsRPIpublic NDoubleList createDoubleList(int initialSize)
createDoubleList in interface NUtilsRPIpublic NDoubleList createDoubleList()
createDoubleList in interface NUtilsRPIpublic NDoubleList createDoubleList(double[] values, int offset, int size)
createDoubleList in interface NUtilsRPIpublic NFloatList createFloatList(int initialSize)
createFloatList in interface NUtilsRPIpublic NFloatList createFloatList()
createFloatList in interface NUtilsRPIpublic NFloatList createFloatList(float[] values, int offset, int size)
createFloatList in interface NUtilsRPIpublic NProperties createProperties()
createProperties in interface NUtilsRPIpublic <K,V> NObservableMap<K,V> createObservableMap()
createObservableMap in interface NUtilsRPIpublic <K,V> NObservableMap<K,V> createObservableMap(Map<K,V> base)
createObservableMap in interface NUtilsRPIpublic <K> NObservableSet<K> createObservableSet()
createObservableSet in interface NUtilsRPIpublic <K> NObservableSet<K> createObservableSet(Set<K> base)
createObservableSet in interface NUtilsRPIpublic <K> NObservableList<K> createObservableList()
createObservableList in interface NUtilsRPIpublic <K> NObservableList<K> createObservableList(List<K> base)
createObservableList in interface NUtilsRPIpublic <V,K> NOptionalMap<K,V> createOptionalMap()
createOptionalMap in interface NUtilsRPIpublic <V,K> NOptionalMap<K,V> createOptionalMap(Map<K,V> base)
createOptionalMap in interface NUtilsRPIpublic NCharQueue createCharQueue()
createCharQueue in interface NUtilsRPIpublic NCharQueue createCharQueue(int size)
createCharQueue in interface NUtilsRPIpublic NCharQueue createCharQueue(int size, int increment)
createCharQueue in interface NUtilsRPIpublic DefaultNCharQueue createCharQueue(char[] content)
createCharQueue in interface NUtilsRPIpublic NByteQueue createByteQueue()
createByteQueue in interface NUtilsRPIpublic NByteQueue createByteQueue(int size)
createByteQueue in interface NUtilsRPIpublic NByteQueue createByteQueue(int size, int increment)
createByteQueue in interface NUtilsRPIpublic NByteQueue createByteQueue(byte[] content)
createByteQueue in interface NUtilsRPIpublic <A,B> List<B> createImmutableConvertedList(List<A> list, Function<A,B> converter)
createImmutableConvertedList in interface NUtilsRPIpublic <K,V> NCappedMap<K,V> createConcurrentReadWriteLRUMap(int size)
createConcurrentReadWriteLRUMap in interface NUtilsRPIpublic <T,K> NCollectionDiffBuilder<T,K> createCollectionDiffBuilder()
createCollectionDiffBuilder in interface NUtilsRPIpublic NRuntimeDistribution createRuntimeDistribution(NId id, String vendor, String product, String variant, String name, String path, String version, String packaging, int priority)
createRuntimeDistribution in interface NUtilsRPIpublic NLiteral createLiteral(Object any)
createLiteral in interface NUtilsRPIpublic NArg createCmdlineArg(String value, NCmdLine cmdline)
createCmdlineArg in interface NUtilsRPIpublic NStringBuilder createStringBuilder(String value)
createStringBuilder in interface NUtilsRPICopyright © 2026 vpc open source initiative. All rights reserved.