Java Code Examples for javax.annotation.Nullable

The following examples show how to use javax.annotation.Nullable. These examples are extracted from open source projects.
Example 1
Project: Flink-CEPplus   File: StateTableKeyGroupPartitionerTest.java    License: Apache License 2.0 5 votes vote down vote up
private static StateTableEntry<Integer, VoidNamespace, Integer> generateElement(
	@Nonnull Random random,
	@Nullable StateTableEntry<Integer, VoidNamespace, Integer> next) {

	Integer generatedKey =  random.nextInt() & Integer.MAX_VALUE;
	return new StateTableEntry<>(
		generatedKey,
		VoidNamespace.INSTANCE,
		random.nextInt(),
		generatedKey.hashCode(),
		next,
		0,
		0);
}
 
Example 2
Project: flink   File: ArchivedExecutionGraph.java    License: Apache License 2.0 5 votes vote down vote up
public ArchivedExecutionGraph(
		JobID jobID,
		String jobName,
		Map<JobVertexID, ArchivedExecutionJobVertex> tasks,
		List<ArchivedExecutionJobVertex> verticesInCreationOrder,
		long[] stateTimestamps,
		JobStatus state,
		@Nullable ErrorInfo failureCause,
		String jsonPlan,
		StringifiedAccumulatorResult[] archivedUserAccumulators,
		Map<String, SerializedValue<OptionalFailure<Object>>> serializedUserAccumulators,
		ArchivedExecutionConfig executionConfig,
		boolean isStoppable,
		@Nullable CheckpointCoordinatorConfiguration jobCheckpointingConfiguration,
		@Nullable CheckpointStatsSnapshot checkpointStatsSnapshot) {

	this.jobID = Preconditions.checkNotNull(jobID);
	this.jobName = Preconditions.checkNotNull(jobName);
	this.tasks = Preconditions.checkNotNull(tasks);
	this.verticesInCreationOrder = Preconditions.checkNotNull(verticesInCreationOrder);
	this.stateTimestamps = Preconditions.checkNotNull(stateTimestamps);
	this.state = Preconditions.checkNotNull(state);
	this.failureCause = failureCause;
	this.jsonPlan = Preconditions.checkNotNull(jsonPlan);
	this.archivedUserAccumulators = Preconditions.checkNotNull(archivedUserAccumulators);
	this.serializedUserAccumulators = Preconditions.checkNotNull(serializedUserAccumulators);
	this.archivedExecutionConfig = Preconditions.checkNotNull(executionConfig);
	this.isStoppable = isStoppable;
	this.jobCheckpointingConfiguration = jobCheckpointingConfiguration;
	this.checkpointStatsSnapshot = checkpointStatsSnapshot;
}
 
Example 3
Project: kylin-on-parquet-v2   File: JobOptimizeRequest.java    License: Apache License 2.0 5 votes vote down vote up
public Set<Long> getCuboidsRecommend() {
    return Sets.newHashSet(FluentIterable.from(cuboidsRecommend).transform(new Function<String, Long>() {
        @Nullable
        @Override
        public Long apply(@Nullable String cuboid) {
            return Long.valueOf(cuboid);
        }
    }));
}
 
Example 4
Project: stateful-functions   File: ProtobufMessage.java    License: Apache License 2.0 5 votes vote down vote up
@Nullable
private static Address protobufAddressToSdkAddress(EnvelopeAddress address) {
  if (address == null
      || (address.getId().isEmpty()
          && address.getNamespace().isEmpty()
          && address.getType().isEmpty())) {
    return null;
  }
  FunctionType functionType = new FunctionType(address.getNamespace(), address.getType());
  return new Address(functionType, address.getId());
}
 
