Codota Logo
RawClosedLineLocRef
Code IndexAdd Codota to your IDE (free)

How to use
RawClosedLineLocRef
in
openlr.rawLocRef

Best Java code snippets using openlr.rawLocRef.RawClosedLineLocRef (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: openlr/binary

RawClosedLineLocRef rawLocRef = new RawClosedLineLocRef(id, points);
if (binData != null) {
  binData.setBinaryLastClosedLineLRP(lastLRP);
origin: openlr/xml

    null, true);
points.add(lastLRP);
RawLocationReference rawLocRef = new RawClosedLineLocRef(id, points);
return rawLocRef;
origin: openlr/encoder

/**
 * {@inheritDoc}
 */
@Override
public final RawLocationReference doEncoding(final Location location,
    final OpenLREncoderParameter parameter)
    throws OpenLRRuntimeException {
  Configuration properties = parameter.getConfiguration();
  MapDatabase mdb = parameter.getMapDatase();
  // check if the location is valid
  LocationCheck locCheck = new ClosedLineLocationCheck();
  CheckResult retCode = locCheck.check(properties, mdb,
      location);
  if (!retCode.checkPassed()) {
    RawLocationReference invalid = new RawInvalidLocRef(
        location.getID(), retCode.getError(),
        location.getLocationType());
    return invalid;
  }
  LocRefData lrd = new LocRefData(location);
  // initialize location reference data array and start encoding
  lrd.setLocRefPoints(generateLocRef(lrd, properties));
  // check if the location reference meets all restrictions and adjust
  // length values if necessary
  LocationReferenceAdjust locRefAdjust = new ClosedLineLocRefAdjust();
  locRefAdjust.adjustLocationReference(properties, lrd);
  RawLocationReference rawLocRef = new RawClosedLineLocRef(
      location.getID(), lrd.getLocRefPoints());
  return rawLocRef;
}
openlr.rawLocRefRawClosedLineLocRef

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • setContentView (Activity)
  • getApplicationContext (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now