Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.goda.chronic.tags;
 
 import java.util.List;
Tokens are tagged with subclassed instances of this class when they match specific criteria
public class Tag<T> {
    private DateTime _now;
    private T _type;
    public Tag(T type) {
         = type;
    }
    public DateTime getNow() {
        return ;
    }
    public void setStart(DateTime s) {
         = s;
    }
    public void setType(T type) {
         = type;
    }
    public T getType() {
        return ;
    }
    public static interface Scanner {
        List<Tokenscan(List<TokentokensOptions options);
    }
New to GrepCode? Check out our FAQ X