text stringlengths 7 995k |
|---|
package com.iflytransporter.web.conf;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
/**
* 常量配置application.yml文件 对应属�?解析
* @author zhangguan
*/
@Component
public class ConstantsConfig {
private static String f... |
package seedu.address.storage;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;
import javax.xml.bind.annotation.XmlElement;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.addr... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 2016 Exorath
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.coolshit.android.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by HP on 2018/2/11.
*/
public class Basic {
@SerializedName("city")
public String cityName;
@SerializedName("id")
public String weatherId;
public Update update;
public class Update {
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package io.kubernetes.client.openapi.models;
import java.lang.Deprecated;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.lang.String;
import java.lang.Boolean;
/**
* Generated
*/
public interface V2ResourceMetri... |
package com.znmall.product.dao;
import com.znmall.product.entity.CommentReplayEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品评价回复关系
*
* @author qingzhe
* @email liqingzhe86@gmail.com
* @date 2020-07-30 19:08:38
*/
@Mapper
public interface Co... |
package com.github.codehorde.common.lock;
import com.github.codehorde.common.util.CompareUtils;
import com.github.codehorde.common.util.ZooKeeperUtils;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Ordering;
import org.apache.zookeeper.*;
... |
package o;
import androidx.exifinterface.media.ExifInterface;
import e.t.b;
import e.t.g;
import e.x.c.i;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.RandomAccess;
import kotlin.jvm.internal.DefaultConstructorMarke... |
package com.dynatrace.plugin.redis;
public class RedisInfo {
private Memory memory;
public Memory getMemory() {
return memory;
}
public void setMemory(Memory memory) {
this.memory = memory;
}
public Replication getReplication() {
return replication;
}
public void setReplication(Replication replicatio... |
package com.dji.wsbridge.lib.connection;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.hardware.usb.UsbAccessory;
import android.hardware.usb.UsbManager;
import android.os.ParcelFileDescriptor;
import android... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package mage.cards.i;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.effects.commo... |
package pl.allegro.tech.hermes.mock;
import org.apache.http.HttpStatus;
import java.time.Duration;
public class Response {
private final int statusCode;
private final Duration fixedDelay;
public Response(int statusCode, Duration fixedDelay) {
this.statusCode = statusCode;
this.fixedDelay... |
package com.circleci.demojavaspring;
import org.junit.Test;
import org.junit.runner.RunWith;
public class DemoJavaSpringApplicationTests {
@Test
public void contextLoads() {
}
} |
/*
* Copyright (c) [2021] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.google.api.ads.dfp.jaxws.v201605;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for create... |
/** OpenTelemetry API extensions for use with AWS. */
@ParametersAreNonnullByDefault
package io.opentelemetry.extension.aws;
import javax.annotation.ParametersAreNonnullByDefault; |
/**
* Copyright © 2019 admin (admin@infrastructurebuilder.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/**
*
*/
/**
* Services used by other packages to perform tasks
* @author Kamil Piwowarski
*
*/
package io.github.azanx.shopping_list.service; |
package com.seifernet.wissen.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
import java.util.List;
/**
* @author Seiferson (Cuauhtemoc Herrera)
*/
@JsonInclude(JsonInclu... |
package seedu.address.logic.commands.room;
//@author LeeMingDe
import static seedu.address.commons.core.Messages.MESSAGE_PATIENT_ALREADY_ASSIGNED;
import static seedu.address.testutil.TypicalPatients.ALICE;
import static seedu.address.testutil.TypicalPatients.CARL;
import static seedu.address.testutil.TypicalPatients... |
package br.com.alura.listavip.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.com.alura.listavip.model.Convidado;
import br.com.alura.listavip.repository.ConvidadoRepository;
@Service
public class ConvidadoService {
@Autowired
priva... |
package pt.andred.sirs1617.main.notFenixManagment;
import java.io.IOException;
import pt.andred.sirs1617.ui.Command;
import pt.andred.sirs1617.ui.Dialog;
import pt.andred.sirs1617.ui.DialogException;
import pt.andred.sirs1617.ws.cli.NotFenixClient;
public class DeletePatient extends Command<NotFenixClient> {
public... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.annaru.upms.entity.vo;
import com.annaru.common.util.JacksonUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
/**
* @Description:专属医生查询
* @Author: wh 2019/6/3 13:33
*/
public class Entit... |
/*
* CTS2 based Terminology Server and Terminology Browser
* Copyright (C) 2014 FH Dortmund: Peter Haas, Robert Muetzner
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
/*******************************************************************************
* Copyright (c) 2006, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
package Exercicios;
public class Ex3 {
public static void main(String[] args){
int numero = 15;
System.out.println(numero%2 != 0 && numero > 10);
}
} |
package hrv.lib.hrv.calc.parameter;
import hrv.lib.hrv.RRData;
import org.apache.commons.math3.stat.descriptive.moment.StandardDeviation;
public class SD2Calculator implements HRVDataProcessor {
@Override
public HRVParameter process(RRData data) {
var sdsdCalc = new SDSDCalculator();
double sdsd = sdsdCalc.pro... |
/*
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package de.metas.ui.web.globalaction;
import java.util.Arrays;
import org.adempiere.exceptions.AdempiereException;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import lombok.Getter;
/*
* #%L
* metasfresh-webui-api
* %%
* Copyright (C) 2018 metas GmbH
* %%
* This progr... |
package com.sequenceiq.periscope.monitor.event;
import org.springframework.context.ApplicationEvent;
import com.sequenceiq.periscope.domain.BaseAlert;
public class ScalingEvent extends ApplicationEvent {
public ScalingEvent(BaseAlert alert) {
super(alert);
}
public BaseAlert getAlert() {
... |
package com.ceph.rados;
import java.io.IOException;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.function.Predicate;
/**
* @author Tristan Tarrant <tristan@infinispan.org>
**/
public class NetworkAddress {
... |
package com.free.underground;
import com.free.underground.R;
//import android.app.DatePickerDialog;
import android.content.Intent;
//import android.database.Cursor;
import android.graphics.BitmapFactory;
//import android.net.Uri;
import android.os.Bundle;
//import android.provider.MediaStore;
import android.support.... |
package edu.gemini.qpt.ui.util;
import java.awt.Component;
import java.text.Format;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
/**
* TableCellRenderer that renders a Date with a user-specfied format.
* @author rnorris
*/
@SuppressWarnings("serial")
public class FormatTableCellRe... |
package org.frekele.nikoday.api.controllers;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2;
import org.frekele.nikoday.api.entities.Tag;
import org.frekele.nikoday.api.services.TagService;
import org.frekele.nikoday.core.controllers.BaseController;
import org.frek... |
package io.onedev.server.web.editable.issue.fieldsupply;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.w... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright OpenSearch Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this ... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_min_predec_13.java
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-13.tmpl.java
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: min Set data to the minimum value for int
* GoodSource: A... |
package domosaics.ui.views.domainview.renderer.additional;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Stroke;
import java.util.Iterator;
import domosaics.ui.views.domainview.DomainViewI;
import domosaics.ui.views.domainview.components.DomainComponent;
import domosa... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... |
package com.dpelluzi.moviedbexample.interfaces;
import com.dpelluzi.moviedbexample.models.MovieListResult;
import io.reactivex.Single;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
public interface MovieDbApi {
@GET("/{version}/movie/now_playing")
Single<MovieListResult... |
/**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ... |
package com.jaxbproject.export;
import java.util.Objects;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
@XmlType(propOrder = { "individual", "addressDetails", "email", "mobile",
... |
package controllers.admin;
import controllers.Result;
import controllers.constants.Error;
import models.Other;
import models.User;
import models.admin.Employee;
import org.bson.types.ObjectId;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
public class Employe... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package by.zagart.android.penumbra.imageloaders;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.annotation.NonNull;
import android.util.LruCache;
import android.widget.ImageView;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.lang.ref.WeakR... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v3/services/feed_mapping_service.proto
package com.google.ads.googleads.v3.services;
/**
* <pre>
* Response message for a feed mapping mutate.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v3.services.MutateFeedM... |
package so.sample.worker;
import java.util.concurrent.CompletableFuture;
import so.engine.IWorker;
import so.engine.ProcessResult;
import so.engine.ResultStatusEnum;
/**
* A worker that prepend a string to an int
* @author marc_alx
*/
public class IntToStringWorker implements IWorker<Integer,String>{
@Overri... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package org.zwobble.mammoth.tests.styles.parsing;
import org.hamcrest.Matcher;
import org.junit.jupiter.api.Test;
import org.zwobble.mammoth.internal.styles.parsing.StyleMappingTokeniser;
import org.zwobble.mammoth.internal.styles.parsing.Token;
import org.zwobble.mammoth.internal.styles.parsing.TokenType;
import sta... |
package org.apache.spark.streaming.api.java;
/**
* A Java-friendly interface to {@link org.apache.spark.streaming.dstream.DStream}, the basic
* abstraction in Spark Streaming that represents a continuous stream of data.
* DStreams can either be created from live data (such as, data from TCP sockets, Kafka,
* etc.) ... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package alararestaurant.repository;
import alararestaurant.models.entities.Position;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Repository
public interface PositionRepository extends JpaRepository<Position, Integer> {
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package club.qqtim.definition.support.liquibase;
import club.qqtim.definition.support.liquibase.tag.CreateTable;
import club.qqtim.definition.support.liquibase.tag.Tag;
import lombok.Data;
import java.util.List;
@Data
public class ChangeSet {
private String id;
private String author;
private List<Cre... |
package za.co.riggaroo.electricitymonitor;
import android.content.Context;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper;
import za.co.... |
package com.devonfw.ide.sonarqube.batch.api;
class MyClass extends AbstractSearchCriteriaTo { // Noncompliant
} |
/*
* Copyright 2012-2014 Dan Cioca
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
import java.util.Arrays;
public class TreasureGame {
public static void main(String[] args) {
int[][] A = {
{ 2, 2, 3, 4, 2 },
{ 1, 2, 2, 4, 5 },
{ 6, 5, 6, 1, 5 },
{ 3, 6, 5, 4, 3 }
};
int m = 4;
int n = 5;
System.out.pr... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mypurecloud.sdk.v2.PagedResource;
import com.mypurecloud.sdk.v2.model.InteractionStats... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package com.concurnas.compiler.cps;
import java.io.File;
import org.junit.Test;
import com.concurnas.compiler.bytecode.BytecodeTests;
public class CPSTestsCleanStack {
private final static String SrcDir = (new File("./tests/com/concurnas/compiler/cps")).getAbsolutePath() + File.separator;
private BytecodeTests... |
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package edu.bator.cards.todo;
import edu.bator.cards.Card;
public class ConsumingFear extends Card {
public ConsumingFear() {
}
public ConsumingFear(Card cloneFrom) {
super(cloneFrom);
}
} |
package pv.mark;
import java.util.HashSet;
import java.util.Set;
import pv.mark.constants.Interpolate;
import pv.mark.constants.Shape;
import pv.mark.constants.TextAlign;
import pv.mark.constants.TextBaseline;
import pv.scene.DotItem;
import pv.scene.ImageItem;
import pv.scene.Item;
import pv.scene.LabelItem;
import ... |
package betterwithaddons.crafting.recipes;
import betterwithaddons.tileentity.TileEntityNabe;
import betterwithaddons.util.NabeResult;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fluids.FluidStack;
import jav... |
package monopoly.View;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class InJailFront extends Widget{
private final Label playerLabel;
private final List<String> players;
private String playerLabelText;
public InJailFront(int x, int y){
super(12, 1, ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.opencv.android;
import java.util.Arrays;
import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.hardware.camera2.*;
import android.hardware.camera2.params.Stream... |
package org.rzlabs.mysql;
import com.google.common.base.Strings;
import org.rzlabs.qe.QueryState;
public class MysqlOkPacket extends MysqlPacket {
private static final int PACKET_OK_INDICATOR = 0X00;
// TODO(zhaochun): following are not used in palo
private static final long LAST_INSERT_ID = 0;
privat... |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.infdot.net.event;
import com.infdot.net.event.message.Message;
import com.infdot.net.event.message.MessageDistributor;
/**
* Base class for users.
*
* @author Raivo Laanemets
*/
public abstract class User {
private MessageDistributor messageDistributor = new MessageDistributor();
/**
* Associa... |
package com.uni.ailab.scp.policy;
import com.uni.ailab.scp.cnf.Formula;
/**
* Created by gabriele on 26/03/15.
*/
public class Policy {
public boolean sticky;
public Scope scope;
public Formula formula;
public Policy(Scope s, Formula f, boolean st) {
sticky = st;
scope = s;
... |
package nl.m4jit.tradetoday.domainlogic;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.*;
import javax.swing.*;
import nl.m4jit.tradetoday.dataaccess.users.*;
import nl.m4jit.tradetoday.domainlogic.users.*;
public class Application {
private boolean dev;
private JFrame mainFra... |
package com.marverenic.music.data.store;
import android.graphics.drawable.Drawable;
import androidx.annotation.ColorInt;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.NightMode;
public interface ThemeStore {
@ColorInt int getPrimaryColor();
@ColorInt int getAccentColor();
... |
/*
* <summary></summary>
* <author>He Han</author>
* <email>hankcs.cn@gmail.com</email>
* <create-date>2014/11/20 20:20</create-date>
*
* <copyright file="NLPTokenizer.java" company="上海林原信息科技有限公司">
* Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.linrunsoft.com/
* This source is subject t... |
package hr.fer.oprpp1.custom.scripting.lexer;
/**
* Smart scripting token types.
*
* @author Petra
*
*/
public enum SmartScriptTokenType {
INTEGER, DOUBLE, TEXT, OPERATOR, BEGIN, END, EOF;
} |
package com.storytron.swat.verbeditor;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;
import java.awt.Polygon;
import java.awt.Shape;
import javax.swing.ButtonGroup;
import javax.swing.JToggleButton;
import com.storytron.swat.Swat;
import com.storytron.uber.S... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mo.trans;
/**
*
* @author Janusz Sokołow, Student of Gdańsk University of Technology
*/
public class City {
int x, ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package quick.pager.shiro.spring.boot.processor;
import org.apache.shiro.util.Destroyable;
import org.apache.shiro.util.Initializable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.FatalBeanException;
import org.springframewor... |
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
package com.ramotion.garlandview.example.utils;
import android.content.res.AssetManager;
import android.graphics.Typeface;
import android.widget.TextView;
import androidx.databinding.BindingAdapter;
public class FontBinder {
@BindingAdapter("bind:font")
public static void setTypeface(TextView textView, Str... |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package leetcode;
import java.util.Iterator;
/**
* https://leetcode.com/problems/peeking-iterator/
*/
public class Problem284 {
private static class PeekingIterator implements Iterator<Integer> {
private final Iterator<Integer> iterator;
private Integer peek;
public PeekingIterator(Iter... |
/**
* ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
* Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
* =======================================================... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.