MCPcopy Index your code
hub / github.com/processing/processing / RowPointer

Class RowPointer

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

Source from the content-addressed store, hash-verified

2698
2699
2700 static class RowPointer implements TableRow {
2701 Table table;
2702 int row;
2703
2704 public RowPointer(Table table, int row) {
2705 this.table = table;
2706 this.row = row;
2707 }
2708
2709 public void setRow(int row) {
2710 this.row = row;
2711 }
2712
2713 public String getString(int column) {
2714 return table.getString(row, column);
2715 }
2716
2717 public String getString(String columnName) {
2718 return table.getString(row, columnName);
2719 }
2720
2721 public int getInt(int column) {
2722 return table.getInt(row, column);
2723 }
2724
2725 public int getInt(String columnName) {
2726 return table.getInt(row, columnName);
2727 }
2728
2729 public long getLong(int column) {
2730 return table.getLong(row, column);
2731 }
2732
2733 public long getLong(String columnName) {
2734 return table.getLong(row, columnName);
2735 }
2736
2737 public float getFloat(int column) {
2738 return table.getFloat(row, column);
2739 }
2740
2741 public float getFloat(String columnName) {
2742 return table.getFloat(row, columnName);
2743 }
2744
2745 public double getDouble(int column) {
2746 return table.getDouble(row, column);
2747 }
2748
2749 public double getDouble(String columnName) {
2750 return table.getDouble(row, columnName);
2751 }
2752
2753 public void setString(int column, String value) {
2754 table.setString(row, column, value);
2755 }
2756
2757 public void setString(String columnName, String value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected