Interface ToStringWithElements

All Superinterfaces:
Serializable
All Known Subinterfaces:
DbArray<T>, DbArrayBase, DbBooleanArray, DbByteArray, DbCharArray, DbDoubleArray, DbFloatArray, DbIntArray, DbLongArray, DbShortArray
All Known Implementing Classes:
ByteSegmentedSortedMultiset, CharSegmentedSortedMultiset, DbArray.Indirect, DbArrayBooleanWrapper, DbArrayByteWrapper, DbArrayCharWrapper, DbArrayColumnWrapper, DbArrayDirect, DbArrayDoubleWrapper, DbArrayFloatWrapper, DbArrayImmutableColumnWrapper, DbArrayIntWrapper, DbArrayLongWrapper, DbArrayShortWrapper, DbArraySlice, DbBooleanArray.Indirect, DbBooleanArrayDirect, DbBooleanArraySlice, DbByteArray.Indirect, DbByteArrayColumnWrapper, DbByteArrayDirect, DbByteArrayImmutableColumnWrapper, DbByteArraySlice, DbCharArray.Indirect, DbCharArrayColumnWrapper, DbCharArrayDirect, DbCharArrayImmutableColumnWrapper, DbCharArraySlice, DbDateTimeSsmSourceWrapper.ValueWrapper, DbDoubleArray.Indirect, DbDoubleArrayColumnWrapper, DbDoubleArrayDirect, DbDoubleArrayImmutableColumnWrapper, DbDoubleArraySlice, DbFloatArray.Indirect, DbFloatArrayColumnWrapper, DbFloatArrayDirect, DbFloatArrayImmutableColumnWrapper, DbFloatArraySlice, DbIntArray.Indirect, DbIntArrayColumnWrapper, DbIntArrayDirect, DbIntArrayImmutableColumnWrapper, DbIntArraySlice, DbLongArray.Indirect, DbLongArrayColumnWrapper, DbLongArrayDirect, DbLongArrayImmutableColumnWrapper, DbLongArraySlice, DbPrevArrayColumnWrapper, DbPrevByteArrayColumnWrapper, DbPrevCharArrayColumnWrapper, DbPrevDoubleArrayColumnWrapper, DbPrevFloatArrayColumnWrapper, DbPrevIntArrayColumnWrapper, DbPrevLongArrayColumnWrapper, DbPrevShortArrayColumnWrapper, DbShortArray.Indirect, DbShortArrayColumnWrapper, DbShortArrayDirect, DbShortArrayImmutableColumnWrapper, DbShortArraySlice, DbSubArray, DbSubBooleanArray, DbSubByteArray, DbSubCharArray, DbSubDoubleArray, DbSubFloatArray, DbSubIntArray, DbSubLongArray, DbSubShortArray, DoubleSegmentedSortedMultiset, FloatSegmentedSortedMultiset, IntSegmentedSortedMultiset, LongSegmentedSortedMultiset, ObjectSegmentedSortedMultiset, ShortSegmentedSortedMultiset

public interface ToStringWithElements extends Serializable
Exposes an interface which allows a parameter to the standard `toString()` method. This is used to define a maximum number of elements within an array to include in the output before truncating
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    toString(long maxElements)
    Unless explicitly overridden, this method will ignore the parameter
  • Field Details

  • Method Details

    • toString

      default String toString(long maxElements)
      Unless explicitly overridden, this method will ignore the parameter
      Parameters:
      maxElements - defines maximum number of elements to include from an array before truncating
      Returns:
      a string representation of this object