/pypy/translator/jvm/src/pypy/StatResult.java

https://github.com/alemacgo/pypy · Java · 19 lines · 9 code · 2 blank · 8 comment · 0 complexity · cae65248366ee753e65db97e107d897d MD5 · raw file

  1. package pypy;
  2. /**
  3. * Class returned by the Stat function. The Rpython type is a record
  4. * type which is special-cased in database.py to return an instance of
  5. * this class. The fields are named item0...itemN to conform with
  6. * Rpython, but there are friendly accessors for humans to use.
  7. *
  8. * <p>The actual stat() function is defined in PyPy.java.
  9. */
  10. public class StatResult {
  11. public int item0, item3, item4, item5;
  12. public long item1, item2, item6;
  13. public double item7, item8, item9;
  14. public void setMode(int value) { item0 = value; }
  15. public void setSize(long value) { item6 = value; }
  16. public void setMtime(double value) { item8 = value; }
  17. }