Examples of Location


Examples of stateandbehavior.Location

public class LocationTest extends TestCase {
  private Location location;
 
  @Override
  protected void setUp() {
    location = new Location();
   
  }
View Full Code Here

Examples of twitter4j.Location

            int size = list.length();
            ResponseList<Location> locations =
                    new ResponseListImpl<Location>(size, null);
            for (int i = 0; i < size; i++) {
                JSONObject json = list.getJSONObject(i);
                Location location = new LocationJSONImpl(json);
                locations.add(location);
                if (storeJSON) {
                    DataObjectFactoryUtil.registerJSONObject(location, json);
                }
            }
View Full Code Here

Examples of uk.org.naptan.StopPointStructure.Place.Location

    return null;
  }

  private static Double getLatForStopPoint(StopPointStructure stopPoint) {
    Place place = stopPoint.getPlace();
    Location location = place.getLocation();
    if (location.getLatitude() != null) {
      return location.getLatitude().doubleValue();
    }
    Translation translation = location.getTranslation();
    if (translation.getLatitude() != null) {
      return translation.getLatitude().doubleValue();
    }
    return null;
  }
View Full Code Here

Examples of weblogic.xml.stream.Location

            annotate( new XmlLineNumber( line, column, offset ) );
        }

        void lineNumberAnnotation ( XMLEvent xe )
        {
            Location loc = xe.getLocation();

            if (loc != null)
            {
                lineNumberAnnotation(
                    loc.getLineNumber(), loc.getColumnNumber(), -1 );
            }
        }
View Full Code Here

Examples of weka.core.parser.java_cup.runtime.ComplexSymbolFactory.Location

    private StringBuffer sb;
    private ComplexSymbolFactory symbolFactory;
    private int csline,cscolumn;
    public Symbol symbol(String name, int code){
//  System.out.println("code:"+code+" "+yytext());
  return symbolFactory.newSymbol(name, code,new Location(yyline+1,yycolumn+1-yylength()),new Location(yyline+1,yycolumn+1));
    }
View Full Code Here

Examples of xtc.tree.Location

   * @return The corresponding location.
   */
  public final Location location(final int index) {
    final Column c = column(index);

    return new Location(c.file, c.line, c.column, index, yyCount - 1);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.