Uses of Annotation Interface
com.landawn.abacus.annotation.MayReturnNull
-
Uses of MayReturnNull in com.landawn.abacus.http
Modifier and TypeMethodDescriptionstatic String
HttpUtil.getAccept
(HttpHeaders httpHeaders) static String
HttpUtil.getAccept
(HttpSettings httpSettings) static String
static String
HttpUtil.getAcceptCharset
(HttpHeaders httpHeaders) static String
HttpUtil.getAcceptCharset
(HttpSettings httpSettings) static String
HttpUtil.getAcceptCharset
(Map<String, ?> httpHeaders) static String
HttpUtil.getAcceptEncoding
(HttpHeaders httpHeaders) static String
HttpUtil.getAcceptEncoding
(HttpSettings httpSettings) static String
HttpUtil.getAcceptEncoding
(Map<String, ?> httpHeaders) static String
HttpUtil.getContentEncoding
(ContentFormat contentFormat) Gets the content encoding.static String
HttpUtil.getContentEncoding
(HttpHeaders httpHeaders) static String
HttpUtil.getContentEncoding
(HttpSettings httpSettings) static String
HttpUtil.getContentEncoding
(Map<String, ?> httpHeaders) static String
HttpUtil.getContentType
(ContentFormat contentFormat) Gets the content type.static String
HttpUtil.getContentType
(HttpHeaders httpHeaders) static String
HttpUtil.getContentType
(HttpSettings httpSettings) static String
HttpUtil.getContentType
(Map<String, ?> httpHeaders) -
Uses of MayReturnNull in com.landawn.abacus.parser
Modifier and TypeMethodDescriptionParserConfig.getIgnoredPropNames
(Class<?> cls) Gets the ignored prop names. -
Uses of MayReturnNull in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic ContinuableFuture<Void>
N.asyncExecute
(Throwables.Runnable<? extends Exception> cmd, int retryTimes, long retryIntervallInMillisInMillis, Predicate<? super Exception> retryCondition) static ContinuableFuture<Void>
N.asyncExecute
(Throwables.Runnable<? extends Exception> command, long delayInMillis) static Boolean[]
Array.box
(boolean... a) Converts an array of primitive booleans to objects.static Boolean[][]
Array.box
(boolean[][] a) static Boolean[][][]
Array.box
(boolean[][][] a) static Boolean[]
Array.box
(boolean[] a, int fromIndex, int toIndex) static Byte[]
Array.box
(byte... a) Converts an array of primitive bytes to objects.static Byte[][]
Array.box
(byte[][] a) static Byte[][][]
Array.box
(byte[][][] a) static Byte[]
Array.box
(byte[] a, int fromIndex, int toIndex) static Character[]
Array.box
(char... a) Converts an array of primitive chars to objects.static Character[][]
Array.box
(char[][] a) static Character[][][]
Array.box
(char[][][] a) static Character[]
Array.box
(char[] a, int fromIndex, int toIndex) static Double[]
Array.box
(double... a) Converts an array of primitive doubles to objects.static Double[][]
Array.box
(double[][] a) static Double[][][]
Array.box
(double[][][] a) static Double[]
Array.box
(double[] a, int fromIndex, int toIndex) static Float[]
Array.box
(float... a) Converts an array of primitive floats to objects.static Float[][]
Array.box
(float[][] a) static Float[][][]
Array.box
(float[][][] a) static Float[]
Array.box
(float[] a, int fromIndex, int toIndex) static Integer[]
Array.box
(int... a) Converts an array of primitive ints to objects.static Integer[][]
Array.box
(int[][] a) static Integer[][][]
Array.box
(int[][][] a) static Integer[]
Array.box
(int[] a, int fromIndex, int toIndex) static Long[]
Array.box
(long... a) Converts an array of primitive longs to objects.static Long[][]
Array.box
(long[][] a) static Long[][][]
Array.box
(long[][][] a) static Long[]
Array.box
(long[] a, int fromIndex, int toIndex) static Short[]
Array.box
(short... a) Converts an array of primitive shorts to objects.static Short[][]
Array.box
(short[][] a) static Short[][][]
Array.box
(short[][][] a) static Short[]
Array.box
(short[] a, int fromIndex, int toIndex) static <T> T[]
N.concat
(T[]... aa) static <T,
E extends Exception>
T[]N.copyThenApply
(T[] a, Throwables.Function<? super T, ? extends T, E> converter) Copy the specified arraya
first, then callconverter
on the copy.static BigDecimal
Numbers.createBigDecimal
(String str) Convert aString
to aBigDecimal
.static BigInteger
Numbers.createBigInteger
(String str) Convert aString
to aBigInteger
; since 3.2 it handles hex (0x or #) and octal (0) notations.static Double
Numbers.createDouble
(String str) Convert aString
to aDouble
.static Float
Numbers.createFloat
(String str) Convert aString
to aFloat
.static Integer
Numbers.createInteger
(String str) Convert aString
to aInteger
, handling hex (0xhhhh) and octal (0dddd) notations.static Long
Numbers.createLong
(String str) Convert aString
to aLong
; since 3.1 it handles hex (0Xhhhh) and octal (0ddd) notations.static Number
Numbers.createNumber
(String str) Turns a string value into a java.lang.Number.Returns the encrypted password encoded with Base64.static <T extends CharSequence>
TStrings.firstNonBlank
(Collection<? extends T> css) static <T extends CharSequence>
TStrings.firstNonBlank
(T... css) static <T extends CharSequence>
TStrings.firstNonEmpty
(Collection<? extends T> css) static <T extends CharSequence>
TStrings.firstNonEmpty
(T... css) Returns the first value in the array which is not empty.static <T> T[]
N.flatten
(T[][] a) Sheet.get
(int rowIndex, int columnIndex) static String
XMLUtil.getAttribute
(Node node, String attrName) Gets the attribute.static <T> T
Recursively get the values from the specifiedmap
bypath
.static <T> T
static <T> T
Maps.map2Bean
(Map<String, Object> m, boolean ignoreNullProperty, boolean ignoreUnmatchedProperty, Class<? extends T> targetClass) Map to bean.static <T> T
Maps.map2Bean
(Map<String, Object> m, Collection<String> selectPropNames, Class<? extends T> targetClass) Map to bean.static Boolean
Note: copied from Apache commons Lang under Apache license v2.0static Calendar
DateUtil.parseCalendar
(String calendar, String format, TimeZone timeZone) Converts the specifiedcalendar
with the specifiedformat
to a new instance of Calendar.static Date
Converts the specifieddate
with the specifiedformat
to a new instance of java.sql.Date.static GregorianCalendar
DateUtil.parseGregorianCalendar
(String calendar, String format, TimeZone timeZone) Converts the specifiedcalendar
with the specifiedformat
to a new instance of GregorianCalendar.static Date
DateUtil.parseJUDate
(String date, String format, TimeZone timeZone) Converts the specifieddate
with the specifiedformat
to a new instance of java.util.Date.static Time
Converts the specifieddate
with the specifiedformat
to a new instance of Time.static Timestamp
DateUtil.parseTimestamp
(String date, String format, TimeZone timeZone) Converts the specifieddate
with the specifiedformat
to a new instance of Timestamp.static XMLGregorianCalendar
DateUtil.parseXMLGregorianCalendar
(String calendar, String format, TimeZone timeZone) Converts the specifiedcalendar
with the specifiedformat
to a new instance of XMLGregorianCalendar.Sheet.remove
(int rowIndex, int columnIndex) static <K,
V> V static String
Strings.stripAccents
(String str) Removes diacritics (~= accents) from a string.static String
Deprecated.static String
Deprecated.static String
Returnsnull
if(str == null || inclusiveBeginIndex < 0 || inclusiveBeginIndex > str.length())
, otherwise returns:str.substring(inclusiveBeginIndex)
.static String
Deprecated.static String
Returnsnull
ifstr == null || inclusiveBeginIndex < 0 || exclusiveEndIndex < 0 || inclusiveBeginIndex > exclusiveEndIndex || inclusiveBeginIndex > str.length()
, otherwise returns:str.substring(inclusiveBeginIndex, min(exclusiveEndIndex, str.length()))
.static String
Deprecated.static String
Strings.substring
(String str, int inclusiveBeginIndex, BiFunction<String, Integer, Integer> funcOfExclusiveEndIndex) Returnsnull
if(str == null || inclusiveBeginIndex < 0)
, orfuncOfExclusiveEndIndex.apply(str, inclusiveBeginIndex) < 0
.static String
Strings.substring
(String str, int inclusiveBeginIndex, IntUnaryOperator funcOfExclusiveEndIndex) Returnsnull
if(str == null || inclusiveBeginIndex < 0)
, orfuncOfExclusiveEndIndex.applyAsInt(inclusiveBeginIndex) < 0
.static String
Deprecated.static String
Deprecated.static String
Strings.substring
(String str, BiFunction<String, Integer, Integer> funcOfInclusiveBeginIndex, int exclusiveEndIndex) Returnsnull
if(str == null || exclusiveEndIndex < 0)
, orfuncOfInclusiveBeginIndex.apply(str, exclusiveEndIndex) < 0
.static String
Strings.substring
(String str, IntUnaryOperator funcOfInclusiveBeginIndex, int exclusiveEndIndex) Returnsnull
if(str == null || exclusiveEndIndex < 0)
, orfuncOfInclusiveBeginIndex.applyAsInt(exclusiveEndIndex) < 0
.static String
Strings.substringAfter
(String str, char delimiterOfExclusiveBeginIndex) Returns the substring after firstdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringAfter
(String str, String delimiterOfExclusiveBeginIndex) Returns the substring after firstdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringAfter
(String str, String delimiterOfExclusiveBeginIndex, int exclusiveEndIndex) Returnsnull
ifstr == null || delimiterOfExclusiveBeginIndex == null || exclusiveEndIndex < 0
, orstr.indexOf(delimiterOfExclusiveBeginIndex) < 0 || str.indexOf(delimiterOfExclusiveBeginIndex) + delimiterOfExclusiveBeginIndex.length() > exclusiveEndIndex
otherwise returnssubstring(str, index + delimiterOfExclusiveBeginIndex.length(), exclusiveEndIndex)
;static String
Strings.substringAfterAny
(String str, char... delimitersOfExclusiveBeginIndex) Returns the substring before any ofdelimitersOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringAfterAny
(String str, String... delimitersOfExclusiveBeginIndex) Returns the substring before any ofdelimitersOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringAfterLast
(String str, char delimiterOfExclusiveBeginIndex) Returns the substring after lastdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringAfterLast
(String str, String delimiterOfExclusiveBeginIndex) Returns the substring after lastdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringAfterLast
(String str, String delimiterOfExclusiveBeginIndex, int exclusiveEndIndex) Returns the substring after lastdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBefore
(String str, char delimiterOfExclusiveEndIndex) Returns the substring before firstdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBefore
(String str, int inclusiveBeginIndex, String delimiterOfExclusiveEndIndex) Returns the substring before firstdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBefore
(String str, String delimiterOfExclusiveEndIndex) Returns the substring before firstdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBeforeAny
(String str, char... delimitersOfExclusiveEndIndex) Returns the substring before any ofdelimitersOfExclusiveEndIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBeforeAny
(String str, String... delimitersOfExclusiveEndIndex) Returns the substring before any ofdelimitersOfExclusiveEndIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBeforeLast
(String str, char delimiterOfExclusiveEndIndex) Returns the substring before lastdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBeforeLast
(String str, int inclusiveBeginIndex, String delimiterOfExclusiveEndIndex) Returns the substring before lastdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBeforeLast
(String str, String delimiterOfExclusiveEndIndex) Returns the substring before lastdelimiterOfExclusiveBeginIndex
if it exists, otherwise returnnull
String.static String
Strings.substringBetween
(String str, char delimiterOfExclusiveBeginIndex, char delimiterOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, char delimiterOfExclusiveBeginIndex, int exclusiveEndIndex) static String
Strings.substringBetween
(String str, int exclusiveBeginIndex, char delimiterOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, int exclusiveBeginIndex, int exclusiveEndIndex) Returnsnull
ifstr == null || exclusiveBeginIndex < 0 || exclusiveEndIndex < 0 || exclusiveBeginIndex >= exclusiveEndIndex || exclusiveBeginIndex >= str.length()
, Otherwise returns:str.substring(exclusiveBeginIndex + 1, min(exclusiveEndIndex, str.length()))
.static String
Strings.substringBetween
(String str, int exclusiveBeginIndex, String delimiterOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, int fromIndex, String delimiterOfExclusiveBeginIndex, String delimiterOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, int exclusiveBeginIndex, BiFunction<String, Integer, Integer> funcOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, int exclusiveBeginIndex, IntUnaryOperator funcOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, String delimiterOfExclusiveBeginIndex, int exclusiveEndIndex) static String
Strings.substringBetween
(String str, String delimiterOfExclusiveBeginIndex, IntUnaryOperator funcOfExclusiveEndIndex) static String
Strings.substringBetween
(String str, BiFunction<String, Integer, Integer> funcOfExclusiveBeginIndex, int exclusiveEndIndex) static String
Strings.substringBetween
(String str, IntUnaryOperator funcOfExclusiveBeginIndex, int exclusiveEndIndex) static String
Strings.substringBetween
(String str, IntUnaryOperator funcOfExclusiveBeginIndex, String delimiterOfExclusiveEndIndex) static char[]
Strings.toCharArray
(CharSequence source) Returns the char array of the specified CharSequence, ornull
if the specified String isnull
.static int[]
Strings.toCodePoints
(CharSequence str) Converts aCharSequence
into an array of code points.static String
Truncates a String.static boolean[][][]
static boolean[][]
static boolean[]
Converts an array of object Booleans to primitives handlingnull
.static boolean[]
static byte[][][]
static byte[][]
static byte[]
Converts an array of object Bytes to primitives handlingnull
.static byte[]
static char[][][]
static char[][]
static char[]
Converts an array of object Character to primitives handlingnull
.static char[]
static double[][][]
static double[][]
static double[]
Converts an array of object Doubles to primitives handlingnull
.static double[]
static float[][][]
static float[][]
static float[]
Converts an array of object Floats to primitives handlingnull
.static float[]
static int[][][]
static int[][]
static int[]
Converts an array of object Integer to primitives handlingnull
.static int[]
static long[][][]
static long[][]
static long[]
static long[]
Converts an array of object Long to primitives handlingnull
.static short[][][]
static short[][]
static short[]
static short[]
Converts an array of object Short to primitives handlingnull
.