Example 5
Project: patchwork-api   File: MixinEntityType.java    License: GNU Lesser General Public License v2.1 5 votes vote down vote up
@Inject(method = SPAWN, at = @At(value = "INVOKE", target = "net/minecraft/world/World.spawnEntity(Lnet/minecraft/entity/Entity;)Z"), cancellable = true, locals = LocalCapture.CAPTURE_FAILHARD)
private void hookMobSpawns(World world, @Nullable CompoundTag itemTag, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnType type, boolean alignPosition, boolean bl, CallbackInfoReturnable<Entity> callback, Entity entity) {
	if (!(entity instanceof MobEntity)) {
		return;
	}

	MobEntity mob = (MobEntity) entity;

	if (EntityEvents.doSpecialSpawn(mob, world, pos.getX(), pos.getY(), pos.getZ(), null, type)) {
		callback.setReturnValue(null);
	}
}
 
Example 6
Project: presto   File: PageFunctionCompiler.java    License: Apache License 2.0 5 votes vote down vote up
@Nullable
@Managed
@Nested
public CacheStatsMBean getProjectionCache()
{
    return projectionCacheStats;
}
 
Example 7
Project: connector-sdk   File: ParallelProcessingTraverserWorker.java    License: Apache License 2.0 5 votes vote down vote up
public ParallelProcessingTraverserWorker(
    TraverserConfiguration conf,
    IndexingService indexingService,
    @Nullable ExecutorService executor) {
  super(conf, indexingService);
  this.itemRetriever = conf.getItemRetriever();
  this.hostload = conf.getHostload();
  this.sharedExecutor = executor != null;
  this.executor = sharedExecutor ? executor : Executors.newCachedThreadPool();
  queue = new ConcurrentLinkedQueue<>();
}
 
Example 8
Project: Flink-CEPplus   File: AvroSerializer.java    License: Apache License 2.0 5 votes vote down vote up
@SuppressWarnings("unchecked")
private void read16Layout(@Nullable String schemaString, ObjectInputStream in)
		throws IOException, ClassNotFoundException {

	Schema schema = AvroFactory.parseSchemaString(schemaString);
	Class<T> type = (Class<T>) in.readObject();

	this.previousSchema = new SerializableAvroSchema();
	this.schema = new SerializableAvroSchema(schema);
	this.type = type;
}
 
Example 9
Project: netcdf-java   File: Grib1Customizer.java    License: BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@Nullable
protected synchronized Map<Integer, VertCoordType> readTable3(String path) {
  try (InputStream is = GribResourceReader.getInputStream(path)) {
    SAXBuilder builder = new SAXBuilder();
    org.jdom2.Document doc = builder.build(is);
    Element root = doc.getRootElement();

    Map<Integer, VertCoordType> result = new HashMap<>(200);
    List<Element> params = root.getChildren("parameter");
    for (Element elem1 : params) {
      int code = Integer.parseInt(elem1.getAttributeValue("code"));
      String desc = elem1.getChildText("description");
      String abbrev = elem1.getChildText("abbrev");
      String units = elem1.getChildText("units");
      String datum = elem1.getChildText("datum");
      boolean isLayer = elem1.getChild("isLayer") != null;
      boolean isPositiveUp = elem1.getChild("isPositiveUp") != null;
      VertCoordType lt = new VertCoordType(code, desc, abbrev, units, datum, isPositiveUp, isLayer);
      result.put(code, lt);
    }

    return Collections.unmodifiableMap(result); // all at once - thread safe
  } catch (IOException | JDOMException e) {
    logger.error("Cant parse NcepLevelTypes = " + path, e);
    return null;
  }
}
 
Example 10
Project: flink   File: StreamTaskNetworkInput.java    License: Apache License 2.0 5 votes vote down vote up
@Override
@Nullable
public StreamElement pollNextNullable() throws Exception {

	while (true) {
		// get the stream element from the deserializer
		if (currentRecordDeserializer != null) {
			DeserializationResult result = currentRecordDeserializer.getNextRecord(deserializationDelegate);
			if (result.isBufferConsumed()) {
				currentRecordDeserializer.getCurrentBuffer().recycleBuffer();
				currentRecordDeserializer = null;
			}

			if (result.isFullRecord()) {
				return deserializationDelegate.getInstance();
			}
		}

		Optional<BufferOrEvent> bufferOrEvent = checkpointedInputGate.pollNext();
		if (bufferOrEvent.isPresent()) {
			processBufferOrEvent(bufferOrEvent.get());
		} else {
			if (checkpointedInputGate.isFinished()) {
				isFinished = true;
				checkState(checkpointedInputGate.isAvailable().isDone(), "Finished BarrierHandler should be available");
				if (!checkpointedInputGate.isEmpty()) {
					throw new IllegalStateException("Trailing data in checkpoint barrier handler.");
				}
			}
			return null;
		}
	}
}
 
