Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package ch.cern.mig.posix;
 
 import java.util.List;
 
 
 public final class Timeval extends Structure {
     public long tv_sec;
    public long tv_usec;
    public Timeval() {
    }
    public List<StringgetFieldOrder() {
        return Arrays.asList("tv_sec""tv_usec");
    }
    public void setTime(long[] timeval) {
        assert timeval.length == 2;
         = timeval[0];
         = timeval[1];
    }
New to GrepCode? Check out our FAQ X