text stringlengths 7 1.01M |
|---|
package org.embulk.input.google_ads;
public class GoogleAdsUtil
{
private GoogleAdsUtil()
{
}
public static String escapeColumnName(String name, PluginTask task)
{
if (task.getReplaceDotInColumn()) {
return name.replaceAll("\\.", task.getReplaceDotInColumnWith());
} els... |
package tools.valuefunction;
import java.util.ArrayList;
import java.util.Random;
// Implement functionality related to the Thresholded Lexicographic Ordering multiobjective action selection
// approach of Gabor et al.
// Written by Peter Vamplew, Nov 2015
public abstract class TLO {
static Random r = new Random()... |
/*
* Copyright (c) 2014 CyDesign Ltd.
*
* 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... |
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.nodes.Document;
import edu.ntu.net.http.HttpsConnect;
public class DownloadNasdaqStockAllName {
public static void main(String[] args) {
String url = "https://api.nasdaq.com/api/screener/stocks?download=true";
try {
HttpsConne... |
package com.truyayong.oldhouse;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
... |
package com.bt.pi.core.pastry_override;
import java.io.IOException;
import java.net.InetAddress;
import java.nio.channels.CancelledKeyException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.concurrent.Callable... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
/*
* Copyright 2017 github.com/kaaz
*
* 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... |
/*******************************************************************************
* Copyright (c) 2013, 2017 James Mover Zhou
*
* 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
*
* htt... |
/*
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat licenses this file to you 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... |
import java.util.*;
import static java.lang.Math.*;
import java.util.stream.*;
/*
Problem name: 11878 Homework Checker
Problem url: https://uva.onlinejudge.org/external/118/11878.pdf
Author: Andrey Yemelyanov
*/
public class _11878 {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
... |
package com.google.android.gms.internal.ads;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
public final class zzdtk<K, V> implements zzdti<Map<K, V>> {
/* renamed from: a */
private static final zzdtu<Map<Object, Object>> f28305a = zzdtj.m3010... |
package com.newcoder.community.service;
import com.newcoder.community.dao.AlphaDao;
import com.newcoder.community.dao.DiscussPostMapper;
import com.newcoder.community.dao.UserMapper;
import com.newcoder.community.entity.DiscussPost;
import com.newcoder.community.entity.User;
import com.newcoder.community.util.Communit... |
/*
* 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.hys.exam.struts.form;
import java.util.Date;
import com.hys.framework.web.form.BaseForm;
import org.apache.struts.upload.FormFile;
/**
* 专家委员会信息Form
* @author Han
*
*/
public class ExpertGroupForm extends BaseForm{
private static final long serialVersionUID = -7619826935718904514L;
private Long ... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.security.authc;
import org.elasticsearch.Elas... |
package com.guoke.algorithmlib.interview;
import java.util.PriorityQueue;
/**
* 字节二面
* 第 K 大的数字
*/
public class KNum {
public static void main(String[] args){
int[] arr = new int[]{1,2,3,4,5,6,7,8,9};
fun2(arr,9);
}
// 优先队列
private static void fun1(int[] arr,int k){
// 找到... |
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... |
// Copyright (c) 2016-2017 Jae-jun Kang
// See the file LICENSE for details.
package x2java;
import java.io.IOException;
import x2java.util.*;
/** Common base class for all events. */
public class Event extends Cell {
protected static final Tag tag = new Tag(null, Event.class, 1, 0);
private int handle;
... |
package com.didi.carrera.console.dao.model;
import java.io.Serializable;
import java.util.Date;
public class MqServer implements Serializable {
/**
* 自增id
* default = null
* length = 20
*/
private Long id;
/**
* mq 集群名称
* default =
* length = 256
*/
private String na... |
/*
* Copyright 2016-2021 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 may ... |
package fr.dossierfacile.api.front.validator;
import fr.dossierfacile.api.front.validator.anotation.LengthOfText;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintVal... |
package pers.brian.mall.modules.pms.model;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel... |
// *****************************************************************************
// %name: CryptoUtil1.java %
// Desc :
//
// Copyright (�) 1994-2006 All Rights Reserved, Unauthorized Duplication
// Prohibited
// Program Property of Embarcadero Technologies, Inc.
// *************************************************... |
package com.tyrlib2.util;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import com.tyrlib2.graphics.animation.Animation;
import com.tyrlib2.graphics.animation.AnimationFrame;
import com.tyrlib2.graphics.animatio... |
/** Copyright Payara Services Limited **/
package org.javaee7.servlet.security.clientcert.jce;
import java.io.IOException;
import java.security.Security;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServ... |
package datahub.protobuf.model;
import lombok.Builder;
import lombok.Getter;
import org.jgrapht.graph.DefaultDirectedGraph;
import org.jgrapht.graph.DefaultEdge;
@Builder
@Getter
public class FieldTypeEdge extends DefaultEdge {
@Builder.Default
private final String type = "";
@Builder.Default
private... |
package logic;
import models.Automaton;
import parser.JSONParser;
import parser.XMLParser;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Controller {
private static final List<String> Queries = new ArrayList<>();
private static List<SimpleTransitionSystem> transitio... |
package net.floodlightcontroller.savi.service;
import java.util.List;
import java.util.Set;
import net.floodlightcontroller.core.module.IFloodlightService;
import net.floodlightcontroller.devicemanager.SwitchPort;
import net.floodlightcontroller.savi.action.Action;
import net.floodlightcontroller.savi.binding.Binding... |
/*
* 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 ... |
/*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
/**
* 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... |
/*
* HE_Mesh Frederik Vanhoutte - www.wblut.com
*
* https://github.com/wblut/HE_Mesh
* A Processing/Java library for for creating and manipulating polygonal meshes.
*
* Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
*/
package wblut.geom;
import wblut.math.WB_Epsilon;
import wblut.math.WB_... |
/*******************************************************************************
* Copyright 2019 See AUTHORS file
*
* 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.apac... |
/**
* Copyright Pravega 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 applicable law or agreed to... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license... |
/*
* Copyright (C) 2019 Société Générale.
*
* 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... |
/*******************************************************************************
* Copyright 2019 Fabrizio Pastore, Leonardo Mariani
*
* 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 L... |
/* 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... |
/*
* Copyright 2000-2010 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 com.ruoyi.busi.component.alipay.service.impl.hb;
/**
* Created by liuyangkly on 15/10/27.
*/
public interface TradeListener {
// 支付成功
public void onPayTradeSuccess(String outTradeNo, long beforeCall);
// 支付处理中
public void onPayInProgress(String outTradeNo, long beforeCall);
// 支付失败
... |
package cc.bunnies.pocketsnacks.model;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class CommodityParam {
private int paramId; //主键
private String type; //产品类型
private String productArea; //原料产地
private String productPlace; ... |
package com.github.jshaptic.minimatch;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class Patterns {
public final List<TestPattern> patterns = new ArrayList<>();
public final List<String> files = new ArrayList<>();
public final List... |
/*
* 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 (C) 2018 Raffaele Conforti (www.raffaeleconforti.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... |
/*
* SPDX-License-Identifier: Apache-2.0
*/
package org.ethereum.beacon.discovery.message.handler;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import java.time.Instant;
import java.util.Optional;
import org.apache.logging.log4j.LogManager;
import org.apache.... |
/*
* The MIT License
*
* Copyright 2020 Intuit Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... |
/*
* Copyright 2013-2018 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 org.sunbird.jobs.samza.service;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.samza.config.Config;
i... |
/*
* 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 ma... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
package org.mockserver.socket.tls;
import org.mockserver.configuration.ConfigurationProperties;
import org.mockserver.log.model.LogEntry;
import org.mockserver.logging.MockServerLogger;
import org.mockserver.socket.tls.jdk.JDKKeyAndCertificateFactory;
import org.slf4j.event.Level;
import java.lang.reflect.Constructor... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
// Copyright 2019 Google LLC
//
// 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 writi... |
package seedu.address.model;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Predicate;
import javafx.beans.property.ReadOnlyProperty;
import javafx.collections.ObservableList;
import seedu.address.commons.core.GuiSettings;
import seedu.address.model.beneficiary... |
/*
* Copyright 2016-2021 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 (c) 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package fimEntityResolution;
import il.ac.technion.ie.model.CandidatePairs;
import org.apache.log4j.Logger;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
public class TrueClusters {
private st... |
// 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 me.mos.lnk.packet;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
/**
* 聊天组通讯消息报文定义.
*
* @author 刘飞 E-mail:liufei_it@126.com
*
* @version 1.0.0
* @since 2015年5月30日 下午9:46:53
*/
@XStreamAlias(Alias.GROUP_MESSAGE_NAME)
public cl... |
/*
* Copyright 2020 IBM All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.fabric.client;
import java.util.List;
import java.util.concurrent.TimeUnit;
import com.google.protobuf.InvalidProtocolBufferException;
import io.grpc.CallOptions;
import io.grpc.ManagedChannel;
impor... |
package com.example.uncledrew.videoplayer;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
public class DrawView extends View {
public float cu... |
/*
* Copyright (c) 2004-2014, Willem Cazander
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of condi... |
package org.innovateuk.ifs.application.team.security;
import org.innovateuk.ifs.application.resource.ApplicationCompositeId;
import org.innovateuk.ifs.commons.security.PermissionRule;
import org.innovateuk.ifs.commons.security.PermissionRules;
import org.innovateuk.ifs.security.BasePermissionRules;
import org.innovate... |
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package dev.logchange.core.domain.changelog.model;
import dev.logchange.core.domain.changelog.model.archive.ChangelogArchive;
import dev.logchange.core.domain.changelog.model.version.ChangelogVersion;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import java... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
package io.committed.krill.extraction.pdfbox.interpretation;
import io.committed.krill.extraction.pdfbox.physical.Line;
import io.committed.krill.extraction.pdfbox.physical.TextBlock;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
/**
* A very basic {@lin... |
package com.ray3k.template.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.MathUtils;
... |
package com.atguigu.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;
impo... |
/*
Copyright (c) 2012, Apps4Av Inc. (apps4av.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions an... |
package org.usfirst.frc.team7224.robot.commands;
import edu.wpi.first.wpilibj.command.CommandGroup;
public class AutonomousGrpDriveForward extends CommandGroup {
public AutonomousGrpDriveForward() { // Drives forward
addSequential(new AutonomousCmdTrajectoryFollowerTwoFixFile("driveForward.csv"));
}
... |
/*_############################################################################
_##
_## SNMP4J-Agent 3 - PropertyMOInput.java
_##
_## Copyright (C) 2005-2018 Frank Fock (SNMP4J.org)
_##
_## Licensed under the Apache License, Version 2.0 (the "License");
_## you may not use this file except in c... |
package com.wyjie.mall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wyjie.common.utils.PageUtils;
import com.wyjie.mall.coupon.entity.SeckillSkuRelationEntity;
import java.util.Map;
/**
* 秒杀活动商品关联
*
* @author wyjie
* @email wyjie96@gmail.com
* @date 2020-06-12 22:06:08
... |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.commodity.definition;
/**
* Settlement types for {@code CommodityFutureDefinition}.
*/
public enum SettlementType {
/**
* cash settl... |
package boboPOM.code.basic;
import boboPOM.code.playerside.PlayerSide;
import boboPOM.config.Config;
import boboPOM.net.encoding.BoboMessage;
import javafx.animation.KeyFrame;
import javafx.animation.ParallelTransition;
import javafx.animation.ScaleTransition;
import javafx.animation.Timeline;
import javafx.event.Acti... |
/*
* Copyright 2019 Mitsunori Komatsu (komamitsu)
*
* 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 applicabl... |
/*
* Copyright 2020 StreamThoughts.
*
* 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, Vers... |
/*
* 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 GUI;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author mars
*/
public class Light {
//Status -on(tru... |
package com.docusign.esign.model;
import java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.PowerFormFormDataRecipient;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagge... |
package com.example.coolweather.util;
import android.app.Application;
import android.content.Context;
import org.litepal.LitePalApplication;
/**
* Created by Administrator on 2018/3/26.
*
* 全局 Context 获取类
*/
public class GlobalApplication extends Application {
private static Context context... |
/*
* Copyright 2014-2019 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... |
package net.bombdash.core.api.methods.player.get;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.Data;
import lombok.Value;
import net.bombdash.core.api.models.BanInfo;
import net.bombdash.core.api.models.Particle;
import net.bombdash.core.api.models.PlayerProfile;
import net.b... |
package angeltalk.plus.presentation.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Environment;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.RuntimeEnvironment;
i... |
package mostwanted.domain.dtos;
import com.google.gson.annotations.Expose;
import javax.validation.constraints.NotNull;
public class TownImportDto {
@Expose
private String name;
public TownImportDto() {
}
@NotNull
public String getName() {
return this.name;
}
public void s... |
package com.twist.demo_first;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an... |
package Adventurer.powers;
import Adventurer.util.TextureLoader;
import basemod.interfaces.CloneablePowerInterface;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.megacrit.cardcrawl.actions.common.ApplyPowerAction;
import com.megacrit.cardcrawl.actions.common.Re... |
/*
* Copyright 2002-2007 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... |
/*
* Copyright 2019 Haulmont.
*
* 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... |
package com.orm.model;
import com.orm.SugarRecord;
import com.orm.annotation.Column;
/**
* Created by sibelius on 02/12/15.
*/
public class StringFieldExtendedModelAnnotatedColumn extends SugarRecord {
@Column(name = "anyName")
public String name;
public StringFieldExtendedModelAnnotatedColumn() { }
public St... |
package com.quinn.framework.api.entityflag;
import io.swagger.annotations.ApiModelProperty;
/**
* 可参数配置化标识
*
* @author Qunhua.Liao
* @since 2020-03-28
*/
public interface ParameterAble {
/**
* 获取参数键
*
* @return 参数键
*/
String cacheKey();
/**
* 获取参数值
*
* @return 参... |
/*
* Copyright (C) 2014 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.training.lesson3;
public class NoConstruction {
}
|
/*
* Copyright 2009 Denys Pavlov, Igor Azarnyi
*
* 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 r... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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... |
/*
* Copyright 2012-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 requ... |
package org.yars.communication;
import java.util.Vector;
import java.util.StringTokenizer;
public class YarsClientCom
{
private LowLevelSocketCommunication _socket = null;
private Vector <Sensor> _sensors = null;
private Vector <Motor> _motors = null;
private String ... |
package codingbat.array1;
public class MidThree
{
public static void main(String[] args)
{
}
/**
* Given an array of ints of odd length,
* return a new array length 3 containing
* the elements from the middle of the array.
* The array length will be at least 3.
*
* midThree({1, 2, 3, 4... |
/**
* Copyright (c) 2012-2013, JCabi.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of condition... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.