text stringlengths 7 1.01M |
|---|
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
package com.rarible.core.mongo.configuration;
import com.rarible.core.mongo.converter.BigDecimalCustomMongoConverter;
import com.rarible.core.mongo.converter.BigIntegerCustomMongoConverter;
import com.rarible.core.mongo.converter.CustomConversionsFactory;
import com.rarible.core.mongo.converter.CustomMongoConverter;
i... |
package cn.estore.domain;
import java.io.Serializable;
/**
* 商品类
*
*
*
*/
public class Product implements Serializable {
private String id; // 商品编号
private String name; // 名称
private double price; // 价格
private String category; // 分类
private int pnum; // 数量
private String imgurl; // 图片路径
private Stri... |
package com.github.seratch.jslack.api.model;
import com.github.seratch.jslack.api.model.block.LayoutBlock;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
/**
* https://api.slack.com/docs/message-attachments
*/
public class Attachment {
private String msgS... |
package eu.rambox.factorization;
import net.fabricmc.api.ModInitializer;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Factorization implements ModInitializer {
public static final Logger LOGGER = LogManager.getLogger("facto... |
/*
* 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 pregel;
/**
* Global state.
*
* INITIALIZED ---> LOADED ---> CLEANED ---> COMPUTED
* ^ |
* | |
* ------------
*/
public enum State {
INITIALIZED, // the master is just created.
LOADED, // workers loaded data.
CLEANED, // workers did clean up before compute.
COMPUTED // workers finished ... |
/*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... |
package net.minecraft.client.particle;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.entity.Entity;
import net.minecraft.util.math.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.C... |
package com.classicmodels.jooq.config;
import org.jooq.codegen.GenerationTool;
import org.jooq.meta.jaxb.Configuration;
import org.jooq.meta.jaxb.Database;
import org.jooq.meta.jaxb.Generate;
import org.jooq.meta.jaxb.Generator;
import org.jooq.meta.jaxb.Jdbc;
import org.jooq.meta.jaxb.MatcherRule;
import org.jooq.met... |
package rs.ac.bg.matf.oop_p.p1908.poluLenjoPovezivanje;
public class JavaFXBeanMainExample
{
public static void main(String[] args)
{
JavaFXBeanModelExample model = new JavaFXBeanModelExample();
JavaFXBeanViewExample view = new JavaFXBeanViewExample(model);
JavaFXBeanControllerExample controller = new ... |
package services.applicant;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.Locale;
import java.util.regex.Pattern;
/**
* Represents a US currency amount.
*
* <p>Accepts various string formats with a required dollars value with no leading 0, unless t... |
package tictactoe.game.engine;
public interface GameState {
String value();
}
|
package com.ysyesilyurt.Rest;
import com.ysyesilyurt.Exception.PotentialPlaylistRuntimeException;
import com.ysyesilyurt.Exception.ResourceNotFoundException;
import com.ysyesilyurt.Rest.Response.RestApiResponseBodyBuilder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;... |
package controladores;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class consultarSala
*... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
import java.util.Stack;
public class LowerCase {
public static String toLowerCase(String str) {
Stack<Character> stack = new Stack<>();
StringBuilder stringBuilder = new StringBuilder();
for (int i = 0; i < str.length(); i++) {
if(str.charAt(i) >= 65 && str.charAt(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 may ... |
import java.util.ArrayList;
public class Deck extends Stack{
private ArrayList<Card> deck;
Deck(){
deck = new ArrayList<>();
}
public ArrayList<Card> getDeck() {
return deck;
}
public void addCardToDeck(Card card){
deck.add(card);
}
//take a card from the d... |
package com.cxxy.eta8.model;
import com.cxxy.eta8.model.base.BaseSysUrlRole;
/**
* Generated by JFinal.
*/
@SuppressWarnings("serial")
public class SysUrlRole extends BaseSysUrlRole<SysUrlRole> {
public static final SysUrlRole dao = new SysUrlRole().dao();
}
|
/*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Java Endpoints Module" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints
*/
package com.udacity.gradle.backend;
import com.googl... |
/*
* Copyright 2012, Moshe Waisberg
*
* 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... |
package com.rodrigofujioka.dev.web.repository;
import com.rodrigofujioka.dev.web.domain.Disciplina;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestEntityManager;
import org.springframework.boo... |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.util.timeseries.fudge;
import org.fudgemsg.mapping.FudgeBuilderFor;
import com.opengamma.util.timeseries.DateTimeConverter;
import com.opengamma.util.timeseri... |
/**
*
*/
package com.example.rest.security;
import static com.example.util.Constant.AUTH_HEADER;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequ... |
package com.example.lambda;
import java.time.LocalDate;
import java.util.List;
import java.util.function.Supplier;
/**
*
* @author oracle
*/
public class SupplierTest {
public static void main(String[] args) {
List<Employee> eList = Employee.createShortList();
Employee first = eList.get(0);
... |
package com.cannolicatfish.rankine.util.elements;
import com.cannolicatfish.rankine.util.PeriodicTableUtils;
import net.minecraft.enchantment.Enchantment;
public class PlatinumElement implements ElementInterface{
@Override
public PeriodicTableUtils.Element getReference() {
return PeriodicTableUtils.El... |
// Copyright 2016 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... |
package com.example.instagramclone.fragments;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.swiperefres... |
package src.assignment.entity;
import java.util.*;
import java.lang.*;
public interface InterfaceScore {
public int getScore();
public void setScore(int score);
public void incrementScore();
} |
package fundamentals;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class FlipListSides {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String firstNumsInput = scan.nextLine();
String[] firstNumsInputToArr = fi... |
// Copyright (c) 2002 Graz University of Technology. 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
// l... |
package ui.models;
import javafx.beans.property.*;
public class StudentWithAVG implements Comparable<StudentWithAVG> {
private IntegerProperty id;
private ObjectProperty<Diploma> diploma;
private SimpleDoubleProperty avg;
private LongProperty numberOfFive;
private LongProperty numberOfFour;
pr... |
/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* 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 requir... |
/*
* MIT License
*
* Copyright (c) 2021 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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.test;
import com.yahoo.document.Document;
import com.yahoo.document.DocumentId;
import com.yahoo.document.DocumentPut;
import com.yahoo.document.DocumentRemove;
import co... |
import com.mongodb.MongoClient;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import java.rmi.*;
import java.rmi.registry.*;
import java.rmi.server.*;
import java.util.ArrayList;
import static java.lang.System.*;
public class PhoneBookServerImpl extends UnicastRemoteObject implements PhoneBookSer... |
/*
* Copyright (c) 2008-2016, Hazelcast, Inc. 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 ... |
/*
* Copyright 2016 Elvis Hew
*
* 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... |
/*
* 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")... |
package org.mimosaframework.orm.platform.postgresql;
import org.mimosaframework.core.utils.StringTools;
import org.mimosaframework.orm.mapping.MappingGlobalWrapper;
import org.mimosaframework.orm.platform.ExecuteImmediate;
import org.mimosaframework.orm.platform.PlatformStampShare;
import org.mimosaframework.orm.sql.s... |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: koubei.catering.merchant.tmall.sync response.
*
* @author auto create
* @since 1.0, 2020-11-26 21:10:13
*/
public class KoubeiCateringMerchantTmallSyncResponse extends AlipayResponse {
private static final l... |
/*
* The MIT License
*
* Copyright 2015 Konrad Nowakowski https://github.com/konrad92.
*
* 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 limitati... |
/*
* Copyright 2010-2011 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 "l... |
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.core.module;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.terasology.gestalt.module.Module;
import org.terasology.gestalt.module.ModuleFactory;
import org.terasology... |
package io.github.intellij.dlanguage.module;
import com.intellij.ide.util.projectWizard.ModuleBuilder;
import com.intellij.ide.util.projectWizard.ModuleWizardStep;
import com.intellij.ide.util.projectWizard.ProjectBuilder;
import com.intellij.ide.util.projectWizard.WizardContext;
import com.intellij.openapi.options.Co... |
package no.rustelefonen.hap.main.tabs.trigger;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
i... |
package com.noleme.crawl;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.noleme.crawl.data.Page;
import com.noleme.crawl.etl.PageLinkExtractor;
import com.noleme.crawl.etl.PageLoader;
import com.noleme.flow.Flow;
import com.noleme.flow.FlowOut;
import com.noleme.flow.compiler.FlowCompiler;
import co... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.07.28 at 05:34:4... |
import java.util.Scanner;
public class GameManager {
Scanner myScanner = new Scanner(System.in);
private void chooseGame() {
int gameNumber;
System.out.println("\nWelcome to Greg's game room");
System.out.println("Choose a game:");
System.out.println("1. Hangman");
Syst... |
package org.swtk.commons.dict.wordnet.indexbyid.instance.p1.p3; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexIdInstance1... |
package com.o19s.solr.swan;
/**
* Copyright 2012 OpenSource Connections, 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
*
* ... |
package com.suda.jzapp.manager.domain;
import java.util.Calendar;
import java.util.Date;
/**
* Created by suda on 2016/8/13.
*/
public class MyDate {
private int year;
private int month;
private int day;
public MyDate(int year, int month, int day) {
this.year = year;
this.month = 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 ... |
package com.termux.shared.crash;
import android.content.Context;
import androidx.annotation.NonNull;
import com.termux.shared.file.FileUtils;
import com.termux.shared.logger.Logger;
import com.termux.shared.markdown.MarkdownUtils;
import com.termux.shared.errors.Error;
import com.termux.shared.android.AndroidUtils;
... |
/**
* Copyright (c) 2015-2016, Chill Zhuang 庄骞 (smallchill@163.com).
*
* 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 re... |
package ru.job4j.jchess;
public class OccupiedWayException extends Exception {
}
|
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright 2017 Danish Maritime Authority.
*
* 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 ... |
package com.jkds.dialog.util;
import android.graphics.drawable.Drawable;
/**
* Author: @Kongzue
* Github: https://github.com/kongzue/
* Homepage: http://kongzue.com/
* Mail: myzcxhh@live.cn
* CreateTime: 2019/3/22 16:03
*/
public class DialogSettings {
public enum STYLE {
STYLE_MATERIAL, STYLE_... |
package com.tinmegali.getlocation;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest(... |
package com.gulimail.gulimail.order.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.ann... |
/* 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
* distribut... |
package my.own.pkg;
import static abc.def;
import static abc.def.Another;
import static abc.def.Something;
import static java.utils.*;
import static something.Different;
import abc.def;
import abc.def.Another;
import abc.def.Something;
import java.utils.*;
import one.last;
import something.Different;
public class Pa... |
/*-
* ============LICENSE_START=======================================================
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* =============================================================... |
/*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except ... |
package com.team1458.turtleshell2.implementations.input;
import com.team1458.turtleshell2.interfaces.input.InputMapping;
import static com.team1458.turtleshell2.implementations.input.InputManager.InputDevice.FLIGHT_STICK;
import static com.team1458.turtleshell2.implementations.input.InputManager.InputDevice.XBOX_CONT... |
package top.panll.assist.utils;
import java.util.ArrayList;
import java.util.List;
public class PageInfo<T> {
//当前页
private int pageNum;
//每页的数量
private int pageSize;
//当前页的数量
private int size;
//总页数
private int pages;
//总数
private int total;
private List<T> resultData;
... |
package jforgame.server.game.skill.message;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import jforgame.server.game.Modules;
import jforgame.server.game.skill.SkillDataPool;
import jforgame.socket.annotation.MessageMeta;
import jforgame.socket.message.Message;
@MessageMeta(module=Modules.SKILL, cmd=Sk... |
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package com.almasb.fxgl.physics.box2d.dynamics;
import com.almasb.fxgl.core.math.Vec2;
import com.almasb.fxgl.physics.HitBox;
import com.almasb.fxgl.physics.box2d.collision.AABB;
impo... |
package com.amsidh.mvc.handler;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.server.HandlerFunction;
import org.springframework.web.reactive.function.server.ServerResponse;
import com.amsidh.mvc.document.Album;
import com.amsidh.mvc.service.AlbumService;
import lo... |
/*
* Copyright 2010-2019 Boxfuse GmbH
*
* 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 ... |
package com.znmall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.znmall.common.utils.PageUtils;
import com.znmall.order.entity.OrderOperateHistoryEntity;
import java.util.Map;
/**
* 订单操作历史记录
*
* @author qingzhe
* @email liqingzhe86@gmail.com
* @date 2020-08-08 09:32:58
*... |
/*
* 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
* distribut... |
package dev.xdark.ssvm;
import dev.xdark.ssvm.mirror.InstanceJavaClass;
import dev.xdark.ssvm.mirror.JavaClass;
import dev.xdark.ssvm.mirror.JavaField;
import dev.xdark.ssvm.mirror.JavaMethod;
import dev.xdark.ssvm.symbol.VMSymbols;
import dev.xdark.ssvm.util.VMHelper;
import java.util.ArrayDeque;
import java.util.Ar... |
package com.feiyue.entiy;
// 大小写
public class AdviseTypeBean {
private String adviseTypeId, adviseTypeName, extent;
public AdviseTypeBean() {
super();
}
public AdviseTypeBean(String adviseTypeId, String adviseTypeName,
String extent) {
super();
this.adviseTypeId = adviseTypeId;
this.ad... |
/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon/APIJSON)
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... |
/**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
*
* 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
*
* Unle... |
/**
* Copyright 2006 StartNet s.r.o.
*
* Distributed under MIT license
*/
package cz.startnet.utils.pgdiff.schema;
import java.util.Locale;
/**
* Utilities for {@link PgColumn}.
*
* @author fordfrog
*/
public class PgColumnUtils {
/**
* Returns default value for given column type. If no default valu... |
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class FrameworkNameReducerTest {
private FrameworkNameReducer uut;
@Before
public void init() {
uut = new FrameworkNameReducer();
}
@Test
public void parseStringWithPrefixCorrectly() {
// Given
... |
/*
* Copyright 2020-2021 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 com.lcmf.mmgo;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.sip.SipSession;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.animation.Animation;
import androi... |
package com.atguigu.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;
import java.util.Map;
/**
* spu信息
*
* @author Vegedog
* @email vegedog@qq.com
* @date 2020-05-21 22:16:59... |
package chaosnetworkz.java.samples.soccermanager;
public interface Freundschaftsspiel {
String getHeimMannschaft();
String getGastMannschaft();
int getHeimPunkte();
int getGastPunkte();
String getErgebnisText();
}
|
package com.ifknow.controller;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UnknownAccountException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.apache.... |
//
// ========================================================================
// Copyright (c) 1995-2012 Sabre Holdings.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Ecli... |
package com.mapzen.android.lost.internal;
import com.mapzen.android.lost.BaseRobolectricTest;
import com.mapzen.android.lost.api.LocationAvailability;
import com.mapzen.android.lost.api.LocationCallback;
import com.mapzen.android.lost.api.LocationRequest;
import com.mapzen.android.lost.api.LocationResult;
import com.m... |
package com.wenguang.chat.event;
/**
* 作者:chenpan
* 时间:2016/11/30 11:12
* 邮箱:616707902@qq.com
* 描述:
*/
public interface CallBackBmob<T> {
void succssCallBack(T jsonArray);
void failed(String e);
}
|
package jforgame.server.game.activity;
import jforgame.server.game.database.user.PlayerEnt;
import jforgame.socket.message.Message;
public interface IActivityHandler {
void load();
Message openPanel(PlayerEnt player);
void receiveRewards(PlayerEnt player);
ActivityTypes getActivityType();
Activity getA... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
/**
* Copyright 2016-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/*
* Copyright (C) 2008 ZXing 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 agr... |
package com.softplan.apigerenciarprocessos.modules.processos.infra.http.controllers;
import java.util.List;
import com.softplan.apigerenciarprocessos.modules.processos.entities.Processo;
import com.softplan.apigerenciarprocessos.modules.processos.services.CriarProcessoService;
import com.softplan.apigerenciarprocesso... |
/*
* 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 not ... |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... |
/**
* This package contains a Java implementation of the
* esregex AST format.
*
* <p>
* The root of the AST class hierarchy is {@link com.semmle.js.ast.regexp.RegExpTerm}, which in
* turn extends {@link com.semmle.js.ast.SourceElement}.
* </p>
*
* <p>
* Nodes accept visitors implementing interface {@link com... |
package ru.sbtqa.tag.api.entries.parameters;
import ru.sbtqa.tag.api.EndpointEntry;
import ru.sbtqa.tag.api.Rest;
import ru.sbtqa.tag.api.annotation.Cookie;
import ru.sbtqa.tag.api.annotation.Endpoint;
import ru.sbtqa.tag.api.annotation.Validation;
import ru.sbtqa.tag.api.utils.Default;
import static org.hamcrest.Mat... |
package org.tron.trident.abi.datatypes.generated;
import java.math.BigInteger;
import org.tron.trident.abi.datatypes.Uint;
/**
* Auto generated code.
* <p><strong>Do not modifiy!</strong>
* <p>Please use org.tron.trident.codegen.AbiTypesGenerator in the
* <a href="https://github.com/web3j/web3j/tree/master/codege... |
package com.example.configservice;
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
public class ConfigServiceApplicationTests {
@Test
public... |
import java.util.*;
class Sangram{
static boolean[] prime=new boolean[10001];
static int ans[]=new int[10001];//count array
public static void make(){
/*prime calculation*/
int len=prime.length;
for(int i=0;i<len;i++){
prime[i]=true;
}
for(int i=2;i<pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.