Class FastTuple


  • public abstract class FastTuple
    extends java.lang.Object
    Created by cliff on 5/2/14.
    • Constructor Summary

      Constructors 
      Constructor Description
      FastTuple()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.Object get​(int i)
      Does a boxed get on a tuple field.
      abstract byte getByte​(int i)
      Does an unboxed get on a tuple field.
      abstract char getChar​(int i)
      Does an unboxed get on a tuple field.
      abstract double getDouble​(int i)
      Does an unboxed get on a tuple field.
      abstract float getFloat​(int i)
      Does an unboxed get on a tuple field.
      abstract int getInt​(int i)
      Does an unboxed get on a tuple field.
      abstract long getLong​(int i)
      Does an unboxed get on a tuple field.
      abstract short getShort​(int i)
      Does an unboxed get on a tuple field.
      abstract void set​(int i, java.lang.Object value)
      Does a boxed set on a tuple field.
      abstract void setByte​(int i, byte value)
      Does an unboxed set on a tuple field.
      abstract void setChar​(int i, char value)
      Does an unboxed set on a tuple field.
      abstract void setDouble​(int i, double value)
      Does an unboxed set on a tuple field.
      abstract void setFloat​(int i, float value)
      Does an unboxed set on a tuple field.
      abstract void setInt​(int i, int value)
      Does an unboxed set on a tuple field.
      abstract void setLong​(int i, long value)
      Does an unboxed set on a tuple field.
      abstract void setShort​(int i, short value)
      Does an unboxed set on a tuple field.
      • Methods inherited from class java.lang.Object

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

      • FastTuple

        public FastTuple()
    • Method Detail

      • get

        public abstract java.lang.Object get​(int i)
        Does a boxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
      • getLong

        public abstract long getLong​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a long.
      • getInt

        public abstract int getInt​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not an int.
      • getShort

        public abstract short getShort​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a short.
      • getChar

        public abstract char getChar​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a char.
      • getByte

        public abstract byte getByte​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a byte.
      • getFloat

        public abstract float getFloat​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a float.
      • getDouble

        public abstract double getDouble​(int i)
        Does an unboxed get on a tuple field.
        Parameters:
        i - Index of the field to get. Counting starts at 1.
        Returns:
        The value.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a double.
      • setLong

        public abstract void setLong​(int i,
                                     long value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a long.
      • setInt

        public abstract void setInt​(int i,
                                    int value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not an int.
      • setShort

        public abstract void setShort​(int i,
                                      short value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a short.
      • setChar

        public abstract void setChar​(int i,
                                     char value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a char.
      • setByte

        public abstract void setByte​(int i,
                                     byte value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a byte.
      • setFloat

        public abstract void setFloat​(int i,
                                      float value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a float.
      • setDouble

        public abstract void setDouble​(int i,
                                       double value)
        Does an unboxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the specified field is not a double.
      • set

        public abstract void set​(int i,
                                 java.lang.Object value)
        Does a boxed set on a tuple field.
        Parameters:
        i - Index of the field to set. Counting starts at 1.
        value - The value to set.
        Throws:
        java.lang.IllegalArgumentException - if the