Package org.tomlj
Class MutableHomogeneousTomlArray
java.lang.Object
org.tomlj.MutableTomlArray
org.tomlj.MutableHomogeneousTomlArray
- All Implemented Interfaces:
TomlArray
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(Object value, TomlPosition position) boolean
true
if the array contains arrays.boolean
true
if the array contains booleans.boolean
true
if the array contains doubles.boolean
true
if the array containsLocalDate
s.boolean
true
if the array containsLocalDateTime
s.boolean
true
if the array containsLocalTime
s.boolean
true
if the array contains longs.boolean
true
if the array containsOffsetDateTime
s.boolean
true
if the array contains strings.boolean
true
if the array contains tables.Methods inherited from class org.tomlj.MutableTomlArray
create, create, get, inputPositionOf, isEmpty, isTableArray, size, toList
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.tomlj.TomlArray
getArray, getBoolean, getDouble, getLocalDate, getLocalDateTime, getLocalTime, getLong, getOffsetDateTime, getString, getTable, toJson, toJson, toJson, toJson, toToml, toToml
-
Field Details
-
type
-
-
Constructor Details
-
MutableHomogeneousTomlArray
MutableHomogeneousTomlArray(boolean tableArray)
-
-
Method Details
-
containsStrings
public boolean containsStrings()Description copied from interface:TomlArray
true
if the array contains strings.- Specified by:
containsStrings
in interfaceTomlArray
- Overrides:
containsStrings
in classMutableTomlArray
- Returns:
true
if the array contains strings.
-
containsLongs
public boolean containsLongs()Description copied from interface:TomlArray
true
if the array contains longs.- Specified by:
containsLongs
in interfaceTomlArray
- Overrides:
containsLongs
in classMutableTomlArray
- Returns:
true
if the array contains longs.
-
containsDoubles
public boolean containsDoubles()Description copied from interface:TomlArray
true
if the array contains doubles.- Specified by:
containsDoubles
in interfaceTomlArray
- Overrides:
containsDoubles
in classMutableTomlArray
- Returns:
true
if the array contains doubles.
-
containsBooleans
public boolean containsBooleans()Description copied from interface:TomlArray
true
if the array contains booleans.- Specified by:
containsBooleans
in interfaceTomlArray
- Overrides:
containsBooleans
in classMutableTomlArray
- Returns:
true
if the array contains booleans.
-
containsOffsetDateTimes
public boolean containsOffsetDateTimes()Description copied from interface:TomlArray
true
if the array containsOffsetDateTime
s.- Specified by:
containsOffsetDateTimes
in interfaceTomlArray
- Overrides:
containsOffsetDateTimes
in classMutableTomlArray
- Returns:
true
if the array containsOffsetDateTime
s.
-
containsLocalDateTimes
public boolean containsLocalDateTimes()Description copied from interface:TomlArray
true
if the array containsLocalDateTime
s.- Specified by:
containsLocalDateTimes
in interfaceTomlArray
- Overrides:
containsLocalDateTimes
in classMutableTomlArray
- Returns:
true
if the array containsLocalDateTime
s.
-
containsLocalDates
public boolean containsLocalDates()Description copied from interface:TomlArray
true
if the array containsLocalDate
s.- Specified by:
containsLocalDates
in interfaceTomlArray
- Overrides:
containsLocalDates
in classMutableTomlArray
- Returns:
true
if the array containsLocalDate
s.
-
containsLocalTimes
public boolean containsLocalTimes()Description copied from interface:TomlArray
true
if the array containsLocalTime
s.- Specified by:
containsLocalTimes
in interfaceTomlArray
- Overrides:
containsLocalTimes
in classMutableTomlArray
- Returns:
true
if the array containsLocalTime
s.
-
containsArrays
public boolean containsArrays()Description copied from interface:TomlArray
true
if the array contains arrays.- Specified by:
containsArrays
in interfaceTomlArray
- Overrides:
containsArrays
in classMutableTomlArray
- Returns:
true
if the array contains arrays.
-
containsTables
public boolean containsTables()Description copied from interface:TomlArray
true
if the array contains tables.- Specified by:
containsTables
in interfaceTomlArray
- Overrides:
containsTables
in classMutableTomlArray
- Returns:
true
if the array contains tables.
-
append
- Overrides:
append
in classMutableTomlArray
-