Deprecated API
Contents
-
FieldDescriptionfor internal only.for internal only.for internal only.replaced by
FROM_NUM
.replaced byFROM_NUM
.replaced byFROM_NUM
.replaced byFROM_NUM
.replaced byFROM_NUM
.replaced byFROM_NUM
.DO NOT call the methods defined in this class. it's for internal use only.
-
MethodDescriptionuse
name
to specify attribute explicitly.usename
to specify attribute explicitly.usename
to specify attribute explicitly.For Android users, see the Data and File Storage overview to select an appropriate temporary directory (perhapscontext.getCacheDir()
). For developers on Java 7 or later, useFiles.createTempDirectory(java.nio.file.Path, java.lang.String, java.nio.file.attribute.FileAttribute<?>...)
, transforming it to aFile
usingtoFile()
if needed.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:- For security:
Hashing.sha256()
or a higher-level API. - For speed:
Hashing.goodFastHash(int)
, though see its docs for caveats.
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:- For security:
Hashing.sha256()
or a higher-level API. - For speed:
Hashing.goodFastHash(int)
, though see its docs for caveats.
no use case?replaced byOkHttpRequest.formBody(Object)
.replaced byOkHttpRequest.formBody(Map)
.no use case?UnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionthis method should not be calledthis method should not be calledUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptionUnsupportedOperationExceptioninternal use only.this method should not be calledthis method should not be calledplease useN.asArray(Object...)
.prefer toArray.repeat(Object, int, Class)
because this method throws NullPointerException when element isnull
replaced bycopyOf
usenextBoolean()
instead.replaced by write(char).usenextByte()
instead.usenextChar()
instead.may be misused because it implies there is an underline auto-conversion from column values to target return type but actually there is not.may be misused because it implies there is an underline auto-conversion from column values to target return type but actually there is not.may be misused because it implies there is an underline auto-conversion from column values to target return type but actually there is not.replaced byaddYears/addMonths/addWeeks/...
replaced byaddYears/addMonths/addWeeks/...
usenextDouble()
instead.The time complexity is O(n * m). You should tryfullJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryfullJoin(Collection, Function, Function, BiFunction)
first.The time complexity is O(n * m). You should tryinnerJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryinnerJoin(Collection, Function, Function, BiFunction)
first.The time complexity is O(n * m). You should tryleftJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryleftJoin(Collection, Function, Function, BiFunction)
first.The time complexity is O(n * m). You should tryrightJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryrightJoin(Collection, Function, Function, BiFunction)
first.replaced bygroupTo
replaced bygroupTo
replaced bygroupTo
replaced bygroupTo
replaced byinvalid @link
{@link #getErrorMessage(Throwable, true)
usenextFloat()
instead.replaced bygtAndLt
.replaced by#ofAddAllToFirst()
replaced by#ofAppendToFirst()
replaced by#ofMergeToFirst
.replaced by#ofPutAllToFirst()
replaced by#ofRemoveAllFromFirst()
.replaced byFn.c(Callable)
replaced byFn#entryByKeyMapper(Function)
replaced byFn#entryWithKey(Object)
replaced bynullToEmptyList
replaced bynullToEmptyMap
replaced bynullToEmptySet
replaced byFn.r(Runnable)
replaced bydenominator
replaced bynumerator
replaced byproperNumerator
replaced byproperWhole
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
throwsUnsupportedOperationException
DO NOT call the methods defined in this class. it's for internal use only.usenextInt()
instead.replaced byIterators.mergeIterables(Collection, BiFunction)
replaced byJoiner.reuseCachedBuffer()
replaced byJoiner.skipNulls()
replaced byJoiner.trimBeforeAppend()
usenextLong()
instead.replaced byCommonUtil.newEntry(Object, Object)
replaced byCommonUtil.newImmutableEntry(Object, Object)
UseFn.switchOnNext()
insteadreplace byMutableBoolean.value()
.replace byMutableByte.value()
.replace byMutableChar.value()
.replace byMutableDouble.value()
.replace byMutableFloat.value()
.replace byMutableInt.value()
.replace byMutableLong.value()
.replace byMutableShort.value()
.use traditional for-loopuse traditional for-loopUnsupportedOperationExceptionthrow UnsupportedOperationreplaced bytotalPages
should calltoArray()
replaced byResult.orElseIfFailure(Object)
replaced byRetryR#iterate(Iterator, int)
.for internal use onlyfor internal use onlyfor internal use onlyfor internal use onlyreplaced bySeid.from(Map)
for internal use onlyfor internal use onlyfor internal use onlyfor internal use onlyusenextShort()
instead.replaced bySplitter.MapSplitter.omitEmptyStrings()
replaced bySplitter.MapSplitter.stripResults()
replaced bySplitter.MapSplitter.trimResults()
replaced bySplitter.omitEmptyStrings()
replaced bySplitter.stripResults()
replaced bySplitter.trimResults()
? may cause memory/resource leak if forget to close thisStream
replaced bymergeWith(ByteStream, ByteBiFunction)
replaced bymergeWith(CharStream, CharBiFunction)
replaced byCollector.from(java.util.stream.Collector)
replaced bymergeWith(DoubleStream, DoubleBiFunction)
replaced bymergeWith(FloatStream, FloatBiFunction)
replaced bymergeWith(IntStream, IntBiFunction)
replaced bymergeWith(LongStream, LongBiFunction)
replaced bymergeWith(ShortStream, ShortBiFunction)
The time complexity is O(n * m). You should tryfullJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryfullJoin(Collection, Function, Function, BiFunction)
first.The time complexity is O(n * m). You should tryinnerJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryinnerJoin(Collection, Function, Function, BiFunction)
first.The time complexity is O(n * m). You should tryleftJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryleftJoin(Collection, Function, Function, BiFunction)
first.replaced bymergeWith(Stream, BiFunction)
The time complexity is O(n * m). You should tryrightJoin(Collection, Function, Function)
first.The time complexity is O(n * m). You should tryrightJoin(Collection, Function, Function, BiFunction)
first.replaced bygroupTo
replaced bygroupTo
replaced bygroupTo
replaced bygroupTo
Splitter
is recommended.Splitter
is recommended.Splitter
is recommended.Splitter
is recommended.you should consider usingclass Some Entity/Record class: MyRecord { final T1 propName1, final T2 propName2...}
you should consider usingclass Some Entity/Record class: MyRecord { final T1 propName1, final T2 propName2...}
replaced byu.Nullable.isNotPresent()
usingu.Nullable.orElseNull()
usingu.Optional.orElseNull()
useinvalid @link
{@link #orElse(false)
useinvalid @link
{@link #orElse(true)
- For security:
-
Enum ConstantDescriptiondon't need to set it. It's
DEFAULT
by default.not supported at present.not supported at present.not supported at present.not supported at present.not supported at present.not supported at present.not supported at present.not supported at present.
-
Annotation Interface ElementDescriptionuse
name
to specify attribute explicitly.usename
to specify attribute explicitly.usename
to specify attribute explicitly.