Example 11
Project: Flink-CEPplus   File: SharedSlot.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * Creates a new shared slot that has is a sub-slot of the given parent shared slot, and that belongs
 * to the given task group.
 *
 * @param owner The component from which this slot is allocated.
 * @param location The location info of the TaskManager where the slot was allocated from
 * @param slotNumber The number of the slot.
 * @param taskManagerGateway The gateway to communicate with the TaskManager
 * @param assignmentGroup The assignment group that this shared slot belongs to.
 * @param parent The parent slot of this slot.
 * @param groupId The assignment group of this slot.
 */
public SharedSlot(
		SlotOwner owner,
		TaskManagerLocation location,
		int slotNumber,
		TaskManagerGateway taskManagerGateway,
		SlotSharingGroupAssignment assignmentGroup,
		@Nullable SharedSlot parent,
		@Nullable AbstractID groupId) {

	super(owner, location, slotNumber, taskManagerGateway, parent, groupId);

	this.assignmentGroup = checkNotNull(assignmentGroup);
	this.subSlots = new HashSet<Slot>();
}
 
Example 12
Project: Flink-CEPplus   File: FileUploadHandler.java    License: Apache License 2.0 5 votes vote down vote up
private void handleError(ChannelHandlerContext ctx, String errorMessage, HttpResponseStatus responseStatus, @Nullable Throwable e) {
	HttpRequest tmpRequest = currentHttpRequest;
	deleteUploadedFiles();
	reset();
	LOG.warn(errorMessage, e);
	HandlerUtils.sendErrorResponse(
		ctx,
		tmpRequest,
		new ErrorResponseBody(errorMessage),
		responseStatus,
		Collections.emptyMap()
	);
	ReferenceCountUtil.release(tmpRequest);
}
 
Example 13
Project: mzmine3   File: MzRangeFormulaCalculatorModule.java    License: GNU General Public License v2.0 5 votes vote down vote up
@Nullable
public static Range<Double> getMzRangeFromFormula(String formula, IonizationType ionType,
    MZTolerance mzTolerance, Integer charge) {
  if ((formula == null) || (ionType == null) || (mzTolerance == null) || (charge == null))
    return null;

  String ionizedFormula = FormulaUtils.ionizeFormula(formula, ionType, charge);
  double calculatedMZ = FormulaUtils.calculateExactMass(ionizedFormula, charge) / charge;

  return mzTolerance.getToleranceRange(calculatedMZ);
}
 
Example 14
Project: incubator-tuweni   File: AES256GCM.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * Decrypt a message using a given key and a detached message authentication code.
 *
 * @param cipherText The cipher text to decrypt.
 * @param mac The message authentication code.
 * @param data Extra non-confidential data that is included within the encrypted payload.
 * @param key The key to use for decryption.
 * @param nonce The nonce that was used for encryption.
 * @return The decrypted data, or {@code null} if verification failed.
 * @throws UnsupportedOperationException If AES256-GSM support is not available.
 */
@Nullable
public static byte[] decryptDetached(byte[] cipherText, byte[] mac, byte[] data, Key key, Nonce nonce) {
  assertAvailable();
  checkArgument(!key.isDestroyed(), "Key has been destroyed");

  long abytes = Sodium.crypto_aead_aes256gcm_abytes();
  if (abytes > Integer.MAX_VALUE) {
    throw new IllegalStateException("crypto_aead_aes256gcm_abytes: " + abytes + " is too large");
  }
  if (mac.length != abytes) {
    throw new IllegalArgumentException("mac must be " + abytes + " bytes, got " + mac.length);
  }

  byte[] clearText = new byte[cipherText.length];
  int rc = Sodium
      .crypto_aead_aes256gcm_decrypt_detached(
          clearText,
          null,
          cipherText,
          cipherText.length,
          mac,
          data,
          data.length,
          nonce.value.pointer(),
          key.value.pointer());
  if (rc == -1) {
    return null;
  }
  if (rc != 0) {
    throw new SodiumException("crypto_aead_aes256gcm_encrypt: failed with result " + rc);
  }

  return clearText;
}
 
Example 15
Project: mzmine3   File: NumberRangeType.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * A formatted string representation of the value
 * 
 * @return the formatted representation of the value (or an empty String)
 */
@Override
@Nonnull
public String getFormattedString(@Nullable Object value) {
  if (value instanceof Range) {
    Range r = (Range) value;
    return getFormatter().format(r.lowerEndpoint()) + "-"
        + getFormatter().format(r.upperEndpoint());
  } else
    return "";
}
 
Example 16
Project: flink-playgrounds   File: ClickEventStatisticsSerializationSchema.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public ProducerRecord<byte[], byte[]> serialize(
		final ClickEventStatistics message, @Nullable final Long timestamp) {
	try {
		//if topic is null, default topic will be used
		return new ProducerRecord<>(topic, objectMapper.writeValueAsBytes(message));
	} catch (JsonProcessingException e) {
		throw new IllegalArgumentException("Could not serialize record: " + message, e);
	}
}
 
Example 17
Project: presto   File: StringStatistics.java    License: Apache License 2.0 5 votes vote down vote up
public StringStatistics(@Nullable Slice minimum, @Nullable Slice maximum, long sum)
{
    if (minimum != null && maximum != null && minimum.compareTo(maximum) > 0) {
        throw new IllegalArgumentException(format(
                "minimum is not less than or equal to maximum: '%s' [%s], '%s' [%s]",
                minimum.toStringUtf8(),
                base16().encode(minimum.getBytes()),
                maximum.toStringUtf8(),
                base16().encode(maximum.getBytes())));
    }
    this.minimum = minimum;
    this.maximum = maximum;
    this.sum = sum;
}
 
Example 18
Project: Flink-CEPplus   File: TestingDispatcher.java    License: Apache License 2.0 5 votes vote down vote up
TestingDispatcher(
	RpcService rpcService,
	String endpointId,
	Configuration configuration,
	HighAvailabilityServices highAvailabilityServices,
	GatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever,
	BlobServer blobServer,
	HeartbeatServices heartbeatServices,
	JobManagerMetricGroup jobManagerMetricGroup,
	@Nullable String metricQueryServicePath,
	ArchivedExecutionGraphStore archivedExecutionGraphStore,
	JobManagerRunnerFactory jobManagerRunnerFactory,
	FatalErrorHandler fatalErrorHandler) throws Exception {
	super(
		rpcService,
		endpointId,
		configuration,
		highAvailabilityServices,
		highAvailabilityServices.getSubmittedJobGraphStore(),
		resourceManagerGatewayRetriever,
		blobServer,
		heartbeatServices,
		jobManagerMetricGroup,
		metricQueryServicePath,
		archivedExecutionGraphStore,
		jobManagerRunnerFactory,
		fatalErrorHandler,
		VoidHistoryServerArchivist.INSTANCE);

	this.startFuture = new CompletableFuture<>();
}
 
Example 19
Project: bcm-android   File: StoredPaymentChannelClientStates.java    License: GNU General Public License v3.0 5 votes vote down vote up
/**
 * Finds a channel with the given id and contract hash and returns it, or returns null.
 */
@Nullable
public StoredClientChannel getChannel(Sha256Hash id, Sha256Hash contractHash) {
    lock.lock();
    try {
        Set<StoredClientChannel> setChannels = mapChannels.get(id);
        for (StoredClientChannel channel : setChannels) {
            if (channel.contract.getHash().equals(contractHash))
                return channel;
        }
        return null;
    } finally {
        lock.unlock();
    }
}
 
