MCPcopy Index your code
hub / github.com/benfry/processing4 / RowPointer

Class RowPointer

core/src/processing/data/Table.java:2747–2876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2745
2746
2747 static class RowPointer implements TableRow {
2748 Table table;
2749 int row;
2750
2751 public RowPointer(Table table, int row) {
2752 this.table = table;
2753 this.row = row;
2754 }
2755
2756 public void setRow(int row) {
2757 this.row = row;
2758 }
2759
2760 public String getString(int column) {
2761 return table.getString(row, column);
2762 }
2763
2764 public String getString(String columnName) {
2765 return table.getString(row, columnName);
2766 }
2767
2768 public int getInt(int column) {
2769 return table.getInt(row, column);
2770 }
2771
2772 public int getInt(String columnName) {
2773 return table.getInt(row, columnName);
2774 }
2775
2776 public long getLong(int column) {
2777 return table.getLong(row, column);
2778 }
2779
2780 public long getLong(String columnName) {
2781 return table.getLong(row, columnName);
2782 }
2783
2784 public float getFloat(int column) {
2785 return table.getFloat(row, column);
2786 }
2787
2788 public float getFloat(String columnName) {
2789 return table.getFloat(row, columnName);
2790 }
2791
2792 public double getDouble(int column) {
2793 return table.getDouble(row, column);
2794 }
2795
2796 public double getDouble(String columnName) {
2797 return table.getDouble(row, columnName);
2798 }
2799
2800 public void setString(int column, String value) {
2801 table.setString(row, column, value);
2802 }
2803
2804 public void setString(String columnName, String value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected