text stringlengths 7 1.01M |
|---|
/**
* Copyright 2009-2018 PrimeTek.
*
* 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 ... |
package org.hisp.dhis.period;
/*
* Copyright (c) 2004-2019, University of Oslo
* 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 copyrig... |
package im.amomo.volley;
import com.android.volley.AuthFailureError;
import com.android.volley.Request;
import com.squareup.okhttp.Response;
import java.io.IOException;
import java.util.Map;
/**
* Created by GoogolMo on 6/4/14.
*/
public interface OkStack {
Response performRequest(Request<?> request, Map<Strin... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.02.19... |
package ysomap.common.util;
import org.jline.utils.AttributedStringBuilder;
import org.jline.utils.AttributedStyle;
/**
* @author wh1t3P1g
* @since 2020/2/19
*/
public class ColorStyle {
public static String makeWordRed(String word){
return new AttributedStringBuilder()
.style(Attribut... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
package crc643f46942d9dd1fff9;
public class EndSnapHelper
extends crc643f46942d9dd1fff9.EdgeSnapHelper
implements
mono.android.IGCUserPeer
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_calculateDistanceToFinalSnap:(Landroid/support/v7/widget/RecyclerView$LayoutManager;... |
package uk.ac.imperial.doc.masspa.gui.menus;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JMenuItem;
import javax.swing.JSeparator;
import javax.swing.JTabbedPane;
import uk.ac.imperial.doc.masspa.gui.MASSPAEditorMain;
import uk.ac.imperial.doc.masspa.gui.interfaces.ITa... |
package com.wang.mall.front.dto;
import com.wang.mall.model.SmsFlashPromotionSession;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
/**
* @author 王念
* @create 2020-02-20 20:45
*/
public class SmsFlashPromotionWithProduct extends SmsFlashPromotionSession {
private static final long serial... |
/*
* 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 com.acidmanic.commandline.commands;
import com.acidmanic.commandline.commands.context.ExecutionContext;
import com.aci... |
package org.upv.satrd.fic2.fe.db;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.log4j.Logger;
... |
/**
* Copyright 2017 Confluent Inc.
*
* 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 ... |
package com.example.mecolweather;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Androi... |
package com.hourlyweather.forecast;
import java.io.Serializable;
import java.util.HashMap;
public class ForecastHour implements Serializable {
private static final long serialVersionUID = 1L;
private Double temp;
private Double precipitation, windSpeed;
private String symbol;
private Boolean isSunUp;... |
package misc.utils;
import java.util.Stack;
public final class ExpressionEvaluator {
private ExpressionEvaluator() {
}
public static int evaluate(String expression) {
char[] tokens = expression.toCharArray();
Stack<Integer> values = new Stack<>();
Stack<Character> operators = new... |
package com.niluogege.server.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.niluogege.server.pojo.PoliticsStatus;
/**
* <p>
* 服务类
* </p>
*
* @author niluogege
* @since 2021-10-29
*/
public interface IPoliticsStatusService extends IService<PoliticsStatus> {
}
|
package info.archinnov.achilles.table;
import java.util.List;
import com.datastax.driver.core.ColumnMetadata;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.TableMetadata;
import com.google.common.collect.ComparisonChain;
public class CQLColumnMetaDataComparator {
public boolean isEqua... |
package com.x1ma.spawnerupgrade.common.items;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
public class ItemBasic extends Item
{
public ItemBasic(String name)
{
this.setUnlocalizedName(name);
this.setRegistryName(name);
this.setCreativeTab(CreativeTabs.MATERIALS);
}
}
|
/*
*
* 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 "Licens... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.customize;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.actions.CreateLauncherScriptAction;
import com.intellij.idea.ActionsBundle;
import ... |
package com.example.tuanpd.myapplication;
import java.util.Timer;
import java.util.TimerTask;
public class LocationTimer {
private Timer mTimer;
private TimerTask mTask = new TimerTask() {
@Override
public void run() {
//
}
};
public void cancel() {
if (m... |
/**
* 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... |
/*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/li... |
/*
* 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 com.google.ads.googleads.v6.services;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.... |
/**
* 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.github.tosdan.utils.varie;
import org.apache.commons.io.FilenameUtils;
/**
*
* @author Daniele
*
*/
public class FilenameTools {
/**
* Restituisce il nome del file con una stringa casuale alfanumerica di 9 caratteri inserita dopo il nome
* file passato come parametro.
* Es: <b>he... |
package com.hudson.donglingmusic.service.playState;
import com.hudson.donglingmusic.R;
import com.hudson.donglingmusic.service.playState.shuffle.ShuffleState;
/**
* Created by Hudson on 2020/3/13.
*/
public class LoopListState extends BaseState {
public LoopListState() {
super(R.drawable.play_mode_loope... |
package com.dreamwagon.vclouds;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
... |
/*
* Copyright (c) 2005, 2013, 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 ... |
/*
* @(#)ColorTableCellEditor.java
* CubeTwister. Copyright © 2020 Werner Randelshofer, Switzerland. MIT License.
*/
package ch.randelshofer.gui.table;
import ch.randelshofer.gui.Colors;
import ch.randelshofer.gui.PolygonIcon;
import org.jhotdraw.annotation.Nonnull;
import org.jhotdraw.annotation.Nullable;
import... |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.open.app.silan.luckyeight.query response.
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
public class AlipayOpenAppSilanLuckyeightQueryResponse extends AlipayResponse {
private static fi... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.components;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.extensions.RequiredElement;
import com.intellij.u... |
package io.codekvast.javaagent.codebase;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import io.codekvast.javaagent.config.AgentConfig;
import io.codekvast.javaagent.config.Age... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.dvinfosys.widgets.Animation;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.annotation.ColorInt;
import android.support.annotation.DrawableRes;
import a... |
package dominio;
public class Motorista extends Cobrador {
private String registroCnh;
private String categoriaCnh;
public String getRegistroCnh() {
return registroCnh;
}
public void setRegistroCnh(String registroCnh) {
this.registroCnh = registroCnh;
}
public String getCategoriaCnh() {
ret... |
/*
* Created on February 8, 2007
*/
package com.ibm.ftt.api.samples.resources;
//=========================================================================
//
// Licensed Material - Property of IBM
//
// Copyright IBM Corp. 2007 All Rights Reserved.
//
// US Government Users Restricted Rights - Use, dupli... |
// Copyright 2017 The Bazel Authors. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
/* Copyright 2004-2019 Jim Voris
*
* 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 o... |
/*
* 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... |
/*
* Aipo is a groupware program developed by Aimluck,Inc.
* Copyright (C) 2004-2011 Aimluck,Inc.
* http://www.aipo.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eit... |
package com.ray3k.skincomposer.dialog.scenecomposer.undoables;
import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposer;
import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposerModel;
public class CheckBoxCheckedUndoable implements SceneComposerUndoable {
private DialogSceneComposerMod... |
package com.leeue.mapper;
import com.leeue.api.entity.StockEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
public interface StockMapper {
@Select("SELECT id as id ,commodity_id as commodityId, stock as stock from stock... |
package com.softsquared.template.src.main.Home;
import com.softsquared.template.src.main.Home.interfaces.HomeFragView;
import com.softsquared.template.src.main.Home.interfaces.HomeRetrofitInterface;
import com.softsquared.template.src.main.Home.models.FragHomeResponse;
import com.softsquared.template.src.main.Home.mod... |
package mil.nga.giat.mage.sdk.http.converter;
import java.io.IOException;
import java.util.List;
import mil.nga.giat.mage.sdk.datastore.location.Location;
import mil.nga.giat.mage.sdk.datastore.user.Event;
import mil.nga.giat.mage.sdk.jackson.deserializer.LocationDeserializer;
import okhttp3.ResponseBody;
import retr... |
package upstart.b4.incremental;
import upstart.util.collect.PairStream;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.Path;
import java.util.function.Function;
import java.util.stream.Stream;
public interface BuildDependency {
static BuildDependency structural(BuildSources s... |
package mage.cards.d;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common... |
/*
* 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 ... |
/*
* 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")... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.faste... |
////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2015 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... |
package com.adobe.phonegap.push;
import android.app.NotificationManager;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import com.google.android.gms.gcm.GcmPubSub;
import com.google.android.gms.iid.InstanceID;
import org.apache.cordova.Ca... |
/*
* Copyright 2013 LinkedIn Corp.
*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.network;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** T... |
package com.handmobile.cordova.hotpatch;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import j... |
/**
* Copyright (C) 2016 Red Hat, Inc.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable la... |
/**
* Copyright © 2016-2018 The Thingsboard Authors
* Modifications © 2017-2018 Hashmap, Inc
*
* 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/LIC... |
package uk.gov.dft.bluebadge.service.badgemanagement.converter;
import static uk.gov.dft.bluebadge.service.badgemanagement.BadgeTestFixture.getValidOrgBadgeEntity;
import static uk.gov.dft.bluebadge.service.badgemanagement.BadgeTestFixture.getValidPersonBadgeEntity;
import org.junit.Assert;
import org.junit.Test;
imp... |
package fr.uem.efluid.generation;
import fr.uem.efluid.model.*;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* <p>
* Holder of content for a generated dictionary,
* extracted from package def, annotation and all rules for API generation
* </p>
... |
/****************************************************************
* 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: table.proto
package org.cddb.lsmt.internal;
public final class TableSerializer {
private TableSerializer() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void regis... |
package entities.enemies;
import entities.Entity;
import world.World;
public abstract class Enemy extends Entity{
public Enemy(int height, int width, int chunkNo, float posX, float posY) {
super(height, width, chunkNo, posX, posY);
}
@Override
public void onDestruction() {
World.world.get(getChunkNo()).getE... |
package com.zou.gulimall.product;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 整合Mybatis-Plus
* 1. 导入依赖
* 2. 配置
* 1. 配置数据源
* 1. 导入Mysql驱动依赖
* 2. 在yml中配置数据源信息
... |
package ch.endte.syncmatica.mixin;
import net.minecraft.network.PacketByteBuf;
import net.minecraft.network.packet.c2s.play.CustomPayloadC2SPacket;
import net.minecraft.util.Identifier;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
@Mixin(CustomPayloadC2SPacket.class)
publ... |
package projects.sample3.nodes.timers;
import lombok.Getter;
import lombok.Setter;
import projects.sample3.nodes.messages.SmsMessage;
import projects.sample3.nodes.nodeImplementations.Antenna;
import projects.sample3.nodes.nodeImplementations.MobileNode;
import sinalgo.nodes.Node;
import sinalgo.nodes.timers.Timer;
@... |
package org.myrobotlab.service;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.ServiceType;
import org.myrobotlab.logging.Level;
import or... |
package io.greenscape.gconfigd.model.impl;
import io.greenscape.gconfigd.model.User;
public class UserImpl implements User {
public Long getId() {
return 1L;
}
public String getName() {
return "Default";
}
@Override
public String toString() {
return "User [id=" + getId() + ", name=" + getName() + "]";
... |
package uk.gov.companieshouse.efs.web.formtemplates.service.api;
import uk.gov.companieshouse.api.InternalApiClient;
import uk.gov.companieshouse.api.model.ApiResponse;
import uk.gov.companieshouse.api.model.efs.formtemplates.FormTemplateApi;
import uk.gov.companieshouse.api.model.efs.formtemplates.FormTemplateListApi... |
public class Context implements Strategy{
private Strategy _s;
public Context(Strategy s){
_s = s;
}
public int doOperation(int a,int b){
return _s.doOperation(a,b);
}
} |
// Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved
// 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... |
/*
* 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 netty;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.string.StringEncoder;
import java.util.Date;
public class... |
/*
* Copyright 2011 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 applica... |
/**
*
*/
package com.kant.datastructure.binarytrees;
import java.util.LinkedList;
import java.util.Stack;
/**
* @author shaskant
*
*/
public abstract class BinaryTree<T> {
protected TreeNode<T> root;
/**
*
*/
public BinaryTree() {
this(null);
}
/**
* start with a different... |
package uk.nhs.adaptors.pss.translator.task;
import static java.util.UUID.randomUUID;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.verify;
import static org.mockito.Mo... |
/*
* 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 ... |
/**
* 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"); yo... |
package cc.youchain.protocol.core.methods.response;
import cc.youchain.protocol.ObjectMapperFactory;
import cc.youchain.protocol.core.Response;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.j... |
package com.kotyj.com.model;
import java.io.Serializable;
/**
* @author: lilingfei
* @description:
* @date: 2019/5/9
*/
public class ProvinceModel implements Serializable {
private String proId;
private String province;
private String cityId;
private String city;
public String getProId() {
... |
/*******************************************************************************
* Copyright [2015] [Onboard team of SERC, Peking University]
*
* 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... |
package com.example.myallonesolution;
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
publi... |
/*
* Copyright (c) 2021, The UAPKI Project Authors.
*
* 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 conditions ... |
package com.burst.sdk.struct.hw;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* <i>native declaration : D:\HWPuSDK.h</i><br>
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
*... |
/*
* 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 daggerok;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class Reac... |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
package com.femto.ugershop.fragment;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.http.Header;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.femto.ugers... |
package com.prowidesoftware.swift.model.mx;
import com.prowidesoftware.swift.model.mx.dic.*;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annot... |
/*******************************************************************************
*
* Copyright 2015 Walmart, Inc.
*
* 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
*
* ... |
/*
* Copyright 2002-2015 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 ShopApp;
import java.util.ArrayList;
/**
*
* @author Dale Morrell
*
* This class models the customer's purchased products
*
*/
public class PurchaseHistory
{
private ArrayList<Product> purchasedProducts = new ArrayList<Product>();
/**
*
* @param purchasedProducts = An ArrayList for Product ... |
/*
* Copyright 2013 - 2018 Anton Tananaev (anton@traccar.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 b... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qua... |
/*
* Copyright 2019 ConsenSys AG.
*
* 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 wr... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Joint Research Centre (JRC) 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 copy... |
/*
* 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 diy.uigeneric.data;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import android.util.Log;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import diy.restlite.HttpRestLite;
... |
package com.haozi.id.generator.core.util;
import lombok.extern.slf4j.Slf4j;
import java.net.NetworkInterface;
import java.security.SecureRandom;
import java.time.Instant;
import java.util.Enumeration;
/**
* Snowflake算法
*
* @author haozi
* @date 2019-12-1819:14
*/
@Slf4j
public class Snowflake {
private sta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.