text
stringlengths
7
995k
package havis.tools.jibx; import havis.tools.jibx.AST.Pair; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.FieldDeclaration; import org.eclipse.jdt.core.dom.MethodDeclaration; import org.eclipse.jdt.core.dom.Modifier; import org.jibx.binding.model.ElementBase; import org.jibx.schema.codegen.IC...
package net.praaly.habitats.setup.items.equipments; import net.minecraft.item.IItemTier; import net.minecraft.item.PickaxeItem; public class customPickaxe extends PickaxeItem { public customPickaxe(IItemTier tier, int attackDamage, float attackSpeedIn, Properties builder) { super(tier, attackDamage, attac...
package com.pearadmin.modules.sys.mapper; import com.pearadmin.modules.sys.domain.SysPower; import com.pearadmin.modules.sys.domain.SysMenu; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Describe: 系统权限接口 * Author: 就 眠 仪 式 * CreateTime: 2019/1...
package javision; import java.awt.image.BufferedImage; public class EdgeDetection { private int getGreyScale(int rgb) { int r = (rgb >> 16) & 0xff; int g = (rgb >> 8) & 0xff; int b = (rgb) & 0xff; // from https://en.wikipedia.org/wiki/Grayscale, calculating luminance int grey = (int) (0.2126 * ...
/* * Copyright 2020 Crown Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package com.zorro.kotlin.baselibs.widget.decoration; /** * Created by Zorro * Created date 2019/10/18 */ public interface GroupListener { String getGroupName(int position); }
/** * 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 nam.model.namespace; import java.io.Serializable; import javax.enterprise.context.SessionScoped; import javax.enterprise.event.Observes; import javax.inject.Inject; import javax.inject.Named; import org.aries.runtime.BeanContext; import org.aries.ui.AbstractPageManager; import org.aries.ui.AbstractWizardPage...
package uk.gov.hmcts.reform.em.orchestrator.automatedbundling; public class DocumentSelectorException extends RuntimeException { public DocumentSelectorException(String message) { super(message); } }
package com.siemens.mindsphere.security; import com.siemens.mindsphere.config.Constants; import org.springframework.data.domain.AuditorAware; import org.springframework.stereotype.Component; /** * Implementation of AuditorAware based on Spring Security. */ @Component public class SpringSecurityAuditorAware impleme...
/* * SSHTools - Java SSH2 API * * Copyright (C) 2002-2003 Lee David Painter and Contributors. * * Contributions made by: * * Brett Smith * Richard Pernavas * Erwin Bolwidt * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ...
/* * Copyright 2002-2004 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...
/* * Copyright 2016 higherfrequencytrading.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 la...
package devcrema.spring_jpa_rest_board_example.post.query; import devcrema.spring_jpa_rest_board_example.post.domain.Post; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; import java.util.Optional; public interface GetPostRepository extends JpaRepository<Post, Long> { List<Ge...
/* * 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.eduworks.rollup.coprocessor; import cass.rollup.InquiryPacket; import cass.rollup.processors.PessimisticQuadnaryAssertionProcessor; import org.cass.competency.EcCompetency; import org.cass.competency.EcFramework; import org.credentialengine.Credential; import org.junit.Assert; import org.junit.Test; import...
package cn.taroco.rbac.admin.controller; import cn.taroco.common.constants.CommonConstant; import cn.taroco.common.entity.SysZuulRoute; import cn.taroco.common.utils.Query; import cn.taroco.common.web.BaseController; import cn.taroco.common.web.Response; import cn.taroco.rbac.admin.service.SysZuulRouteService; import ...
package ru.job4j.threads; import java.util.*; public class SaveDynamicList<E> implements Iterable<E> { Object[] container = new Object[10]; int index = 0; @Override public synchronized Iterator<E> iterator() { return new Iterator<E>() { int indexIter = 0; @Override ...
/* * Copyright 2019-2020 Zheng Jie * * 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 seedu.address.storage; import java.io.IOException; import java.nio.file.Path; import java.util.Optional; import seedu.address.commons.exceptions.DataConversionException; import seedu.address.model.schedule.ReadOnlyScheduleTracker; /** * Represents a storage for {@link seedu.address.model.schedule.ScheduleTr...
package me.jrkr.jsf.gravatar.component; import com.google.common.base.Joiner; import com.google.common.hash.Hashing; import me.jrkr.jsf.gravatar.common.GravatarImageType; import me.jrkr.jsf.gravatar.common.GravatarRating; import org.apache.commons.lang.StringUtils; import javax.el.ELContext; import javax.el.ValueExpr...
package de.ellpeck.naturesaura.blocks.tiles; import de.ellpeck.naturesaura.api.NaturesAuraAPI; import de.ellpeck.naturesaura.api.aura.chunk.IAuraChunk; import de.ellpeck.naturesaura.api.aura.container.BasicAuraContainer; import de.ellpeck.naturesaura.api.aura.container.IAuraContainer; import de.ellpeck.naturesaura.api...
/* * Copyright 2016 Google 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...
import java.util.Scanner; public class PythagoreanTriples { public static void main (String args []) { //Declare Variables int side1; int side2; int hyp; //Write loop for side 1 to try values from 1 - 500 for (side1 = 1; side1 <= 500; side1 ++) //Write loop for side 2 to try values from 1...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.baeldung.spring.cloud.helloworld; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoc...
package me.joeleoli.fairfight.check.impl.killaura; import me.joeleoli.fairfight.check.checks.PacketCheck; import me.joeleoli.fairfight.player.PlayerData; import me.joeleoli.fairfight.event.player.AlertType; import net.minecraft.server.v1_8_R3.Packet; import net.minecraft.server.v1_8_R3.PacketPlayInBlockDig; import ne...
package org.avaje.resteasy; import org.jboss.resteasy.plugins.server.servlet.FilterDispatcher; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.MDC; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException;...
/* * 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 io.collap.bryg.compiler.ast.expression.arithmetic; import bryg.org.objectweb.asm.Opcodes; import io.collap.bryg.compiler.ast.expression.Expression; import io.collap.bryg.compiler.context.Context; import io.collap.bryg.parser.BrygParser; public class BinaryDivisionExpression extends BinaryArithmeticExpression ...
package com.kn.diagrams.generator.settings; import com.intellij.openapi.options.Configurable; import com.kn.diagrams.generator.graph.ProjectClassification; import org.jetbrains.annotations.Nls; import org.jetbrains.annotations.Nullable; import javax.swing.*; import static com.kn.diagrams.generator.config.Serializat...
package cn.licoy.wdog.core.dto.appot; import org.hibernate.validator.constraints.NotBlank; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.util.Date; /** * @author mc * @version Tue Dec 15 19:38:18 2020 */ @Data public class WechatUserAddDTO{ @NotBlank(message = "id") pri...
package com.morristaedt.mirror; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Log; import android.v...
package two.buttons.prove.mastermind.service; import two.buttons.prove.mastermind.beans.ColorEnum; import two.buttons.prove.mastermind.model.DTO.GuessResponse; import two.buttons.prove.mastermind.model.Game; import two.buttons.prove.mastermind.model.Guess; import java.util.List; public interface GuessService { G...
/** * JBoss, Home of Professional Open Source. * Copyright 2014 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 Lice...
package com.wufan.vueblog; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class VueblogApplicationTests { @Test void contextLoads() { } }
/* * Copyright 2019 Web3 Labs 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 in w...
/* * Copyright (c) 2013-2018, Bingo.Chen (finesoft@gmail.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 a...
/** * Copyright (C) 2014 android10.org. All rights reserved. * * @author Fernando Cejas (the android10 coder) */ package com.fernandocejas.android10.order.presentation.view.fragment; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.os.Bundle; import and...
package cn.edu.hzau.tmall.entity; import java.util.List; /** * 类型实体类 * @author llc */ public class Category { private Integer category_id/*类型ID*/; private String category_name/*类型名称*/; private String category_image_src/*类型图片路径*/; private List<Property> propertyList/*属性列表*/; private List<Pr...
package com.besscroft.lfs; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @Slf4j @SpringBootApplication public class LfsAdminApplication { public static void main(String[] args) { SpringApplication....
package com.bkhech.home.practice.distributed.基本限流算法及思想.滑动窗口; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.Executors; import ...
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /...
package Model; import java.util.Arrays; /** * * @author luiz */ public class Aluno { private int[] idade; public Aluno() { this.idade = new int[20]; } public int[] getIdade() { return idade; } public void setIdade(int[] idade) { this.idade = idade; } @Ove...
/* Copyright 2007-2009 Selenium committers 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...
/* * * Copyright 2019 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 ap...
package co.ghast.safeguardac.mechanics; import co.ghast.safeguardac.SafeGuard; import lombok.Getter; import lombok.Setter; public class WaveSystem { private SafeGuard sg; public WaveSystem(SafeGuard sg){ this.sg = sg; } @Getter @Setter public boolean WaveActive; public void activateWav...
/* * Copyright 2014 Texas A&M Engineering Experiment Station * * 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 1999-2018 Alibaba Group Holding 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 a...
package org.medlog.validation; import org.medlog.models.Doctors; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; public class DoctorValidation implements Validator { @Override public boolean supports(Class<?>...
package com.baiyi.opscloud.controller.http; import com.baiyi.opscloud.common.HttpResult; import com.baiyi.opscloud.domain.DataTable; import com.baiyi.opscloud.domain.param.ansible.AnsiblePlaybookParam; import com.baiyi.opscloud.domain.vo.ansible.AnsiblePlaybookVO; import com.baiyi.opscloud.facade.task.AnsiblePlaybookF...
package com.jrmd.benkyoshimasu; import android.content.Context; import android.util.DisplayMetrics; import com.jrmd.benkyoshimasu.object.Lessons; import com.jrmd.benkyoshimasu.object.Word; import java.util.ArrayList; import java.util.List; /** * Created by julian on 07/11/2016. */ public class Utils { publi...
package io.onedev.server.web.component.build.authorization; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import io.onedev.server.model.support.build.actionauthorization.ActionAuthorization; import io.onedev.server.web.editable.annotation.Editable; @Editable public class ActionAutho...
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su conteni...
package com.moonapi.demo; import com.sun.istack.internal.Nullable; import org.apache.commons.codec.binary.Base64; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.io.UnsupportedEncodin...
package io.github.amayaframework.core.actions; import com.github.romanqed.util.IOUtil; import io.github.amayaframework.core.contexts.HttpRequest; import io.github.amayaframework.core.pipeline.PipelineAction; import io.github.amayaframework.core.pipeline.RequestData; import io.github.amayaframework.http.ContentType; i...
package com.github.jptx1234.mdm.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.github.jptx1234.mdm.dao.StuffPackDecomposeDao; import com.github.jptx1234.mdm.model.StuffPackDecompose; import com.github.jptx1...
package uk.ac.belfastmet.rhi.service; import uk.ac.belfastmet.rhi.domain.Rhi; public interface RhiRestService { Iterable<Rhi> list(); Rhi create(Rhi rhi); Rhi read(Integer rhiId); Rhi update(Integer rhiId, Rhi rhi); void delete(Integer rhiId); }
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.Drivetrain; ...
// 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.example.session.login; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * @author Nate yu * @date 2020/11/...
package com.match.flyantschat.web.v1; import com.match.common.context.UserContext; import com.match.oim.client.FriendsClient; import com.match.oim.client.bean.FriendsApplyRecordDTO; import com.match.oim.client.bean.FriendsApplyRecordStatus; import com.match.oim.client.bean.MessageUserSimpleInfoDTO; import lombok.exter...
/** * */ package repast.simphony.scenario; /** * Event used to convey data about a scenario change. * @author Nick Collier */ public class ScenarioChangedEvent { private Object source; private String property; public ScenarioChangedEvent(Object source, String property) { this.source = source; ...
package com.em.validation.client.gwt.defects; /* GWT Validation Framework - A JSR-303 validation framework for GWT (c) gwt-validation contributors (http://code.google.com/p/gwt-validation/) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public L...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE89_SQL_Injection__Property_executeBatch_10.java Label Definition File: CWE89_SQL_Injection.label.xml Template File: sources-sinks-10.tmpl.java */ /* * @description * CWE: 89 SQL Injection * BadSource: Property Read data from a system property * GoodSource: A hardcoded st...
/* * Copyright 1999-2017 Alibaba Group Holding 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 applica...
/* * %CopyrightBegin% * * Copyright Ericsson AB 2000-2021. 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 * ...
/* * Copyright 2019 DiffPlug * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package p; class A{ int temp; void m(){ int i= 10; temp= 0; }; }
package net.barragem.view.backingbean; import javax.faces.event.ActionEvent; import net.barragem.business.bo.MensagemBo; import net.barragem.persistence.entity.Mensagem; import net.barragem.persistence.entity.Usuario; import net.barragem.scaffold.Paginavel; import net.barragem.scaffold.PaginavelSampleImpl; import net...
package CSharp.editor; /*Generated by MPS */ import jetbrains.mps.nodeEditor.DefaultNodeEditor; import jetbrains.mps.openapi.editor.cells.EditorCell; import jetbrains.mps.openapi.editor.EditorContext; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.nodeEditor.cells.EditorCell_Collection; import jet...
/* * Copyright 2011 the original author or authors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package edu.ucsb.cs156.spring.hello; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RequestMapping; @RestController public class HelloController { @RequestMapping("/") public String index() { return "Greetings from ningxia!"; } ...
/******************************************************************************* * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the accompanying...
package ru.job4j.additionaltask; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import static java.util.concurrent.TimeUnit.SECONDS; /** * Class is bank. * * @since 22/10/2017 * @version 1 */ public class Ban...
/* * 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 sk.kottman.androlua; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.IBinder; import android.util.Log; import android.view.ContextMenu; import android.view.ContextMenu.Contex...
package org.acme.util.adapter.rest; import javax.ws.rs.core.Link; import javax.ws.rs.core.UriInfo; import java.util.ArrayList; import java.util.List; public interface Links { String NEXT = "next"; String PREV = "prev"; String SELF = "self"; String OFFSET = "offset"; String LIMIT = "limit"; st...
package org.apache.solr.util; /* * 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...
package com.kintone.client.model.space; import com.kintone.client.model.User; import java.time.ZonedDateTime; import lombok.Value; /** An object contains information of an App in a Space. */ @Value public class AttachedApp { /** The App ID. */ private final long appId; /** The App Code of the App. */ ...
package initialization; import caller.Trainmaster; import initialization.Server; import initialization.Work; import java.util.ArrayDeque; public class GrrProgrammer extends initialization.Server { static final String kg = "ikvpk"; private java.util.ArrayDeque<GrrProcedure> ripeStandby; private int monthAddition...
/* * Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * Copyright 2006-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.spring.cloud.config; import org.springframework.boot.actuate.autoconfigure.health.ConditionalOnEnabledHealthIndicator; import org.springframework.boot.actuate.health.HealthIndicator; import org.springframe...
package com.armadialogcreator.expression; import com.armadialogcreator.lang.Lang; import com.armadialogcreator.util.ADCExecutors; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.misc.IntervalSet; import org.antlr.v4.runtime.misc.ParseCancellationException; import org.jetbrains.annotations.NotNull; import or...
/* * Copyright 2014-2022 TNG Technology Consulting GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
package pl.chelm.pwsz.techsupport.domain; import pl.chelm.pwsz.techsupport.database.*; import pl.chelm.pwsz.techsupport.services.*; final class TagFactory extends CacheFactory<Tag, TagDatasource> { TagFactory (Class<Tag> entitiesType, Class<TagDatasource> datasourceType) { super(entitiesType, datasourceType); } ...
package deepDriver.dl.aml.linearReg; import deepDriver.dl.aml.cart.DataSet; public class LinearRegression { GradientDecentOptimizer gradientDecentOptimizer = new GradientDecentOptimizer(); public LinearExpression fit(DataSet ds) { LinearFunctionSubject linearFunctionSubject = new LinearFunctionSubject(); ...
package br.eti.deividferreira.pontointeligente.api.security.services; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springfr...
/* * Copyright 2020-2022 Stanislav Batalenkov * * 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 2017 Fondazione Istituto Italiano di Tecnologia. * * 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 e.a.a.a.x0; import b.q.a.a; import e.a.a.a.l0; import e.a.l; import e.f; import e.x.c.i; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.util.Map; public final class d implements InvocationHandler { public final /* synthetic */ Class a; /* renamed from: b rea...
package com.magenic.ddd.domain.user; import com.magenic.ddd.domain.address.Address; import com.magenic.ddd.domain.shared.AuditingBaseEntity; import com.magenic.ddd.domain.shared.constant.DepartmentType; import javax.persistence.Entity; import javax.persistence.OneToOne; import javax.validation.constraints.NotEmpty; i...
package com.itcast.rabbitmq.work; import com.itcast.rabbitmq.util.ConnectionUtil; import com.rabbitmq.client.*; import java.io.IOException; import java.util.concurrent.TimeoutException; public class Consumer1 { public static void main(String[] args) throws IOException, TimeoutException { //获取连接 C...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
package net.b07z.sepia.server.assist.interpreters; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import net.b07z.sepia.server.assist.parameters.AbstractParameterSearch; import net.b07z.sepia.server.assis...
package com.ss.editor.control.transform; import static com.ss.rlib.util.ObjectUtils.notNull; import static java.util.Objects.requireNonNull; import com.jme3.collision.CollisionResult; import com.jme3.input.InputManager; import com.jme3.math.Quaternion; import com.jme3.math.Transform; import com.jme3.math.Vector2f; im...
package com.salesmore.yak.integration.shopee.model.common; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; public enum OrderStatus { UNRECOGNIZED, UNPAID, READY_TO_SHIP, RETRY_SHIP, SHIPPED, TO_CONFIRM_RECEIVE, IN_CANCEL, CANCELLED, TO_RETURN, COMPLETED; ...
/* * Copyright 2002-2020 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 io.vrap.rmf.base.client.error; import io.vrap.rmf.base.client.ApiHttpHeaders; import io.vrap.rmf.base.client.ApiHttpRequest; import io.vrap.rmf.base.client.ApiHttpResponse; import io.vrap.rmf.base.client.ResponseSerializer; public class InternalServerErrorException extends ApiServerException { public Inte...