use name
to specify attribute explicitly.
use name
to specify attribute explicitly.
use name
to specify attribute explicitly.
use name
to specify attribute explicitly.
For Android users, see the
Data and File
Storage overview to select an appropriate temporary directory (perhaps
context.getCacheDir()
), and create your own directory under that. (For example, you might
use
new File(context.getCacheDir(), "directoryname").mkdir()
, or, if you need an
arbitrary number of temporary directories, you might have to generate multiple directory
names in a loop until
mkdir()
returns
true
.) For JRE users, prefer
Files.createTempDirectory(java.nio.file.Path, java.lang.String, java.nio.file.attribute.FileAttribute<?>...)
, transforming it to a
File
using
toFile()
if needed. To restrict permissions as this method
does, pass
PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwx------"))
to your
call to
createTempDirectory
.
If you must interoperate with a system that requires MD5, then use this method,
despite its deprecation. But if you can choose your hash function, avoid MD5, which is
neither fast nor secure. As of January 2017, we suggest:
If you must interoperate with a system that requires SHA-1, then use this method,
despite its deprecation. But if you can choose your hash function, avoid SHA-1, which is
neither fast nor secure. As of January 2017, we suggest:
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
this method should not be called
this method should not be called
this method should not be called
this method should not be called
this method should not be called
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
this method should not be called
this method should not be called
this method should not be called
this method should not be called
this method should not be called
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.
please use N.asArray(Object...)
.
use forEachRemaining(BiConsumer)
to avoid creating the unnecessary Pair
Objects.
use nextBoolean()
instead.
The time complexity is O(n * m). You should try fullJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try fullJoin(Collection, Function, Function, BiFunction)
first.
The time complexity is O(n * m). You should try innerJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try innerJoin(Collection, Function, Function, BiFunction)
first.
The time complexity is O(n * m). You should try leftJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try leftJoin(Collection, Function, Function, BiFunction)
first.
Use
invalid reference
#from(Stream<? extends T>)
instead
Use
invalid reference
#from(Stream<? extends T>,Class<E>)
instead
Use
invalid reference
#from(java.util.stream.Stream<? extends T>)
instead
Use
invalid reference
#from(java.util.stream.Stream<? extends T>,Class<E>)
instead
The time complexity is O(n * m). You should try rightJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try rightJoin(Collection, Function, Function, BiFunction)
first.
call
getPropValue
by reflection apis during comparing or sorting may have huge impact to performance. Use
Builder.ComparisonBuilder
instead.
use nextDouble()
instead.
replaced by #ofAddAllToFirst()
replaced by #ofAppendToFirst()
replaced by #ofMergeToFirst
.
replaced by #ofPutAllToFirst()
replaced by #ofRemoveAllFromFirst()
.
replaced by Fn#entryByKeyMapper(Function)
replaced by Fn#entryWithKey(Object)
replaced by nullToEmptyList
replaced by nullToEmptyMap
replaced by nullToEmptySet
replaced by properNumerator
the ImmutableArray may be modified through the specified elements
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
- UnsupportedOperationException
- UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
- UnsupportedOperationException
- UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
throws UnsupportedOperationException
DO NOT call the methods defined in this class. it's for internal use only.
replaced by CommonUtil.newEntry(Object, Object)
replaced by CommonUtil.newImmutableEntry(Object, Object)
replaced by removeAllOccurrence(Collection)
UnsupportedOperationException
throw UnsupportedOperation
? may cause memory/resource leak if forget to close this Stream
Use
invalid reference
#transformB(Function<? super Stream<Map.Entry<K, V>>, ? extends Stream<Map.Entry<KK, VV>>>)
instead
The time complexity is O(n * m). You should try fullJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try fullJoin(Collection, Function, Function, BiFunction)
first.
The time complexity is O(n * m). You should try innerJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try innerJoin(Collection, Function, Function, BiFunction)
first.
The time complexity is O(n * m). You should try leftJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try leftJoin(Collection, Function, Function, BiFunction)
first.
Use
invalid reference
#from(java.util.stream.Stream<? extends T>)
instead
The time complexity is O(n * m). You should try rightJoin(Collection, Function, Function)
first.
The time complexity is O(n * m). You should try rightJoin(Collection, Function, Function, BiFunction)
first.
replaced by replace(String, int, int, String)
replaced by Numbers.toByte(String)
replaced by Numbers.toDouble(String)
replaced by Numbers.toFloat(String)
replaced by Numbers.toInt(String)
replaced by Numbers.toLong(String)
replaced by Numbers.toShort(String)
use forEachRemaining(TriConsumer)
to avoid creating the unnecessary Triple
Objects.
you should consider using class Some Bean/Record class: MyRecord { final T1 propName1, final T2 propName2...}
you should consider using class Some Bean/Record class: MyRecord { final T1 propName1, final T2 propName2...}
to be removed in future version.
to be removed in future version.
to be removed in future version.
to be removed in future version.