Interface Array.Entry

All Superinterfaces:
Comparable<Array.Entry>
All Known Implementing Classes:
BasicEntry
Enclosing interface:
Array

public static interface Array.Entry extends Comparable<Array.Entry>
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    int
    Get the index of the entry
    Get the value of the entry.
  • Method Details

    • getIndex

      int getIndex()
      Get the index of the entry
      Returns:
      the entry's index; never null
    • getValue

      Value getValue()
      Get the value of the entry.
      Returns:
      the entry's value; may be null
    • compareTo

      default int compareTo(Array.Entry that)
      Specified by:
      compareTo in interface Comparable<Array.Entry>