Interface Groupable

  • All Known Implementing Classes:
    JoinableMap

    public interface Groupable
    This interface represents all object capable of being grouped
    Author:
    javaito.
    • Method Summary

      Modifier and Type Method Description
      void clear()
      Remove all the elements of the groupable object.
      java.lang.Object get​(java.lang.String fieldName)
      Return the value that corresponds to the specific field name.
      Groupable group​(Groupable groupable)
      Group this instance with the parameter instance.
      java.util.Set<java.lang.String> keySet()
      Returns all the labels into the groupable instance.
    • Method Detail

      • get

        java.lang.Object get​(java.lang.String fieldName)
        Return the value that corresponds to the specific field name.
        Parameters:
        fieldName - Field name.
        Returns:
        Field value.
      • keySet

        java.util.Set<java.lang.String> keySet()
        Returns all the labels into the groupable instance.
        Returns:
        Set with all the labels.
      • group

        Groupable group​(Groupable groupable)
        Group this instance with the parameter instance.
        Parameters:
        groupable - Other instance to group.
        Returns:
        Return this instance grouped.
      • clear

        void clear()
        Remove all the elements of the groupable object.