Class Tuple

  • Direct Known Subclasses:
    DBus.Binding.Triplet

    public abstract class Tuple
    extends java.lang.Object
    This class should be extended to create Tuples. Any such class may be used as the return type for a method which returns multiple values. All fields in the Tuple which you wish to be serialized and sent to the remote method should be annotated with the org.freedesktop.dbus.Position annotation, in the order they should appear to DBus.
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuple()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.Object[] getParameters()
      Returns the struct contents in order.
      java.lang.String toString()
      Returns this struct as a string.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Tuple

        public Tuple()
    • Method Detail

      • getParameters

        public final java.lang.Object[] getParameters()
        Returns the struct contents in order.
        Throws:
        DBusException - If there is a problem doing this.
      • toString

        public final java.lang.String toString()
        Returns this struct as a string.
        Overrides:
        toString in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object