/** * Returns a string representation of this field. * * @return a string representation of this field. */ @Override public final java.lang.String toString() { return java.lang.Long.toString(get()); } }
st_ctim = inner(new Timespec(getRuntime())); st_blksize = new blksize_t(); st_blocks = new Signed64(); st_birthtime = inner(new Timespec(getRuntime())); st_mtim = inner(new Timespec(getRuntime())); st_ctim = inner(new Timespec(getRuntime())); __unused4 = IS_64_BIT ? new Signed64() : null; __unused5 = IS_64_BIT ? new Signed64() : null; __unused6 = new Signed64();
st_ctim = inner(new Timespec(getRuntime())); st_blksize = new blksize_t(); st_blocks = new Signed64(); st_birthtime = inner(new Timespec(getRuntime())); st_mtim = inner(new Timespec(getRuntime())); st_ctim = inner(new Timespec(getRuntime())); __unused4 = IS_64_BIT ? new Signed64() : null; __unused5 = IS_64_BIT ? new Signed64() : null; __unused6 = new Signed64();
/** * Creates an array of <tt>Signed64</tt> instances. * * @param array the array to store the instances in * @return the array that was passed in */ protected final Signed64[] array(Signed64[] array) { arrayBegin(); for (int i = 0; i < array.length; ++i) { array[i] = new Signed64(); } arrayEnd(); return array; }
public long sec() { return tv_sec.get(); }
/** * Creates an array of <tt>Signed64</tt> instances. * * @param array the array to store the instances in * @return the array that was passed in */ protected final Signed64[] array(Signed64[] array) { arrayBegin(); for (int i = 0; i < array.length; ++i) { array[i] = new Signed64(); } arrayEnd(); return array; }
public void sec(long sec) { this.tv_sec.set(sec); }
/** * Returns a java long representation of this field. * * @return a java long value for this field. */ @Override public final long longValue() { return get(); }
public void setTime(long[] timeval) { assert timeval.length == 2; tv_sec.set(timeval[0]); tv_usec.set(timeval[1]); } }
/** * Returns a java int representation of this field. * * @return a java int value for this field. */ @Override public final int intValue() { return (int) get(); }
/** * Returns a java long representation of this field. * * @return a java long value for this field. */ @Override public final long longValue() { return get(); }
public void setTime(long[] timeval) { assert timeval.length == 2; tv_sec.set(timeval[0]); tv_usec.set(timeval[1]); }