Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.match;
 
 
 public class Position extends OriannaObject<com.robrua.orianna.type.dto.match.Position> {
     private static final long serialVersionUID = 6689055503592657967L;

    

Parameters:
data the underlying dto
    public Position(final com.robrua.orianna.type.dto.match.Position data) {
        super(datacom.robrua.orianna.type.dto.match.Position.class);
    }

    
x

Returns:
x
    public int getX() {
        return super.getInteger(.getX());
    }

    
y

Returns:
y
    public int getY() {
        return super.getInteger(.getY());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Position (" + getX() + ", " + getY() + ")";
    }
New to GrepCode? Check out our FAQ X