@Test public final void testAsInt() { Datum d = DatumFactory.createChar("5"); assertEquals(5,d.asInt4()); }
@Override public int asInt4() { return Integer.valueOf(getString()); }
CharDatum extends Datum { @Override public int asInt4() { return Integer.valueOf(getString()); } }
CharDatum extends Datum { @Override public int asInt4() { return Integer.valueOf(getString()); } CharDatum(byte val);  CharDatum(char val);  CharDatum(byte [] bytes);  CharDatum(String val); }
CharDatum extends Datum { @Override public int asInt4() { return Integer.valueOf(getString()); } CharDatum(byte val);  CharDatum(char val);  CharDatum(byte [] bytes);  CharDatum(String val); @Override char asChar(); @Override short asInt2(); @Override int asInt4(); @Override long asInt8(); @Override byte[] asByteArray(); @Override float asFloat4(); @Override double asFloat8(); @Override byte asByte(); @Override String asChars(); @Override int size(); @Override int hashCode(); @Override boolean equals(Object obj); @Override Datum equalsTo(Datum datum); @Override int compareTo(Datum datum); }
CharDatum extends Datum { @Override public int asInt4() { return Integer.valueOf(getString()); } CharDatum(byte val);  CharDatum(char val);  CharDatum(byte [] bytes);  CharDatum(String val); @Override char asChar(); @Override short asInt2(); @Override int asInt4(); @Override long asInt8(); @Override byte[] asByteArray(); @Override float asFloat4(); @Override double asFloat8(); @Override byte asByte(); @Override String asChars(); @Override int size(); @Override int hashCode(); @Override boolean equals(Object obj); @Override Datum equalsTo(Datum datum); @Override int compareTo(Datum datum);  }