CPD Results
The following document contains the results of PMD's CPD 7.17.0.
Duplications
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17502 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19864 |
}
input.popLimit(limit);
break;
} // case 82
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag))
{
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
}
catch (com.google.protobuf.InvalidProtocolBufferException e)
{
throw e.unwrapIOException();
}
finally
{
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_;
/**
* <code>required int64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId()
{
return ((this.bitField0_ & 0x00000001) != 0);
}
/**
* <code>required int64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId()
{
return this.id_;
}
/**
* <code>required int64 id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(final long value)
{
this.id_ = value;
this.bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>required int64 id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId()
{
this.bitField0_ = (this.bitField0_ & ~0x00000001);
this.id_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList keys_ = emptyIntList();
private void ensureKeysIsMutable()
{
if (!this.keys_.isModifiable())
{
this.keys_ = makeMutableCopy(this.keys_);
}
this.bitField0_ |= 0x00000002;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return A list containing the keys.
*/
@Override
public java.util.List<java.lang.Integer> getKeysList()
{
this.keys_.makeImmutable();
return this.keys_;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return The count of keys.
*/
@Override
public int getKeysCount()
{
return this.keys_.size();
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param index The index of the element to return.
* @return The keys at the given index.
*/
@Override
public int getKeys(final int index)
{
return this.keys_.getInt(index);
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param index The index to set the value at.
* @param value The keys to set.
* @return This builder for chaining.
*/
public Builder setKeys(final int index, final int value)
{
ensureKeysIsMutable();
this.keys_.setInt(index, value);
this.bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param value The keys to add.
* @return This builder for chaining.
*/
public Builder addKeys(final int value)
{
ensureKeysIsMutable();
this.keys_.addInt(value);
this.bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param values The keys to add.
* @return This builder for chaining.
*/
public Builder addAllKeys(final java.lang.Iterable<? extends java.lang.Integer> values)
{
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, this.keys_);
this.bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearKeys()
{
this.keys_ = emptyIntList();
this.bitField0_ = (this.bitField0_ & ~0x00000002);
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList vals_ = emptyIntList();
private void ensureValsIsMutable()
{
if (!this.vals_.isModifiable())
{
this.vals_ = makeMutableCopy(this.vals_);
}
this.bitField0_ |= 0x00000004;
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return A list containing the vals.
*/
@Override
public java.util.List<java.lang.Integer> getValsList()
{
this.vals_.makeImmutable();
return this.vals_;
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return The count of vals.
*/
@Override
public int getValsCount()
{
return this.vals_.size();
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The vals at the given index.
*/
@Override
public int getVals(final int index)
{
return this.vals_.getInt(index);
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param index The index to set the value at.
* @param value The vals to set.
* @return This builder for chaining.
*/
public Builder setVals(final int index, final int value)
{
ensureValsIsMutable();
this.vals_.setInt(index, value);
this.bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param value The vals to add.
* @return This builder for chaining.
*/
public Builder addVals(final int value)
{
ensureValsIsMutable();
this.vals_.addInt(value);
this.bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param values The vals to add.
* @return This builder for chaining.
*/
public Builder addAllVals(final java.lang.Iterable<? extends java.lang.Integer> values)
{
ensureValsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, this.vals_);
this.bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearVals()
{
this.vals_ = emptyIntList();
this.bitField0_ = (this.bitField0_ & ~0x00000004);
onChanged();
return this;
}
private nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info info_;
private com.google.protobuf.SingleFieldBuilder<nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.Builder,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder> infoBuilder_;
/**
* <code>optional .OSMPBF.Info info = 4;</code>
* @return Whether the info field is set.
*/
@Override
public boolean hasInfo()
{
return ((this.bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
* @return The info.
*/
@Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info getInfo()
{
if (this.infoBuilder_ == null)
{
return this.info_ == null
? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance() : this.info_;
}
else
{
return this.infoBuilder_.getMessage();
}
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
public Builder setInfo(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info value)
{
if (this.infoBuilder_ == null)
{
if (value == null)
{
throw new NullPointerException();
}
this.info_ = value;
}
else
{
this.infoBuilder_.setMessage(value);
}
this.bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
public Builder setInfo(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.Builder builderForValue)
{
if (this.infoBuilder_ == null)
{
this.info_ = builderForValue.build();
}
else
{
this.infoBuilder_.setMessage(builderForValue.build());
}
this.bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
public Builder mergeInfo(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info value)
{
if (this.infoBuilder_ == null)
{
if (((this.bitField0_ & 0x00000008) != 0) && this.info_ != null
&& this.info_ != nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance())
{
getInfoBuilder().mergeFrom(value);
}
else
{
this.info_ = value;
}
}
else
{
this.infoBuilder_.mergeFrom(value);
}
if (this.info_ != null)
{
this.bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
public Builder clearInfo()
{
this.bitField0_ = (this.bitField0_ & ~0x00000008);
this.info_ = null;
if (this.infoBuilder_ != null)
{
this.infoBuilder_.dispose();
this.infoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.Builder getInfoBuilder()
{
this.bitField0_ |= 0x00000008;
onChanged();
return internalGetInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
@Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder getInfoOrBuilder()
{
if (this.infoBuilder_ != null)
{
return this.infoBuilder_.getMessageOrBuilder();
}
else
{
return this.info_ == null
? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance() : this.info_;
}
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilder<nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.Builder,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder> internalGetInfoFieldBuilder()
{
if (this.infoBuilder_ == null)
{
this.infoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.Builder,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder>(getInfo(),
getParentForChildren(), isClean());
this.info_ = null;
}
return this.infoBuilder_;
}
private com.google.protobuf.Internal.LongList refs_ = emptyLongList(); | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12835 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16440 |
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_ = 0L;
/**
* <code>required sint64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId()
{
return ((this.bitField0_ & 0x00000001) != 0);
}
/**
* <code>required sint64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId()
{
return this.id_;
}
public static final int KEYS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList keys_ = emptyIntList();
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return A list containing the keys.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getKeysList()
{
return this.keys_;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return The count of keys.
*/
@Override
public int getKeysCount()
{
return this.keys_.size();
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param index The index of the element to return.
* @return The keys at the given index.
*/
@Override
public int getKeys(final int index)
{
return this.keys_.getInt(index);
}
private int keysMemoizedSerializedSize = -1;
public static final int VALS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList vals_ = emptyIntList();
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return A list containing the vals.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getValsList()
{
return this.vals_;
}
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return The count of vals.
*/
@Override
public int getValsCount()
{
return this.vals_.size();
}
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The vals at the given index.
*/
@Override
public int getVals(final int index)
{
return this.vals_.getInt(index);
}
private int valsMemoizedSerializedSize = -1;
public static final int INFO_FIELD_NUMBER = 4;
private nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info info_;
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
* @return Whether the info field is set.
*/
@java.lang.Override
public boolean hasInfo()
{
return ((this.bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
* @return The info.
*/
@java.lang.Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info getInfo()
{
return this.info_ == null ? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance()
: this.info_;
}
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
*/
@java.lang.Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder getInfoOrBuilder()
{
return this.info_ == null ? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance()
: this.info_;
}
public static final int LAT_FIELD_NUMBER = 8; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12836 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18789 |
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_ = 0L;
/**
* <code>required sint64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId()
{
return ((this.bitField0_ & 0x00000001) != 0);
}
/**
* <code>required sint64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId()
{
return this.id_;
}
public static final int KEYS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList keys_ = emptyIntList();
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return A list containing the keys.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getKeysList()
{
return this.keys_;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return The count of keys.
*/
@Override
public int getKeysCount()
{
return this.keys_.size();
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param index The index of the element to return.
* @return The keys at the given index.
*/
@Override
public int getKeys(final int index)
{
return this.keys_.getInt(index);
}
private int keysMemoizedSerializedSize = -1;
public static final int VALS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList vals_ = emptyIntList();
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return A list containing the vals.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getValsList()
{
return this.vals_;
}
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return The count of vals.
*/
@Override
public int getValsCount()
{
return this.vals_.size();
}
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The vals at the given index.
*/
@Override
public int getVals(final int index)
{
return this.vals_.getInt(index);
}
private int valsMemoizedSerializedSize = -1;
public static final int INFO_FIELD_NUMBER = 4;
private nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info info_;
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
* @return Whether the info field is set.
*/
@java.lang.Override
public boolean hasInfo()
{
return ((this.bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
* @return The info.
*/
@java.lang.Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info getInfo()
{
return this.info_ == null ? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance()
: this.info_;
}
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
*/
@java.lang.Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder getInfoOrBuilder()
{
return this.info_ == null ? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance()
: this.info_;
}
public static final int LAT_FIELD_NUMBER = 8; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16441 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18789 |
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_ = 0L;
/**
* <code>required int64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId()
{
return ((this.bitField0_ & 0x00000001) != 0);
}
/**
* <code>required int64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId()
{
return this.id_;
}
public static final int KEYS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList keys_ = emptyIntList();
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return A list containing the keys.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getKeysList()
{
return this.keys_;
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return The count of keys.
*/
@Override
public int getKeysCount()
{
return this.keys_.size();
}
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param index The index of the element to return.
* @return The keys at the given index.
*/
@Override
public int getKeys(final int index)
{
return this.keys_.getInt(index);
}
private int keysMemoizedSerializedSize = -1;
public static final int VALS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList vals_ = emptyIntList();
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return A list containing the vals.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getValsList()
{
return this.vals_;
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return The count of vals.
*/
@Override
public int getValsCount()
{
return this.vals_.size();
}
/**
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The vals at the given index.
*/
@Override
public int getVals(final int index)
{
return this.vals_.getInt(index);
}
private int valsMemoizedSerializedSize = -1;
public static final int INFO_FIELD_NUMBER = 4;
private nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info info_;
/**
* <code>optional .OSMPBF.Info info = 4;</code>
* @return Whether the info field is set.
*/
@java.lang.Override
public boolean hasInfo()
{
return ((this.bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
* @return The info.
*/
@java.lang.Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info getInfo()
{
return this.info_ == null ? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance()
: this.info_;
}
/**
* <code>optional .OSMPBF.Info info = 4;</code>
*/
@java.lang.Override
public nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder getInfoOrBuilder()
{
return this.info_ == null ? nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.getDefaultInstance()
: this.info_;
}
public static final int REFS_FIELD_NUMBER = 8; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17361 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19702 |
this.lon_.addAll(other.lon_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
if (!hasId())
{
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 8:
{
this.id_ = input.readInt64();
this.bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
int v = input.readUInt32();
ensureKeysIsMutable();
this.keys_.addInt(v);
break;
} // case 16
case 18:
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureKeysIsMutable();
while (input.getBytesUntilLimit() > 0)
{
this.keys_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 18
case 24:
{
int v = input.readUInt32();
ensureValsIsMutable();
this.vals_.addInt(v);
break;
} // case 24
case 26:
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureValsIsMutable();
while (input.getBytesUntilLimit() > 0)
{
this.vals_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 26
case 34:
{
input.readMessage(internalGetInfoFieldBuilder().getBuilder(), extensionRegistry);
this.bitField0_ |= 0x00000008;
break;
} // case 34
case 64:
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16832 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19172 |
output.writeSInt64NoTag(this.lon_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize()
{
int size = this.memoizedSize;
if (size != -1)
return size;
size = 0;
if (((this.bitField0_ & 0x00000001) != 0))
{
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, this.id_);
}
{
int dataSize = 0;
for (int i = 0; i < this.keys_.size(); i++)
{
dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(this.keys_.getInt(i));
}
size += dataSize;
if (!getKeysList().isEmpty())
{
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
this.keysMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < this.vals_.size(); i++)
{
dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(this.vals_.getInt(i));
}
size += dataSize;
if (!getValsList().isEmpty())
{
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
this.valsMemoizedSerializedSize = dataSize;
}
if (((this.bitField0_ & 0x00000002) != 0))
{
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInfo());
}
{
int dataSize = 0;
for (int i = 0; i < this.refs_.size(); i++) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmFileJsonParser.java | 111 |
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmFileYamlParser.java | 104 |
JSONObject item = items.getJSONObject(j);
String key = parseString("key", item, defaults);
String value = parseString("value", item, defaults);
Color outlineColor = ColorParser.parse(parseString("outlineColor", item, defaults));
Color fillColor = ColorParser.parse(parseString("fillColor", item, defaults));
boolean display = parseBoolean("display", item, defaults, true);
boolean transform = parseBoolean("transform", item, defaults, true);
int lineWidthPx = parseInt("lineWidthPx", item, defaults, 1);
double lineWidthM = parseDouble("lineWidthM", item, defaults, Double.NaN);
double zIndex = parseDouble("zIndex", item, defaults, 0.0);
double scale = parseDouble("scale", item, defaults, 0.0);
LayerInterface layer = null;
if (layerNames.contains(layerName))
{
layer = layerList.get(layerNames.indexOf(layerName));
}
else
{
layer = new Layer();
layerList.add(layer);
layer.setName(layerName);
layerNames.add(layerName);
}
Feature feature = new Feature(layer);
feature.setKey(key);
feature.setValue(value);
Style shapeStyle = new Style();
feature.setShapeStyle(shapeStyle);
shapeStyle.setOutlineColor(outlineColor);
shapeStyle.setFillColor(fillColor);
shapeStyle.setLineWidthPx(lineWidthPx);
shapeStyle.setLineWidthM(lineWidthM);
feature.setZIndex(zIndex);
shapeStyle.setScaleThresholdMetersPerPx(scale);
layer.addFeature(feature);
featuresToRead.add(feature);
layer.setDisplay(display);
layer.setTransform(transform);
}
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16757 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19097 |
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized()
{
byte isInitialized = this.memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
if (!hasId())
{
this.memoizedIsInitialized = 0;
return false;
}
this.memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(final com.google.protobuf.CodedOutputStream output) throws java.io.IOException
{
getSerializedSize();
if (((this.bitField0_ & 0x00000001) != 0))
{
output.writeInt64(1, this.id_);
}
if (getKeysList().size() > 0)
{
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(this.keysMemoizedSerializedSize);
}
for (int i = 0; i < this.keys_.size(); i++)
{
output.writeUInt32NoTag(this.keys_.getInt(i));
}
if (getValsList().size() > 0)
{
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(this.valsMemoizedSerializedSize);
}
for (int i = 0; i < this.vals_.size(); i++)
{
output.writeUInt32NoTag(this.vals_.getInt(i));
}
if (((this.bitField0_ & 0x00000002) != 0))
{
output.writeMessage(4, getInfo());
}
if (getRefsList().size() > 0) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13140 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16847 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19187 |
size += com.google.protobuf.CodedOutputStream.computeSInt64Size(1, this.id_);
}
{
int dataSize = 0;
for (int i = 0; i < this.keys_.size(); i++)
{
dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(this.keys_.getInt(i));
}
size += dataSize;
if (!getKeysList().isEmpty())
{
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
this.keysMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < this.vals_.size(); i++)
{
dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(this.vals_.getInt(i));
}
size += dataSize;
if (!getValsList().isEmpty())
{
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
this.valsMemoizedSerializedSize = dataSize;
}
if (((this.bitField0_ & 0x00000002) != 0))
{
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInfo());
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16964 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19304 |
if (!getLonList().equals(other.getLonList()))
return false;
if (!getUnknownFields().equals(other.getUnknownFields()))
return false;
return true;
}
@java.lang.Override
public int hashCode()
{
if (this.memoizedHashCode != 0)
{
return this.memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId())
{
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId());
}
if (getKeysCount() > 0)
{
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
if (getValsCount() > 0)
{
hash = (37 * hash) + VALS_FIELD_NUMBER;
hash = (53 * hash) + getValsList().hashCode();
}
if (hasInfo())
{
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfo().hashCode();
}
if (getRefsCount() > 0) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13233 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16966 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19306 |
if (!getUnknownFields().equals(other.getUnknownFields()))
return false;
return true;
}
@java.lang.Override
public int hashCode()
{
if (this.memoizedHashCode != 0)
{
return this.memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId())
{
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId());
}
if (getKeysCount() > 0)
{
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
if (getValsCount() > 0)
{
hash = (37 * hash) + VALS_FIELD_NUMBER;
hash = (53 * hash) + getValsList().hashCode();
}
if (hasInfo())
{
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfo().hashCode();
}
if (hasLat()) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13628 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17401 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19742 |
this.id_ = input.readSInt64();
this.bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
int v = input.readUInt32();
ensureKeysIsMutable();
this.keys_.addInt(v);
break;
} // case 16
case 18:
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureKeysIsMutable();
while (input.getBytesUntilLimit() > 0)
{
this.keys_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 18
case 24:
{
int v = input.readUInt32();
ensureValsIsMutable();
this.vals_.addInt(v);
break;
} // case 24
case 26:
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureValsIsMutable();
while (input.getBytesUntilLimit() > 0)
{
this.vals_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 26
case 34:
{
input.readMessage(internalGetInfoFieldBuilder().getBuilder(), extensionRegistry);
this.bitField0_ |= 0x00000008;
break;
} // case 34
case 64:
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13536 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17280 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19621 |
if (other == nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node.getDefaultInstance())
return this;
if (other.hasId())
{
setId(other.getId());
}
if (!other.keys_.isEmpty())
{
if (this.keys_.isEmpty())
{
this.keys_ = other.keys_;
this.keys_.makeImmutable();
this.bitField0_ |= 0x00000002;
}
else
{
ensureKeysIsMutable();
this.keys_.addAll(other.keys_);
}
onChanged();
}
if (!other.vals_.isEmpty())
{
if (this.vals_.isEmpty())
{
this.vals_ = other.vals_;
this.vals_.makeImmutable();
this.bitField0_ |= 0x00000004;
}
else
{
ensureValsIsMutable();
this.vals_.addAll(other.vals_);
}
onChanged();
}
if (other.hasInfo())
{
mergeInfo(other.getInfo());
}
if (other.hasLat()) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 14889 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16894 |
}
{
int dataSize = 0;
for (int i = 0; i < this.lat_.size(); i++)
{
dataSize += com.google.protobuf.CodedOutputStream.computeSInt64SizeNoTag(this.lat_.getLong(i));
}
size += dataSize;
if (!getLatList().isEmpty())
{
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
this.latMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < this.lon_.size(); i++)
{
dataSize += com.google.protobuf.CodedOutputStream.computeSInt64SizeNoTag(this.lon_.getLong(i));
}
size += dataSize;
if (!getLonList().isEmpty())
{
size += 1;
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
}
this.lonMemoizedSerializedSize = dataSize;
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12528 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13686 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17504 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19866 |
break;
} // case 8
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag))
{
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
}
catch (com.google.protobuf.InvalidProtocolBufferException e)
{
throw e.unwrapIOException();
}
finally
{
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_;
/**
* <code>required int64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId()
{
return ((this.bitField0_ & 0x00000001) != 0);
}
/**
* <code>required int64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId()
{
return this.id_;
}
/**
* <code>required int64 id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(final long value)
{
this.id_ = value;
this.bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>required int64 id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId()
{
this.bitField0_ = (this.bitField0_ & ~0x00000001);
this.id_ = 0L;
onChanged();
return this;
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13095 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16783 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19123 |
output.writeSInt64(1, this.id_);
}
if (getKeysList().size() > 0)
{
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(this.keysMemoizedSerializedSize);
}
for (int i = 0; i < this.keys_.size(); i++)
{
output.writeUInt32NoTag(this.keys_.getInt(i));
}
if (getValsList().size() > 0)
{
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(this.valsMemoizedSerializedSize);
}
for (int i = 0; i < this.vals_.size(); i++)
{
output.writeUInt32NoTag(this.vals_.getInt(i));
}
if (((this.bitField0_ & 0x00000002) != 0))
{
output.writeMessage(4, getInfo());
}
if (((this.bitField0_ & 0x00000004) != 0)) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12488 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17363 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19704 |
setId(other.getId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
if (!hasId())
{
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 8:
{
this.id_ = input.readInt64();
this.bitField0_ |= 0x00000001;
break;
} // case 8 | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 1633 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 2555 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 2368 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 3324 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 5153 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 7926 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8588 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9874 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12044 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12620 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 14331 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16162 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18408 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 20716 |
public Blob parsePartialFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
{
Builder builder = newBuilder();
try
{
builder.mergeFrom(input, extensionRegistry);
}
catch (com.google.protobuf.InvalidProtocolBufferException e)
{
throw e.setUnfinishedMessage(builder.buildPartial());
}
catch (com.google.protobuf.UninitializedMessageException e)
{
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
}
catch (java.io.IOException e)
{
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<Blob> parser() | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13483 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17222 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19563 |
private void buildPartial0(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node result)
{
int from_bitField0_ = this.bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0))
{
result.id_ = this.id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0))
{
this.keys_.makeImmutable();
result.keys_ = this.keys_;
}
if (((from_bitField0_ & 0x00000004) != 0))
{
this.vals_.makeImmutable();
result.vals_ = this.vals_;
}
if (((from_bitField0_ & 0x00000008) != 0))
{
result.info_ = this.infoBuilder_ == null ? this.info_ : this.infoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000010) != 0))
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13405 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17143 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19484 |
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node.Builder.class);
}
// Construct using nl.tudelft.simulation.dsol.animation.gis.osm.pbf.Osmformat.Node.newBuilder()
private Builder()
{
maybeForceBuilderInitialization();
}
private Builder(final com.google.protobuf.GeneratedMessage.BuilderParent parent)
{
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization()
{
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders)
{
internalGetInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear()
{
super.clear();
this.bitField0_ = 0;
this.id_ = 0L;
this.keys_ = emptyIntList();
this.vals_ = emptyIntList();
this.info_ = null;
if (this.infoBuilder_ != null)
{
this.infoBuilder_.dispose();
this.infoBuilder_ = null;
}
this.lat_ = 0L; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 211 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 846 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.internal_static_OSMPBF_Blob_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.internal_static_OSMPBF_Blob_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 1753 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 2128 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.internal_static_OSMPBF_BlobHeader_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.internal_static_OSMPBF_BlobHeader_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.BlobHeader.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.BlobHeader.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 277 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 1055 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_HeaderBlock_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_HeaderBlock_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.HeaderBlock.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.HeaderBlock.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 2492 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 2884 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_HeaderBBox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_HeaderBBox_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.HeaderBBox.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.HeaderBBox.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 3518 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 4052 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_PrimitiveBlock_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_PrimitiveBlock_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.PrimitiveBlock.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.PrimitiveBlock.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 5356 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 5909 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_PrimitiveGroup_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_PrimitiveGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.PrimitiveGroup.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.PrimitiveGroup.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8771 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9264 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Info_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Info_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12136 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12385 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_ChangeSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_ChangeSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.ChangeSet.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.ChangeSet.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12825 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13395 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Node_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Node_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 14552 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15124 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_DenseNodes_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_DenseNodes_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.DenseNodes.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.DenseNodes.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16430 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17133 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Way_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Way_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Way.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Way.Builder.class);
}
private int bitField0_; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8029 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8287 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_StringTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_StringTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.StringTable.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.StringTable.Builder.class);
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 10155 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 10840 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_DenseInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_DenseInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.DenseInfo.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.DenseInfo.Builder.class);
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18649 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19474 |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Relation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
{
return nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.internal_static_OSMPBF_Relation_fieldAccessorTable
.ensureFieldAccessorsInitialized(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Relation.class,
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Relation.Builder.class);
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8397 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 11055 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15322 |
this.s_.addAll(other.s_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10: | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9416 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 11057 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15324 |
setVisible(other.getVisible());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 8:
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 996 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8400 |
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10:
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8399 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9416 |
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10: | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 996 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9417 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 11058 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15325 |
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized()
{
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10: | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 821 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 2103 |
public static Builder newBuilder(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob prototype)
{
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder()
{
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(final com.google.protobuf.GeneratedMessage.BuilderParent parent)
{
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code OSMPBF.Blob}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:OSMPBF.Blob)
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.BlobOrBuilder | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 821 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 1030 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 2859 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 4027 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 5880 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8255 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9235 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 10811 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12356 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13370 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15099 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17108 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19449 |
public static Builder newBuilder(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob prototype)
{
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder()
{
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(final com.google.protobuf.GeneratedMessage.BuilderParent parent)
{
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code OSMPBF.Blob}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:OSMPBF.Blob)
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.BlobOrBuilder | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13199 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16940 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19280 |
(nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Node) obj;
if (hasId() != other.hasId())
return false;
if (hasId())
{
if (getId() != other.getId())
return false;
}
if (!getKeysList().equals(other.getKeysList()))
return false;
if (!getValsList().equals(other.getValsList()))
return false;
if (hasInfo() != other.hasInfo())
return false;
if (hasInfo())
{
if (!getInfo().equals(other.getInfo()))
return false;
}
if (hasLat() != other.hasLat()) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmEntityProcessor.java | 84 |
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmEntityProcessor.java | 129 |
for (var entry : way.getTags().entrySet())
{
String key = entry.getKey();
String value = entry.getValue();
for (FeatureInterface feature : this.featuresToRead)
{
if (feature.getKey().equals("*"))
{
featureToUse = feature;
read = true;
break;
}
if (feature.getKey().equals(key))
{
if (feature.getValue().equals("*") || feature.getValue().equals(value))
{
featureToUse = feature;
read = true;
break;
}
}
}
if (read)
{
break;
}
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12665 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16207 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18453 |
public interface NodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:OSMPBF.Node)
com.google.protobuf.MessageOrBuilder
{
/**
* <code>required sint64 id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>required sint64 id = 1;</code>
* @return The id.
*/
long getId();
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return A list containing the keys.
*/
java.util.List<java.lang.Integer> getKeysList();
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @return The count of keys.
*/
int getKeysCount();
/**
* <pre>
* Parallel arrays.
* </pre>
*
* <code>repeated uint32 keys = 2 [packed = true];</code>
* @param index The index of the element to return.
* @return The keys at the given index.
*/
int getKeys(int index);
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return A list containing the vals.
*/
java.util.List<java.lang.Integer> getValsList();
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @return The count of vals.
*/
int getValsCount();
/**
* <pre>
* String IDs.
* </pre>
*
* <code>repeated uint32 vals = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The vals at the given index.
*/
int getVals(int index);
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
* @return Whether the info field is set.
*/
boolean hasInfo();
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
* @return The info.
*/
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.Info getInfo();
/**
* <pre>
* May be omitted in omitmeta
* </pre>
*
* <code>optional .OSMPBF.Info info = 4;</code>
*/
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.InfoOrBuilder getInfoOrBuilder(); | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12240 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13230 |
if (getId() != other.getId())
return false;
}
if (!getUnknownFields().equals(other.getUnknownFields()))
return false;
return true;
}
@java.lang.Override
public int hashCode()
{
if (this.memoizedHashCode != 0)
{
return this.memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId())
{
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId());
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 1279 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 4291 |
if (!getBbox().isInitialized())
{
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10:
{
input.readMessage(internalGetBboxFieldBuilder().getBuilder(), extensionRegistry); | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 4291 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 6304 |
if (!getPrimitivegroup(i).isInitialized())
{
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10:
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12243 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 16966 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19306 |
if (!getUnknownFields().equals(other.getUnknownFields()))
return false;
return true;
}
@java.lang.Override
public int hashCode()
{
if (this.memoizedHashCode != 0)
{
return this.memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId())
{
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId());
} | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 1279 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 6304 |
if (!getBbox().isInitialized())
{
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 10:
{ | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 803 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 2084 |
public static nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob parseFrom(
final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType()
{
return newBuilder();
}
public static Builder newBuilder()
{
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob prototype) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 3039 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12498 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13600 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17373 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19714 |
if (!hasBottom())
{
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
if (extensionRegistry == null)
{
throw new java.lang.NullPointerException();
}
try
{
boolean done = false;
while (!done)
{
int tag = input.readTag();
switch (tag)
{
case 0:
done = true;
break;
case 8:
{
this.left_ = input.readSInt64(); | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmFileCsvParser.java | 146 |
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmFileJsonParser.java | 123 |
| nl/tudelft/simulation/dsol/animation/gis/osm/OsmFileYamlParser.java | 116 |
LayerInterface layer = null;
if (layerNames.contains(layerName))
{
layer = layerList.get(layerNames.indexOf(layerName));
}
else
{
layer = new Layer();
layerList.add(layer);
layer.setName(layerName);
layerNames.add(layerName);
}
Feature feature = new Feature(layer);
feature.setKey(key);
feature.setValue(value);
Style shapeStyle = new Style();
feature.setShapeStyle(shapeStyle);
shapeStyle.setOutlineColor(outlineColor);
shapeStyle.setFillColor(fillColor); | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMFileFormat.java | 803 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 1012 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 2841 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 4009 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 5862 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 8237 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 9217 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 10793 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 12338 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 13352 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15081 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 17090 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 19431 |
public static nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob parseFrom(
final com.google.protobuf.CodedInputStream input,
final com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
{
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType()
{
return newBuilder();
}
public static Builder newBuilder()
{
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(final nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMFileFormat.Blob prototype) | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15768 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18108 |
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lat = 8 [packed = true];</code>
* @return A list containing the lat.
*/
@Override
public java.util.List<java.lang.Long> getLatList()
{
this.lat_.makeImmutable();
return this.lat_;
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lat = 8 [packed = true];</code>
* @return The count of lat.
*/
@Override
public int getLatCount()
{
return this.lat_.size();
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lat = 8 [packed = true];</code>
* @param index The index of the element to return.
* @return The lat at the given index.
*/
@Override
public long getLat(final int index)
{
return this.lat_.getLong(index);
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lat = 8 [packed = true];</code>
* @param index The index to set the value at.
* @param value The lat to set.
* @return This builder for chaining.
*/
public Builder setLat(final int index, final long value)
{
ensureLatIsMutable();
this.lat_.setLong(index, value);
this.bitField0_ |= 0x00000004; | |
| File | Line |
|---|---|
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 15896 |
| nl/tudelft/simulation/dsol/animation/gis/osm/pbf/OSMPBF.java | 18271 |
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lon = 9 [packed = true];</code>
* @return A list containing the lon.
*/
@Override
public java.util.List<java.lang.Long> getLonList()
{
this.lon_.makeImmutable();
return this.lon_;
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lon = 9 [packed = true];</code>
* @return The count of lon.
*/
@Override
public int getLonCount()
{
return this.lon_.size();
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lon = 9 [packed = true];</code>
* @param index The index of the element to return.
* @return The lon at the given index.
*/
@Override
public long getLon(final int index)
{
return this.lon_.getLong(index);
}
/**
* <pre>
* DELTA coded
* </pre>
*
* <code>repeated sint64 lon = 9 [packed = true];</code>
* @param index The index to set the value at.
* @param value The lon to set.
* @return This builder for chaining.
*/
public Builder setLon(final int index, final long value)
{
ensureLonIsMutable();
this.lon_.setLong(index, value);
this.bitField0_ |= 0x00000008; | |