Example 20
Project: presto   File: LongArrayBlockBuilder.java    License: Apache License 2.0 5 votes vote down vote up
public LongArrayBlockBuilder(@Nullable BlockBuilderStatus blockBuilderStatus, int expectedEntries)
{
    this.blockBuilderStatus = blockBuilderStatus;
    this.initialEntryCount = max(expectedEntries, 1);

    updateDataSize();
}
 
Example 21
Project: supl-client   File: EllipsoidArc.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_EllipsoidArc;
}
 
Example 22
Project: opentelemetry-java   File: B3PropagatorTest.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
public String get(Map<String, String> carrier, String key) {
  return carrier.get(key);
}
 
Example 23
Project: atlassian-jira-software-cloud-plugin   File: JiraDeploymentInfoSenderImpl.java    License: Apache License 2.0 4 votes vote down vote up
private Optional<JiraCloudSiteConfig> getSiteConfigFor(@Nullable final String jiraSite) {
    return siteConfigRetriever.getJiraSiteConfig(jiraSite);
}
 
Example 24
Project: openAGV   File: VehicleProcessModelTO.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
public Triple getPrecisePosition() {
  return precisePosition;
}
 
Example 25
Project: supl-client   File: RequestAssistanceData.java    License: Apache License 2.0 4 votes vote down vote up
Extend(@Nullable Asn1Tag tag, boolean isImplicitTagging) {
  this.tag = tag;
  this.isImplicitTagging = isImplicitTagging;
}
 
Example 26
Project: patchwork-api   File: CapabilityProviderHolder.java    License: GNU Lesser General Public License v2.1 4 votes vote down vote up
@Nullable
default CompoundTag serializeCaps() {
	return getCapabilityProvider().serializeCaps();
}
 
Example 27
Project: plugins   File: HotColdSolver.java    License: GNU General Public License v3.0 4 votes vote down vote up
/**
 * Process a hot-cold update given a {@link WorldPoint} where a check occurred and the resulting temperature and
 * temperature change discovered at that point. This will filter the set of possible locations which can be the
 * solution.
 *
 * @param worldPoint        The point where a hot-cold check occurred
 * @param temperature       The temperature of the checked point
 * @param temperatureChange The change of temperature of the checked point compared to the previously-checked point
 * @return A set of {@link HotColdLocation}s which are still possible after the filtering occurs. This return value
 * is the same as would be returned by {@code getPossibleLocations()}.
 */
public Set<HotColdLocation> signal(@Nonnull final WorldPoint worldPoint, @Nonnull final HotColdTemperature temperature, @Nullable final HotColdTemperatureChange temperatureChange)
{
	// when the strange device reads a temperature, that means that the center of the final dig location
	// is a range of squares away from the player's current location (Chebyshev AKA Chess-board distance)
	int maxSquaresAway = temperature.getMaxDistance();
	int minSquaresAway = temperature.getMinDistance();

	// maxDistanceArea encompasses all of the points that are within the max possible distance from the player
	final Rectangle maxDistanceArea = new Rectangle(
		worldPoint.getX() - maxSquaresAway,
		worldPoint.getY() - maxSquaresAway,
		2 * maxSquaresAway + 1,
		2 * maxSquaresAway + 1);
	// minDistanceArea encompasses all of the points that are within the min possible distance from the player
	final Rectangle minDistanceArea = new Rectangle(
		worldPoint.getX() - minSquaresAway,
		worldPoint.getY() - minSquaresAway,
		2 * minSquaresAway + 1,
		2 * minSquaresAway + 1);

	// eliminate from consideration dig spots that lie entirely within the min range or entirely outside of the max range
	possibleLocations.removeIf(entry -> minDistanceArea.contains(entry.getRect()) || !maxDistanceArea.intersects(entry.getRect()));

	// if a previous world point has been recorded, we can consider the warmer/colder result from the strange device
	if (lastWorldPoint != null && temperatureChange != null)
	{
		switch (temperatureChange)
		{
			case COLDER:
				// eliminate spots that are absolutely warmer
				possibleLocations.removeIf(entry -> isFirstPointCloserRect(worldPoint, lastWorldPoint, entry.getRect()));
				break;
			case WARMER:
				// eliminate spots that are absolutely colder
				possibleLocations.removeIf(entry -> isFirstPointCloserRect(lastWorldPoint, worldPoint, entry.getRect()));
				break;
			case SAME:
				// eliminate spots which are absolutely colder or warmer (as they would not yield a SAME temperature change)
				possibleLocations.removeIf(entry ->
					isFirstPointCloserRect(worldPoint, lastWorldPoint, entry.getRect())
						|| isFirstPointCloserRect(lastWorldPoint, worldPoint, entry.getRect()));
		}
	}

	lastWorldPoint = worldPoint;
	return getPossibleLocations();
}
 
