Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-546

Add methods to Validate to check whether the index is valid for the array/list/string

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0
    • lang.*
    • None

    Description

      Validate should have methods to check whether the index to an array/collection/string is a valid index:

      public void validIndex(Object[] array, int index)

      Attachments

        1. ValidateValidIndex.patch
          11 kB
          Stephen Colebourne

        Activity

          People

            Unassigned Unassigned
            scolebourne Stephen Colebourne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: