text
stringlengths
7
995k
package com.backend.filesystem; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStreamWriter; import java.nio.file.Files; import java.nio.file.StandardCopyOption; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.Mult...
package smallville7123.DAW.audioplayer; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will exe...
/* * blackduck-common-api * * Copyright (c) 2022 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.blackduck.api.manual.temporary.component; import com.synopsys.integra...
package com.sunil__parcha.Modals; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "shopping_cart") public class Shopping_cart { @Id @GeneratedValue private int item_id; private String cart_id; private S...
package com.pi4j.test.registry; /*- * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: UNITTEST :: Unit/Integration Tests * FILENAME : RegistryTest.java * * This file is part of the Pi4J project. More information about * this ...
// 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 br.com.zup.mercadolivre.opiniao; import br.com.zup.mercadolivre.produto.Produto; import br.com.zup.mercadolivre.security.usuario.Usuario; import org.hibernate.validator.constraints.Length; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.Not...
package snownee.snow.block; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.item.BlockItem; import net.minecraft.item.Item; import net.minecraft.nbt.CompoundNBT; import net.minecraft.nbt.NBTUtil; import net.minecraft.util.ResourceLocation...
package ly.count.sdk.java; import java.util.List; import java.util.Map; /** * Crash-encapsulating class */ public interface Crash { /** * Set {@link Throwable} object to be sent to the server. * Does the same job as {@link #addException(Exception)}. * * @param t Throwable to send * @re...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
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, 2020-02-22 12:31:40 */ public class DetectServiceEntity extends Alipa...
/* * MIT License * * Copyright (c) 2020 BlueBox-Wolff * * 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, mo...
package com.cloudream.ishow.util; /** * Java has #IndexOutOfBoundsException, but I want a out of range exception. So I simulate C++'s * <a href="http://en.cppreference.com/w/cpp/error/out_of_range">std::out_of_range</a> exception. * Thrown when a program attempts to use a value which is outside of the valid range....
package skeletons.response; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ExceptionResponse implements Response{ private Integer statusCode; private String description; public ExceptionResponse(String description) { this.statusCode = 222; this.description = d...
package oop.reflection.fromOracle; import java.lang.reflect.Constructor; public class DiscoverConstructor { private int x; private double y; public DiscoverConstructor() { } public DiscoverConstructor(int x) throws IllegalArgumentException { this.setX(x); } public DiscoverConstr...
package ejercicios_tema_4; import javax.swing.JOptionPane; public class Ejercicio_5 { public static void Ejercicio5(){ try{ String palabra = JOptionPane.showInputDialog("Introduzca una palabra:" + "\nFin para salir.").toLowerCase(); if(palabra.equals("fin")){ ...
package com.timeyang.athena.task; /** * task state * * @author https://github.com/chaokunyang */ public enum TaskState { PENDING, STARTING, RUNNING, SUCCESS, FAILED, KILLED, LOST }
package com.lothrazar.cyclic.block.generatorpeat; import com.lothrazar.cyclic.base.ContainerBase; import com.lothrazar.cyclic.registry.BlockRegistry; import com.lothrazar.cyclic.registry.ContainerScreenRegistry; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import...
package com.bluescreenstudios.android.flagger; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import java.util.Locale; /** * Class that displays the End Menu and handles its events. * It also shows ...
/** * Copyright (C) 2004-2011 Jive Software. 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 requir...
package org.vcell.vmicro.workflow.graph; /* * (C) Copyright University of Connecticut Health Center 2001. * All rights reserved. */ import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.InputEvent...
package com.planet_ink.coffee_mud.core.collections; import java.util.*; /* Copyright 2010-2017 Bo Zimmerman 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/li...
package de.ancash.minecraft.nbt; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import de.ancash.minecraft.nbt.utils.nmsmappings.ClassWrapper; import de.ancash.minecraft.nbt.utils.nmsmappings.ReflectionMethod; /** * Double implementation for NBTLists * * @author tr7zw ...
package com.rong.models; import com.rong.util.GsonUtil; /** * 群组信息。 */ public class GroupInfo { // 群组Id。 String id; // 群组名称。 String name; public GroupInfo(String id, String name) { this.id = id; this.name = name; } /** * 设置id * */ public void setId(String id) { this.id = id; } /** * 获...
/* * Copyright (c) 2006-2008 Hyperic, Inc. * Copyright (c) 2010 VMware, 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 * * U...
/* * The MIT License (MIT) * Copyright (c) 2016 Frederik Mikkelsen * * 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,...
/* /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.runtimefields.query; import com.carrotsea...
package com.cyclone.terminal.emulator.font.vt100.characters.set1; import org.eclipse.swt.graphics.Point; import com.cyclone.terminal.emulator.font.vt100.characters.RenderImage; /** * @author Phil.Baxter * */ public class CHAR184 extends RenderImage { /** * */ private static final int[] DATA = ...
package rlkj.modules.process.upload; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.core.io.ResourceLoader; import org.springframework.htt...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE89_SQL_Injection__getParameter_Servlet_executeUpdate_05.java Label Definition File: CWE89_SQL_Injection.label.xml Template File: sources-sinks-05.tmpl.java */ /* * @description * CWE: 89 SQL Injection * BadSource: getParameter_Servlet Read data from a querystring using g...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.cosmos.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.cor...
package com.zlyandroid.mvcdemo.net; import android.content.Context; import android.content.Intent; import android.util.Log; import com.google.gson.JsonParseException; import com.zlyandroid.mvcdemo.app.ProApplication; import com.zlyandroid.mvcdemo.ui.LoginActivity; import com.zlyandroid.mvcdemo.util.ToastUtils; import...
package bean; import android.util.Log; import util.Utility; /** * Created by yy on 2018/6/22. */ /* * 客户端 hello包 * */ public class HelloData extends BasePacket{ private static final String TAG = "HelloData"; private short machine_type;//0x0403 private byte customer_name; private byte simOperator; ...
package org.brickmvc.core.validation; /** * A custom validator which checks if a value exists. * @author Mostafa * */ public class NoValueValidator implements Validator{ /** * Checks for the existence of a given value * @param value The value to be tested. * @return true if value exists and false if it's ...
package com.google.account; /** Enumeration for User Type. */ public enum UserType { BUSINESS("BUSINESS"), APPLICANT("APPLICANT"); private final String userTypeId; UserType(String userTypeId) { this.userTypeId = userTypeId; } /** Returns the stable id representing the user type. Can ...
package com.tinet.clink.openapi.request.stat; import com.tinet.clink.openapi.PathEnum; import com.tinet.clink.openapi.response.stat.StatQueueResponse; import com.tinet.clink.openapi.utils.HttpMethodType; /** * @author Chenjf * @date 2020/2/24 15:32 **/ public class StatQueueRequest extends AbstractStatRequest<Sta...
package com.ms.silverking.os.linux.proc; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import com.ms.silverking.io.StreamParser; /** * Reads a single line file from /proc (e.g. /proc/<pid>/stat) into a * corresponding Java class that is effectively a C-style struct. */ public cl...
package com.hfm.myclassloader; import java.io.*; /** * @author hfm Email:hfming2016@163.com * @version v 1.01 * @Description 自定义文件类加载器 * 继承 ClassLoader 类实现自定义类加载器需要重写 findClass() 方法 * @date 2020-05-13 12:22 */ public class FileClassLoader extends ClassLoader { private String rootDir; /** * 构造函数 ...
package cz.cuni.mff.kocur.considerations; import cz.cuni.mff.kocur.decisions.DecisionContext; import cz.cuni.mff.kocur.world.BaseEntity; /** * Class that represents a consideration, that aims at considering speed of the * hero's projectiles. * * return normalize(e.getProjectileSpeed(), PARAM_RANGE_MIN, PARAM_RAN...
package com.dyzcs.lc; /** * Created by Administrator on 2020/10/18. * * @see <a href="https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/">19. 删除链表的倒数第N个节点</a> */ public class LeetCode_19 { public static void main(String[] args) { SolutionLC19.ListNode n1 = new SolutionLC19.ListNode(1); ...
package xyz.joestr.maintenancemode.tabcompleters; import java.util.ArrayList; import java.util.List; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.command.TabCompleter; import org.bukkit.entity.Player; public class MMTabComplete implements TabCompleter { public List<...
package app.api.swagger; import javax.xml.bind.annotation.XmlTransient; @javax.xml.bind.annotation.XmlRootElement @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2017-12-03T01:25:03.125Z") public class ApiResponseMessage { public static final int ERROR = 1; ...
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.collection.base; import java.util.Iterator; import java.util.NoSuchElementException; /** * This is an abstract base implementation of the {@link Iterator} interface...
package k35_ch04; /** 소프트웨어 코딩 심화 4강 - p27 실습 * * 피라미드 찍기 * * @author KOPO35 * */ public class K35_ex14 { public static void main(String[] args) { int k35_m = 20; // 처음 루프가 시작될 때 공백의 길이를 20으로 설정 int k35_n = 1; // 처음 루프가 시작될 때 *의 길이를 1로 설정 while (true) { // 무한 반복 - 한 줄에 대...
package cn.com.phinfo.oaact.base; import java.util.List; import android.os.Bundle; import com.baidu.location.BDLocation; import com.baidu.location.BDLocationListener; import com.baidu.location.Poi; import com.heqifuhou.baidu.BaiduLocationClientUtils; import com.heqifuhou.imgutils.MyBaseBitmapAct; import com.heqifuh...
/** * */ package com.mathtabolism.view.model.food; import java.util.List; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.mathtabolism.dto.MealDto; import com.mathtabolism.entity.food.Meal; import com.mathtabolism.util.emconverter.ModelCon...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
/* * The MIT License * Copyright (c) 2012 Microsoft Corporation * * 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,...
package edu.rosehulman.goistjt; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.WritableComparable; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; public class IntPair implements WritableComparable<IntPair> { private IntWritable first; private IntWritabl...
/* * Copyright (c) 2019 Absolute Apogee Technologies Ltd. All rights reserved. * * ============================================================================= * Revision History: * Date Author Detail * ----------- -------------- ------------------------------------------------ * 2019-Jan-23...
/* * 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 ru.otus.core.sessionmanager; public interface DataBaseSession { }
package com.ivelum.net; import static org.junit.Assert.assertTrue; import com.ivelum.exception.InvalidRequestException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; import org.junit.Test; public class UrlifyTest {...
package org.hl7.fhir.r4.utils; /*- * #%L * org.hl7.fhir.r4 * %% * Copyright (C) 2014 - 2019 Health Level 7 * %% * 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.a...
/* * Copyright (c) 2007, Rickard Öberg. All Rights Reserved. * Copyright (c) 2012, Paul Merlin. 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:/...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal; import com.google.android.gms.common.ConnectionResult; // Referenced classes of package com.google.android.gms.i...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* Copyright 2018 The TensorFlow 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 applicable law or a...
/** * Copyright (C) 2006-2017 INRIA and contributors * Spoon - http://spoon.gforge.inria.fr/ * * This software is governed by the CeCILL-C License under French law and * abiding by the rules of distribution of free software. You can use, modify * and/or redistribute the software under the terms of the CeCILL-C li...
package lecture0521; public class Human { int age; String name; Human(int age, String name) { this.age=age; this.name=name; } public String toString() { return age+"����"+name; } public boolean equals(Human obj) { return (age==obj.age && name==obj.name); } }
// // RequestHandler.java // Adjust // // Created by Christian Wellenbrock on 2013-06-25. // Copyright (c) 2013 adjust GmbH. All rights reserved. // See the file MIT-LICENSE for copying permission. // package com.adjust.sdk; import android.os.Handler; import android.os.HandlerThread; import android.os.Looper; im...
/* * (C) Copyright IBM Corp. 2019, 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.model.patch.test; import static com.ibm.fhir.model.type.String.string; import static com.ibm.fhir.model.type.Xhtml.xhtml; import java.io.FilterOutputStream; import java.io.OutputStream; import java.time.ZoneOf...
package com.appdirect.challenge.domain.appdirect.event.subscription; import javax.xml.bind.annotation.XmlRootElement; import com.appdirect.challenge.domain.appdirect.event.Event; import com.appdirect.challenge.domain.appdirect.event.EventType; @XmlRootElement(name = "event") public class SubscriptionCancelEvent exte...
/** * 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 m...
/* * The MIT License (MIT) * * Copyright (c) 2016. Diorite (by Bartłomiej Mazur (aka GotoFinal)) * * 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 withou...
package me.alexisevelyn.randomtech.api.blocks.glass; import me.alexisevelyn.randomtech.api.Main; import net.minecraft.block.AbstractGlassBlock; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import net....
package org.lucasr.twowayview.widget; import android.graphics.Rect; import android.support.v7.widget.RecyclerView; import android.view.View; import org.lucasr.twowayview.TwoWayLayoutManager.Direction; import org.lucasr.twowayview.widget.Lanes.LaneInfo; /** * Core logic for applying item vertical and horizontal spac...
package de.jatech.adventofcode.day07; import java.io.IOException; import java.net.URISyntaxException; import java.util.Arrays; import java.util.List; import de.jatech.adventofcode.common.Utils; public class Day07Part1 { public static void main(final String[] args) throws IOException, URISyntaxException { final Li...
package com.yr; import com.yr.datasources.DynamicDataSourceConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.builder.SpringAppli...
package org.aksw.dcat_suite.app.model.api; /** * Resolve a groupId to an object that can initialize, delete and verify * the repository for that id. */ public interface GroupMgrFactory { GroupMgr create(String groupId); }
/* * Copyright 2015-2019 FIX Protocol 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 ...
/* Copyright 2014-2016 Intel Corporation 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, s...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.nowcoder.spider.service.spider.strategy; import us.codecraft.webmagic.Page; /** * Processor Description: CreateDate: 2018/8/14 * * @author nowcoder */ public interface ProcessStrategy { /** * 爬虫具体执行的方法 {@link Page} */ void doProcess(Page page); }
/* * Copyright 2018 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * #%L * ACS AEM Commons Twitter Support Bundle * %% * Copyright (C) 2013 - 2014 Adobe * %% * 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/...
package pe.edu.upeu.dao; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List; import pe.edu.upeu.data.AppCrud; import pe.edu.upeu.modelo.ProductoTO; import pe.edu.upeu.modelo.VentaDetalleTO; import pe.edu.upeu.modelo.VentaTO; import...
package org.made.neohabitat.mods; import java.util.Random; import org.elkoserver.foundation.json.JSONMethod; import org.elkoserver.foundation.json.OptBoolean; import org.elkoserver.foundation.json.OptInteger; import org.elkoserver.json.EncodeControl; import org.elkoserver.json.JSONLiteral; import org.elkoserver.serve...
package php.runtime.ext.core.reflection; import php.runtime.Memory; import php.runtime.env.Environment; import php.runtime.ext.support.Extension; import php.runtime.lang.Closure; import php.runtime.lang.IObject; import php.runtime.memory.LongMemory; import php.runtime.memory.ObjectMemory; import php.runtime.memory.Str...
/* * 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 n...
/* * 11/10/2004 * * ChangeableHighlightPainter.java - A highlight painter whose color you can * change. * * This library is distributed under a modified BSD license. See the included * LICENSE file for details. */ package org.fife.ui.rtextarea; import java.awt.AlphaComposite; import java.awt.Color; import jav...
package cn.hutool.extra.tokenizer.engine.ikanalyzer; import org.wltea.analyzer.core.Lexeme; import cn.hutool.extra.tokenizer.Word; /** * IKAnalyzer分词中的一个单词包装 * * @author looly * */ public class IKAnalyzerWord implements Word { private Lexeme word; /** * 构造 * * @param word {@link Lexeme...
/******************************************************************************* * Created by Koen Deschacht (koendeschacht@gmail.com) 2017-6-24. For license * information see the LICENSE file in the root folder of this repository. ******************************************************************************/ pack...
/** * Copyright (c) KMG. 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 */ package io.perl.logger.impl; import i...
/* GROOVE: GRaphs for Object Oriented VErification * Copyright 2003--2011 University of Twente * * 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...
//package ghost.framework.module.event.factory; // //import ghost.framework.beans.annotation.injection.Autowired; //import ghost.framework.beans.annotation.order.Order; //import ghost.framework.beans.execute.annotation.BeanListContainer; //import ghost.framework.beans.annotation.module.annotation.ModuleAutowired; //imp...
package org.flylib.passport.dao; import org.flylib.mall.shop.entity.User; import org.flylib.passport.entity.Token; /** * @author Frank Liu(liushaomingdev@163.com) * @version 创建时间:2017年8月26日 下午11:14:41 * 类说明 */ public interface TokenDAO { String getToken(long userId); int add(Token token); int updateToken(long us...
import java.io.File; import java.io.PrintWriter; import java.io.FileInputStream; import java.io.InputStream; import java.security.MessageDigest; import java.util.Scanner; import java.io.FileOutputStream; public class KeyValue { String key; //保存路径变量,需要初始化此变量,否则会产生null+哈希码的情况 public static String savingPath =...
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
import com.chen.controller.HomeController; import com.chen.model.User; import org.junit.Test; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.web.bind.annotation.ResponseBody; import java.lang.reflect.Method; /** * Description: * Author: wei * DateTime: 2016-02-13 */ public ...
/* * 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 org.sunbird.user.actors; import akka.actor.ActorRef; import akka.dispatch.Futures; import akka.dispatch.Mapper; import akka.pattern.Patterns; import akka.util.Timeout; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import...
package squidpony.squidgrid.gui.gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Colors; import com.badlogic.gdx.math.MathUtils; import regexodus.Matcher; import regexodus.Pattern; import squidpony.StringKit; import squidpony.panel.IColoredString; import squidpony.panel.IMarkup; /** * GD...
/* * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others. * * 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 require...
package seedu.savenus.logic.commands; import static java.util.Objects.requireNonNull; import seedu.savenus.logic.commands.exceptions.CommandException; import seedu.savenus.model.Model; import seedu.savenus.model.savings.Savings; import seedu.savenus.model.savings.exceptions.SavingsOutOfBoundException; import seedu.sa...
package com.mooc.micro.user.exception; public interface WithTypeException { }
/* * Copyright (c) 2022 Microsoft Corporation * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0 * * SPDX-License-Identifier: Apache-2.0 * * Contributors: * Micr...
/** * 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 2016-2017 Red Hat, Inc, and individual 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...
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...