Example 28
Project: presto   File: VerifierConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
public String getTestPasswordOverride()
{
    return testPasswordOverride;
}
 
Example 29
Project: supl-client   File: UncompressedEphemeris.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_ephemIDotType;
}
 
Example 30
Project: stateful-functions   File: ObjectContainer.java    License: Apache License 2.0 4 votes vote down vote up
Key(Class<?> type, @Nullable String label) {
  this.type = type;
  this.label = label;
}
 
Example 31
Project: PGM   File: OwnedGoal.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
public @Nullable Team getOwner() {
  return this.owner;
}
 
Example 32
Project: supl-client   File: NavModel_KeplerianSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_keplerWType;
}
 
Example 33
Project: presto   File: SessionContext.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
String getCatalog();
 
Example 34
Project: Moss   File: HipchatNotifier.java    License: Apache License 2.0 4 votes vote down vote up
public void setRoomId(@Nullable String roomId) {
    this.roomId = roomId;
}
 
Example 35
Project: flink   File: FsCheckpointStreamFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
public StreamStateHandle closeAndGetHandle() throws IOException {
	// check if there was nothing ever written
	if (outStream == null && pos == 0) {
		return null;
	}

	synchronized (this) {
		if (!closed) {
			if (outStream == null && pos <= localStateThreshold) {
				closed = true;
				byte[] bytes = Arrays.copyOf(writeBuffer, pos);
				pos = writeBuffer.length;
				return new ByteStreamStateHandle(createStatePath().toString(), bytes);
			}
			else {
				try {
					flush();

					pos = writeBuffer.length;

					long size = -1L;

					// make a best effort attempt to figure out the size
					try {
						size = outStream.getPos();
					} catch (Exception ignored) {}

					outStream.close();

					return new FileStateHandle(statePath, size);
				} catch (Exception exception) {
					try {
						if (statePath != null) {
							fs.delete(statePath, false);
						}

					} catch (Exception deleteException) {
						LOG.warn("Could not delete the checkpoint stream file {}.",
							statePath, deleteException);
					}

					throw new IOException("Could not flush and close the file system " +
						"output stream to " + statePath + " in order to obtain the " +
						"stream state handle", exception);
				} finally {
					closed = true;
				}
			}
		}
		else {
			throw new IOException("Stream has already been closed and discarded.");
		}
	}
}
 
Example 36
Project: supl-client   File: A_GNSS_ProvideLocationInformation.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_A_GNSS_ProvideLocationInformation;
}
 
Example 37
Project: PGM   File: Teams.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
public static @Nullable TeamFactory getDefinition(Party party) {
  return party instanceof Team ? ((Team) party).getInfo() : null;
}
 
Example 38
Project: supl-client   File: NavModel_KeplerianSet.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_keplerEType;
}
 
Example 39
Project: supl-client   File: GANSSPositioningMethodTypes.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_GANSSPositioningMethodTypes;
}
 
Example 40
Project: supl-client   File: BasicProtectionParams.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Nullable
protected Asn1Tag getTag() {
  return TAG_basicReplayCounterType;
}