text stringlengths 7 995k |
|---|
package com.ruoyi.common.core.web.controller;
import java.beans.PropertyEditorSupport;
import java.util.Date;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import com.github.p... |
/*
* Copyright 2012-2017 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 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 ... |
package com.Ejdzyn.Shop.mapper;
import com.Ejdzyn.Shop.dto.CartDto;
import com.Ejdzyn.Shop.dto.ProductDto;
import com.Ejdzyn.Shop.entity.Cart;
import com.Ejdzyn.Shop.entity.Product;
import org.springframework.stereotype.Component;
@Component
public class CartMapper implements Converter<Cart, CartDto> {
@Override... |
package org.multibit.hd.core.utils;
import org.junit.Before;
import org.junit.Test;
import org.multibit.hd.core.config.Configurations;
import org.multibit.hd.core.managers.InstallationManager;
import java.util.Currency;
import java.util.Locale;
import static org.fest.assertions.Assertions.assertThat;
public class C... |
/*
* Copyright 2020 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... |
package org.opentutorials.javatutorials.condition;
public class ConditionDemo {
public static void main(String[] args) {
if (true) {
System.out.println(1);
} else if (true) {
System.out.println(2);
} else {
System.out.println(3);
}
}
} |
/*
* 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... |
/**
* Yobi, Project Hosting SW
*
* Copyright 2013 NAVER Corp.
* http://yobi.io
*
* @author Jungkook Kim
*
* 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... |
package com.hccake.ballcat.common.datascope.test.datarule.config;
import com.hccake.ballcat.common.datascope.DataScope;
import com.hccake.ballcat.common.datascope.test.datarule.datascope.ClassDataScope;
import com.hccake.ballcat.common.datascope.test.datarule.datascope.SchoolDataScope;
import com.hccake.ballcat.common... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 2016 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://www.apach... |
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
/*
* 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"); you ... |
package com.drejkim.androidwearmotionsensors;
/**
* Created by julian on 6/4/15.
*/
public class Contact {
//private variables
int _id;
String _name;
String _phone_number;
// Empty constructor
public Contact(){
}
// constructor
public Contact(int id, String name, String _phone_... |
class Solution {
public List<List<Integer>> combinationSum2(int[] candidates, int target) {
List<List<Integer>> res = new ArrayList<List<Integer>>();
List<Integer> comb = new ArrayList<Integer>();
Arrays.sort(candidates);
backtrack(candidates,res,comb,target,0);
return res;
... |
/*
* Copyright 2019-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package io.guardiankey.keycloak;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.charset.StandardCharsets;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
impor... |
/**
* THIS SOFTWARE IS LICENSED UNDER MIT LICENSE.<br>
* <br>
* Copyright 2019 Andras Berkes [andras.berkes@programmer.net]<br>
* Based on Moleculer Framework for NodeJS [https://moleculer.services].
* <br><br>
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and ... |
package com.lanking.uxb.service.intelligentCorrection.api.impl.listener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONObject;
import com.lanking.cloud.component.m... |
/*
* 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 webl.page.json;
import java.io.*;
import java.util.*;
import webl.page.*;
import webl.page.net.*;
import webl.lang.expr.*;
import webl.util.*;
import javax.json.Json;
import javax.json.stream.*;
public class JSONParser implements ParserInterface {
private String documenturl;
public JSONParser() {
... |
package org.weixin.weixin.menu.service;
import org.weixin.weixin.menu.domain.SelfMenu;
public interface SelfMenuService {
SelfMenu getMenu();
void saveMenu(SelfMenu selfMenu);
} |
/*
* XML Type: time
* Namespace: http://schemas.xmlsoap.org/soap/encoding/
* Java type: org.xmlsoap.schemas.soap.encoding.Time
*
* Automatically generated - do not modify.
*/
package org.xmlsoap.schemas.soap.encoding;
/**
* An XML time(@http://schemas.xmlsoap.org/soap/encoding/).
*
* This is an atomic type ... |
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You may obtain a
* c... |
package de.htwg.blackjack.controller;
import static org.junit.Assert.*;
import org.junit.Test;
import de.htwg.blackjack.controller.impl.BlackJackController;
import de.htwg.blackjack.model.Card;
import de.htwg.blackjack.model.CardStack;
import de.htwg.blackjack.model.Hand;
import de.htwg.blackjack.model.Rules;
import... |
package com.ugcs.gprvisualizer.app.commands;
import com.github.thecoldwine.sigrun.common.ext.SgyFile;
import com.ugcs.gprvisualizer.app.AppContext;
import com.ugcs.gprvisualizer.app.ProgressListener;
import com.ugcs.gprvisualizer.draw.Change;
import com.ugcs.gprvisualizer.gpr.Model;
import com.ugcs.gprvisualizer.math.... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... |
import java.util.ArrayList;
import java.util.Collection;
/*******************************************
* Completez le programme a partir d'ici.
*******************************************/
class OptionVoyage{
private String nom;
private double prix;
public OptionVoyage(String nom, double prix) {
... |
package com.example.simpletodo;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.E... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
package cx.rain.mc.charlieix.block;
import cx.rain.mc.charlieix.CharlieIX;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
public class ModBl... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 查询用户的保单列表
*
* @author auto create
* @since 1.0, 2019-08-26 16:45:34
*/
public class AlipayInsUnderwriteUserPolicyQ... |
/**
* Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.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 required... |
package io.pivotal.cfapp.controller;
import java.util.Collection;
import java.util.Map;
import org.springframework.beans.factory.ListableBeanFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Profile;
import org.springframework.http.ResponseEntity;
im... |
/*
* 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... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.auth.policy;
import java.util.ListIterator;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.... |
import javax.swing.*;
class JTreeTable extends JTable {
class TreeTableCellRenderer extends JTree implements TableCellRenderer {
/**
* Sets the row height of the tree, and forwards the row height to
* the table.
*/
public void setRowHeight(int rowHeight) {
if (rowHeight > 0) {
super.setRowHeight(... |
package org.sklsft.generator.bc.file.command.impl.conf.pom;
import org.sklsft.generator.bc.file.command.impl.templatized.ProjectTemplatizedFileWriteCommand;
import org.sklsft.generator.model.metadata.FileType;
import org.sklsft.generator.model.om.Project;
public class SpringHibernateRichfacesRootPomFileWriteCommand e... |
package dev.iceb.beans;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@... |
package pulse.search.statistics;
import static pulse.properties.NumericProperties.def;
import static pulse.properties.NumericProperties.derive;
import static pulse.properties.NumericProperty.requireType;
import static pulse.properties.NumericPropertyKeyword.CORRELATION_THRESHOLD;
import pulse.properties.NumericProper... |
package com.group_finity.mascot.config;
import com.group_finity.mascot.Main;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.group_finity.mascot.action.Action;
import com.group_finity.mascot.exception.ActionInstantiationException;
impor... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package util;
import org.slf4j.LoggerFactory;
import ch.qos.logback.classic.Logger;
public class Olog {
public static Logger log = (Logger)LoggerFactory.getLogger(Olog.class);
public static Logger test = (Logger)LoggerFactory.getLogger("test");
public static Logger data = (Logger) LoggerFactory.getLogger("... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2018 Red Hat, Inc., and individual 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 Licen... |
package com.millennialmedia.intellibot.psi.ref;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.PsiReference;
import com.millennialmedia.intellibot.psi.dto.ImportType;
import com.millennialmedia.intellibot.psi.element.*;
import org.jetbrains.annotations.NotNull;
import org.... |
package yamahari.ilikewood.block;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;
import net.minecraft.block.LadderBlock;
import yamahari.ilikewood.registry.woodtype.IWoodType;
import yamahari.ilikewood.util.IWooden;
public final class WoodenLadderBlock extends LadderBlock implements IWooden {
... |
package com.dozenx.game.engine.Role.bean.item;
import com.dozenx.game.network.server.bean.PlayerStatus;
/**
* Created by luying on 17/3/5.
*/
public class CommonEquipProperties extends ItemProperties{
Integer headEquip;
Integer bodyEquip;
Integer handEquip;
Integer legEquip;
Integer footEquip;... |
package com.student.practice.done.practiceDP.typeD;
public class BurstingBalloons {
public static void main(String[] args) {
BurstingBalloons app = new BurstingBalloons();
int[] arr = new int[]{3, 1, 5, 8};
Burst[][] burstDP = app.getBurstDP3(arr);
app.getPrintBurstingBalloonsFromB... |
package com.mi.framework.manager;
import com.mi.framework.shiro.web.session.SpringSessionValidationScheduler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.annotation.PreDestroy;
/**... |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to Y... |
package net.minecraft.client.renderer.entity.model;
import net.minecraft.entity.monster.GiantEntity;
public class GiantModel extends AbstractZombieModel<GiantEntity>
{
public GiantModel()
{
this(0.0F, false);
}
public GiantModel(float modelSize, boolean p_i51066_2_)
{
super(modelS... |
/*
* Copyright (c) 2005-2018 Flamingo / Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright no... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
package mekanism.additions.common.recipe;
import java.util.Arrays;
import java.util.List;
import java.util.function.Consumer;
import javax.annotation.ParametersAreNonnullByDefault;
import mekanism.additions.common.AdditionsTags;
import mekanism.additions.common.MekanismAdditions;
import mekanism.additions.common.item.... |
package com.company.repository;
import com.company.entity.Homework;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class HomeworkFileRepo<ID> extends FileRepository<ID, Homework<ID>> {
public HomeworkFileRepo(String filename) {
super(filename);
loadFile();
}... |
package network.discov.component.signatures.manager;
import network.discov.component.signatures.model.SignatureRequest;
import network.discov.component.signatures.Signatures;
import org.jetbrains.annotations.Nullable;
import java.util.HashMap;
import java.util.UUID;
public class RequestManager {
private final Ha... |
package com.yk.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class DigestUtil {
public static String getMD5(byte[] data) throws NoSuchAlgorithmException {
MessageDigest md = MessageDigest.getInstance("MD5");
md.update(data);
byte[] resultBytes = md.digest();
... |
package io.fire.core.common.eventmanager.enums;
public enum Event {
CONNECT,
DISCONNECT,
TIMED_OUT
} |
package com.github.j3t.mvnio.storage;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.util.Base64;
import org.springframework.lang.NonNull;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebFilter;
import org.springframework.web.server.WebFilterChain... |
package qualtrix.responses.V3;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
@Data
@NoArgsConstructor
@RequiredArgsConstructor
public abst... |
package com.ruoyi.system.service.impl;
import com.ruoyi.common.constant.UserConstants;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.SysMenu;
import com.ruoyi.system.domain.SysRole;
import com.ruoyi.system.domain.SysUser;
import com.ruoyi.system.mapper.SysMenuMapper;
import com.ruoyi.system... |
/*
* MIT License
*
* Copyright (c) 2016-2021 EPAM Systems
*
* 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... |
package data;
import org.w3c.dom.Document;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
/**
* @author Vanessa Rosenbaum
* interface of a protocol
*/
public interface Protocol {
int setStartPageNr(Integer startPageNr);
int getStartPageNr();
/**
* sets date of prot... |
package Boundary;
import java.util.*;
import Controller.Database_Controller;
import Controller.InterfaceController;
import Entity.*;
/**
This is the application start up page
@author Zou Zeren
@version 1.0
@since 24-22-2021
*/
public class ApplicationMenu {
/**
* Choice selected by the user
*/
pr... |
package com.tn.wallet.ui.customviews;
import android.content.Context;
import android.text.Layout.Alignment;
import android.text.StaticLayout;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.TextUtils.TruncateAt;
import android.util.AttributeSet;
import android.util.TypedValue;
import ... |
package org.realityforge.webtack.model.tools.processors.merge_docs;
import javax.annotation.Nonnull;
import javax.json.Json;
import org.realityforge.webtack.model.tools.processors.AbstractProcessorTest;
import org.realityforge.webtack.model.tools.spi.Processor;
import org.realityforge.webtack.model.tools.spi.Registry;... |
/**
* Copyright (C) 2014 Stratio (http://stratio.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 required by ap... |
package io.seventytwo.tombola.boundary;
public class PrizeViewModel {
private Integer number;
private String name;
public Integer getNumber() {
return number;
}
public void setNumber(Integer number) {
this.number = number;
}
public String getName() {
return name;... |
package com.github.stephenbaidu.placepicker;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by stephen on 3/1/15.
*/
public class PlaceDetail implements Parcelable {
public String placeId;
public String description;
public Double latitude;
public Double longitude;
public ... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.opentracingshim;
import static io.opentelemetry.opentracingshim.TestUtils.getBaggageMap;
import static org.assertj.core.api.Assertions.assertThat;
import io.opentelemetry.api.common.AttributeKey;
import io.o... |
/*
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.paulliu.zhihudaily.mvp.presenter;
import com.paulliu.zhihudaily.entity.NewsDetailEntity;
import com.paulliu.zhihudaily.entity.NewsExtraEntity;
import com.paulliu.zhihudaily.mvp.interactor.NewsDetailInteractor;
import com.paulliu.zhihudaily.mvp.view.INewsDetailView;
import javax.inject.Inject;
import io.r... |
package com.yo.algorithm.learning.stackqueue.part2;
import java.util.*;
/**
* 双栈排序练习题:
请编写一个程序,按升序对栈进行排序(即最大元素位于栈顶),要求最多只能使用一个额外的栈存放临时数据,但不得将元素复制到别的数据结构中。
给定一个int[] numbers(C++中为vector<int>),其中第一个元素为栈顶,请返回排序后的栈。请注意这是一个栈,意味着排序过程中你只能访问到第一个元素。
测试样例:
[1,2,3,4,5]
返回:[5,4,3,2,1]
* Created by Yo on 2017... |
/*
* Copyright (c) 2008-2021, 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 ... |
/*
* 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 ... |
/**
*
* Problem Statement-
* [Priyanka and Toys](https://www.hackerrank.com/challenges/priyanka-and-toys/problem)
*
*/
import java.util.Arrays;
import java.util.Scanner;
/**
* @author nagasai praveen
*
*/
public class PriyankaAndToys {
static int toys(int[] w) {
Arrays.sort(w);
int containerCouter = 1... |
/**
* Copyright (c) 2013-2021 Nikita Koksharov
*
* 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 2018-2020 adorsys GmbH & Co KG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package leetcode;
/**
* @Description: https://leetcode.com/problems/path-sum/
* @Author idota
* @Date 2019/3/6
*/
public class PathSum {
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public boolean h... |
/**
* 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.logictech.mapper;
import com.logictech.config.CommonMapperConfig;
import com.logictech.entity.po.CityPO;
/**
* @author JG.Hannibal
* @since 2017/11/9 上午9:32
*/
public interface CityMapper extends CommonMapperConfig<CityPO> {
} |
/*
* 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 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 ... |
package com.bjmasc.bfit.chest;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.databinding.DataBindingUtil;
import com.bjmasc.bfit.R;
import com.bjmasc.bfit.base.BaseDialogFragment;
import com.... |
/*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (c... |
/*
* Copyright 2017-2020 original 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 applicable law or agr... |
package nuTinemCuFranta.plai.model;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name="notifications")
public class Notification {
@Id
@GeneratedValue(
strategy= GenerationType.AUTO,
generator="native"
)
... |
package jp.gr.java_conf.kgd.library.cool.jsfml.actor.view;
import jp.gr.java_conf.kgd.library.cool.jsfml.component.IConstDrawState;
public interface IConstCameraViewState
extends IConstViewState, IConstRectangleViewState
{
IConstDrawState getCameraState();
boolean isViewControllLimited();
} |
package com.daedafusion.service.bootstrap;
import org.apache.log4j.Logger;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.asser... |
package net.minecraft.inventory;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import java.util.Random;
public class InventoryHelper {... |
package com.alibaba.alink.pipeline.regression;
import org.apache.flink.ml.api.misc.param.Params;
import com.alibaba.alink.operator.batch.BatchOperator;
import com.alibaba.alink.operator.batch.regression.BertTextRegressorTrainBatchOp;
import com.alibaba.alink.params.classification.TFTableModelClassificationPredictPara... |
/*
* Copyright 2019 AraguaneyBits.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 required by applicable law or agree... |
package com.stylefeng.guns.generator;
import com.baomidou.mybatisplus.generator.AutoGenerator;
import com.baomidou.mybatisplus.generator.InjectionConfig;
import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
import com.baomidou.mybatisplus.generator.config.GlobalConfig;
import com.baomidou.mybatisplus.gen... |
/*
* 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 org.andengine.entity.modifier;
import org.andengine.entity.IEntity;
import org.andengine.util.modifier.ease.EaseLinear;
import org.andengine.util.modifier.ease.IEaseFunction;
/**
* (c) Zynga 2011
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 10:46:10 - 05.10.2011
*/
public class SkewModifie... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.