text
stringlengths
7
995k
package duelistmod.templates; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.localization.CardStrings; import com.megacrit.cardcrawl.monsters.AbstractMonster; import duelistmod.*...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/******************************************************************************* * Copyright 2014 Open Networking Laboratory * * 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:...
package io.whz.synapse.component; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.Snackbar; import...
package com.faxi.cloudmall.coupon.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; i...
package com.fnaf.Common.Entity.WitheredFreddy; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIAttackOnCollide; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob;...
package es.fpdual.primero.eadmin.servicio; import java.util.List; import es.fpdual.primero.eadmin.modelo.Expediente; public interface ServicioExpediente { Expediente altaExpediente(Expediente expediente); Expediente modificarExpediente(Expediente expediente); void eliminarExpediente(int codigoExpediente); List<E...
package module820packageJava0; import java.lang.Integer; public class Foo270 { Integer int0; Integer int1; Integer int2; public void foo0() { new module820packageJava0.Foo269().foo9(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2()...
package io.agora.api.example.examples.advanced; import android.content.Context; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.opengl.EGLSurface; import android.opengl.GLES11Ext; import android.opengl.GLES20; import android.opengl.Matrix; import android.os.Bundle; import android...
package cn.lastwhisper.jvm.tmp2.gui.arthas; import java.util.ArrayList; import java.util.Random; /** * -Xms600m -Xmx600m -XX:SurvivorRatio=8 * @author shkstart shkstart@126.com * @create 2020 21:12 */ public class OOMTest { public static void main(String[] args) { ArrayList<Picture> list = new Array...
/* * Copyright 2008 Nicolas Cochard * 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...
package uk.ac.ebi.pride.toolsuite.gui.utils; import javax.swing.*; /** * @author ypriverol * @author rwang */ public class SortOrderUtils { /** * Convenience to check if the order is sorted. * @return false if unsorted, true for ascending/descending. */ public static boolean isSorted(SortOr...
class Solution { public List<Integer> XXX(TreeNode root) { List<Integer> result = new ArrayList<>(); LinkedList<TreeNode> stack = new LinkedList<>(); TreeNode p = root; while(p != null || !stack.isEmpty()){ if(p != null){ stack.push(p); p =...
package com.beanu.l3_shoppingcart.adapter; import android.content.Context; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.beanu.l3...
package com.mycompany; import io.dropwizard.Application; import io.dropwizard.setup.Bootstrap; import io.dropwizard.setup.Environment; public class HelloWorldApplication extends Application<HelloWorldConfiguration> { public static void main(String[] args) throws Exception { new HelloWorldApplication().run...
/* * This class is distributed as part of the Botania Mod. * Get the Source Code in github: * https://github.com/Vazkii/Botania * * Botania is Open Source and distributed under the * Botania License: http://botaniamod.net/license.php */ package vazkii.botania.fabric.mixin; import net.minecraft.world.item.Item; ...
package net.alkalus.core.util; import java.awt.Color; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutput; import java.io.ObjectOutputStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.text....
/* * 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) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.facebook; public final class R { public static final class anim { public static int abc_fade_in=0x7f040000; ...
/** * Práctica 3 del curso de Introducción a Ciencias de la Computación. * @author Joel Miguel Maya Castrejón 417112602 * @version 26/Octubre/2021. * @since Laboratorio de Introducción a Ciencias de la Computación 2022-1. */ package icc; import java.util.Random; import java.util.Scanner; import icc.colors.Colors; ...
package by.bestwork.util; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.PropertySource; import org.springframework.core.io.ClassPathResource; import org.springframework.stereotype.Component; import java.io.IOException; import java.io.InputStream; @Component ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2021.08.09 ...
/* ******************************************* // Copyright 2010-2013, Anthony Hand // // File version 2013.08.01 (August 1, 2013) // Updates: // - Updated DetectMobileQuick(). Moved the 'Exclude Tablets' logic to the top of the method to fix a logic bug. // // File version 2013.07.13 (July 13, 2013) // ...
package uk.gov.hmcts.reform.divorce.orchestration.workflows; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.tuple.ImmutablePair; import org.springframework.stereotype.Component; import uk.gov.hmcts.reform.divorce.orchestration.domain.model.Features; import uk.g...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html */ package org.hibernate.metamodel.model.domain.spi; import java.util.Map; import javax.p...
package com.commit451.commitspiration; 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 model; // TODO: Auto-generated Javadoc /** * The Class JavaBeans. */ public class JavaBeans { /** The idcon. */ private String idcon; /** The nome. */ private String nome; /** The fone. */ private String fone; /** The email. */ private String email; /** * Instantiates a new java beans. ...
package com.macro.mall.mallwechat.service.impl; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.ObjectUtil; import com.google.common.collect.Lists; import com.macro.mall.mallwechat.constant.CommonConstant; import com.macro.mall.mallwechat.dto.SmsHomeReco...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.example.j7.util1; public class Ut18 { class Foo { public void printHey() { System.out.println("hey"); } } class Foo2 { public void printHey() { System.out.println("hey"); } } class Foo3 { public void printHey() { ...
package com.foo.source; import java.io.Serializable; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.json.JsonBuilderFactory; import javax.json.JsonObject; import org.talend.sdk.component.api.configuration.Option; import org.talend.sdk.component.api.input.Producer; import org...
/* * Copyright 2000-2016 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.aqsgbg_zd.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jees...
/* * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/******************************************************************************* * Copyright (c) 2005-2008 Sybase, Inc. * * All rights reserved. This program and the accompanying materials are made * available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is availab...
package org.drift.dbmagic; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowCallbackHandler; import java.sql.ResultSet; import java.sql.SQLException; import java.util.*; /** * @author Dima Frid */ public class OracleDialect extends Dialect { private static final EnumM...
package com.springboot.bcode.service; import java.util.List; import com.springboot.bcode.domain.auth.Dict; import com.springboot.core.web.mvc.JqGridPage; public interface IDictService { JqGridPage<Dict> queryPage(Dict dict); List<Dict> queryByType(String type); boolean add(Dict dict); boolean update(Dict dic...
/* * Copyright (C) 2012 DataStax 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...
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.*; class ArgWrapper<T> { T val; int type; public ArgWrapper(T val, int type) { this.val = val; this.type = ...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
package no.finn.unleash.strategy; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Stream; import no.finn.unleash.UnleashContext; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.Parameter...
/* * XML Type: CT_BreakBin * Namespace: http://schemas.openxmlformats.org/officeDocument/2006/math * Java type: org.openxmlformats.schemas.officeDocument.x2006.math.CTBreakBin * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.officeDocument.x2006.math.impl; import javax.xml.name...
package io.github.cottonmc.component.compat.vanilla; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.Inventory; import net.minecraft.inventory.SidedInventory; import net.minecraft.item.ItemStack; import net.minecraft.util.math.Direction; import javax.annotation.Nullable; import java.ut...
/** * 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.sankuai.inf.leaf.server; import com.alibaba.druid.pool.DruidDataSource; import com.sankuai.inf.leaf.IDGen; import com.sankuai.inf.leaf.common.PropertyFactory; import com.sankuai.inf.leaf.common.Result; import com.sankuai.inf.leaf.common.ResultList; import com.sankuai.inf.leaf.common.ZeroIDGen; import com.s...
/* * * 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"); y...
/* * 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 ru.iopump.qa.spring.beans; import java.util.Collection; import org.springframework.stereotype.Component; import ru.iopump.qa.spring.cfg.IBean; @Component public class BeanWithCollection { private final Collection<? extends IBean> iBeans; public BeanWithCollection(Collection<? extends IBean> iBeans) {...
package com.hardy.person.sqllite_words_book; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.widget.Toast; /** * @author Hardy * @date {date} * @des * @updateAuthor * @updateDate * @updateDes */ public class MySqlLit...
package com.cloudbees.lxd.client.api; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import ...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
/** * Copyright (C) 2015 Red Hat, 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...
/** * blackduck-alert * * Copyright (C) 2019 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 o...
package org.kyojo.schemaorg.m3n4.core.impl; import java.util.ArrayList; import java.util.List; import org.kyojo.schemaorg.SimpleJsonBuilder; import org.kyojo.schemaorg.m3n4.core.Container; import org.kyojo.schemaorg.m3n4.core.DataType.Date; public class DATE_VEHICLE_FIRST_REGISTERED implements Container.DateVehicleF...
package seedu.stock.logic.parser; import java.util.ArrayList; import java.util.List; /** * Contains Command Line Interface (CLI) syntax definitions common to multiple commands */ public class CliSyntax { /* Prefix definitions */ public static final Prefix PREFIX_NAME = new Prefix("n/"); public static f...
/* * 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) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.trafficmanager.implementation; import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl; import com.azure.resourcemanager.trafficmanager.TrafficManager; impor...
package testNio; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; import java.util.Iterator; import java.util.Set; p...
/* * Copyright (C) 2009 WaveMaker Software, Inc. * * This file is part of the WaveMaker Server Runtime. * * 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...
package lukuvinkit.service; import java.sql.SQLException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import lukuvinkit.database.CommentDao; import lukuvinkit.database.ReadingTipDao; import lukuvinkit.database.TagDao; imp...
/* * 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 foundation.icon.iconex.realm.data; import io.realm.RealmObject; /** * Created by js on 2018. 3. 9.. */ public class CoinNToken extends RealmObject { private String type; private String name; private String userName; private String address; private String contractAddress = ""; priva...
package insidefx.undecorator.classic; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.IOException; import java.net.URL; import java.util.Properties; import org.junit.ju...
/* * 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...
package com.goslindarragh.jaco.menu; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; /***************************************************************** * * Date: 2018 * @author COR * * Ref: https://github.com/bethrobson/Head-First-Design-Patterns/tree/master/sr...
/* * ============LICENSE_START======================================================================== * ONAP : ccsdk feature sdnr wt * ================================================================================================= * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All right...
package com.teamscale.report.util; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; class SortedIntListTest { @Test void emptyList() { SortedIntList sortedIntList = new SortedIntList(); assertThat(sortedIntList.isEmpty()).isTrue(); } @Test void addSorted() { S...
package net.ripe.db.whois.api.rest.domain; import com.google.common.collect.Lists; import net.ripe.db.whois.common.Message; import net.ripe.db.whois.common.Messages; import net.ripe.db.whois.common.rpsl.RpslAttribute; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.n...
/* * Copyright 2015 herd contributors * * 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"); 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"); you may ...
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
package com.webtech; import java.util.HashSet; import com.webtech.database.model.EnumRole; import com.webtech.database.model.Role; import com.webtech.database.repository.IndexCardRepository; import com.webtech.database.repository.RoleRepository; import com.webtech.database.repository.TopicRepository; import com.webte...
class Solution { public int XXX(int[] nums) { if(nums.length==0||nums==null) return 0; return XXX(nums,0,nums.length-1); } static int XXX(int nums[],int l,int r) { if(l>=r) return nums[l]; int mid=(l+r)/2; int leftMax=Integer.MIN_VALUE; int leftSum=0; for(int i=mid;i>=l;i--) ...
package cz.nigol.obec.entities; import java.io.Serializable; import java.util.Date; import java.util.List; import java.util.Objects; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; impo...
package com.izneus.bonfire.module.system.controller.v1.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.List; /** * @author Izneus * @date 2020/08/27 */ @ApiModel("用户详情vo") @Data public class UserVO { @ApiModelProperty("用户id") ...
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class XexunProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeSimple() throws Exception { var decoder = inject(new XexunProtocolDecoder(null, false)); verifyAttributes(decoder, t...
package com.gr.coupon.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.annotation.Reque...
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
/******************************************************************************* * Copyright 2017 Bstek * * 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/l...
package eu.neclab.ngsildbroker.infoserver.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; impo...
package uk.gov.hmcts.reform.ccd.model; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; class OrganisationTest { @Test void shouldCreateOrganisation() { final Organisation actualOrganisation = Organisation.organisation("orgId"); final Organisation...
/* * Copyright 2016-2020 chronicle.software * * https://chronicle.software * * 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.base.modules.oss.service; import com.baomidou.mybatisplus.plugins.Page; import com.baomidou.mybatisplus.service.IService; import com.base.modules.oss.entity.SysOssEntity; import java.util.Map; /** * 文件上传 * * @date 2017-03-25 12:13:26 */ public interface SysOssService extends IService<SysOssEntity> {...
package types.dp; /** * match --> dp(i, j) --> dp(i - 1, j - 1); * insert --> dp(i, j) --> dp(i, j - 1) + insertCost; * delete --> dp(i, j) --> dp(i - 1, j) + deletionCost; * replace --> dp(i, j) --> dp(i - 1, j - 1) + replaceCost; * * find the minimum cost */ public class EditDistanceRecursion { public in...
package org.oes.biz.component; import org.apache.shiro.session.Session; import org.apache.shiro.session.mgt.eis.SessionDAO; import org.apache.shiro.subject.SimplePrincipalCollection; import org.apache.shiro.subject.support.DefaultSubjectContext; import org.oes.biz.entity.User; import org.springframework.lang.NonNull; ...
/* * 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 ...
/* * 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...
/* * Copyright 2011-2016 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 "li...
package biz.golek.whattodofordinner.business.controllers; import biz.golek.whattodofordinner.business.contract.controllers.ShowDinnerListController; import biz.golek.whattodofordinner.business.contract.interactors.ShowDinnerList; /** * Created by Bartosz Gołek on 2016-02-08. */ public class ShowDinnerListController...
package work.onss.scm.controller; import com.querydsl.core.types.Predicate; import com.querydsl.core.types.dsl.BooleanExpression; import com.querydsl.jpa.impl.JPAQueryFactory; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; ...
package org.jgroups.protocols; import org.jgroups.Message; import org.jgroups.util.AverageMinMax; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; /** * This bundler adds all...
/* * Copyright 1999-2019 Seata.io 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 applicable l...
// 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.hans.svandasek.fire.rssmanager; import java.util.List; /** * Created by Kartik_ch on 11/15/2015. */ public interface OnRssLoadListener { void onSuccess(List<RssItem> rssItems); void onFailure(String message); }
package com.javarush.task.task21.task2106; import java.util.Date; /* Ошибка в equals/hashCode */ public class Solution { private int anInt; private String string; private double aDouble; private Date date; private Solution solution; public Solution(int anInt, String string, double aDouble, D...
package com.kazes.fallout.test.actions; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.Group; import com.kazes.fallout.test.Mission; import com.kazes.fallout.test.MissionActor; /** * Action to check if a mission was completed * @author Ofek Kazes ...
package io.github.intellij.dlanguage.psi.impl; import static io.github.intellij.dlanguage.psi.DlangTypes.OP_PAR_LEFT; import static io.github.intellij.dlanguage.psi.DlangTypes.OP_PAR_RIGHT; import com.intellij.extapi.psi.ASTWrapperPsiElement; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; impor...