Class KeyValue

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<java.lang.Object>

    public final class KeyValue
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Iterable<java.lang.Object>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyValue​(java.lang.Object... values)  
      KeyValue​(java.util.Collection<?> values)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Object get​(int index)  
      int hashCode()  
      java.util.Iterator<java.lang.Object> iterator()  
      KeyValue normalized()  
      int size()  
      java.util.stream.Stream<java.lang.Object> stream()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • KeyValue

        public KeyValue​(java.lang.Object... values)
      • KeyValue

        public KeyValue​(java.util.Collection<?> values)
    • Method Detail

      • size

        public int size()
      • get

        public java.lang.Object get​(int index)
      • iterator

        public java.util.Iterator<java.lang.Object> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Object>
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • stream

        public java.util.stream.Stream<java.lang.Object> stream()
      • normalized

        public KeyValue normalized()