text
stringlengths
7
1.01M
package demisocket.tcp; /** * Base class for tcp packets. Every packet has a unique ID (which is automatically * generated, but can be overridden). */ public abstract class Packet { private long longPacketId; /** * Returns the packet as bytes. */ public abstract byte[] toBytes(); public ...
package ru.projects.prog_ja.exceptions; public class UnknownFormatException extends Exception { public UnknownFormatException() { super(); } public UnknownFormatException(String message) { super(message); } public UnknownFormatException(String message, Throwable cause) { ...
/* * @(#)$Id$ * * The Apache Software License, Version 1.1 * * Copyright (c) 2001-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistr...
package org.hisp.dhis.validation; /* * Copyright (c) 2004-2018, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the a...
/* * 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 snpBasicStatc; /** * * @author Loena */ public class CalculoTiempoProcesamiento { public static String fotm...
package com.pangpang.dao.yidb; import com.google.common.collect.Maps; import com.pangpang.dao.pangpangdb.dao.StudentDao; import com.pangpang.dao.pangpangdb.entity.Student; import com.pangpang.dao.yixindb.DBMeta; import com.pangpang.dao.yixindb.SqlTable; import org.junit.Test; import org.junit.runner.RunWith; import or...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.download; import android.Manifest.permission; import android.app.Activity; import android.app.DownloadManager; import...
package denominator.route53; import com.squareup.okhttp.mockwebserver.MockResponse; import org.junit.Rule; import org.junit.Test; import java.util.concurrent.atomic.AtomicReference; import dagger.Module; import dagger.Provides; import denominator.Credentials; import denominator.Credentials.ListCredentials; import d...
package domain.dto.web; import domain.entity.Competition; /** * Created by Hatake on 2015-03-09. */ public class BasicCompetitionInfo extends AbstractEntityData { public String name; public BasicCompetitionInfo(Competition competition) { super(competition.id); this.name = competition.name...
/* GENERATED SOURCE. DO NOT MODIFY. */ /* * 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/L...
package javaImportTool; public class ConversionException extends Exception { private static final long serialVersionUID = 8737019016361917805L; public ConversionException(String message) { if (something) { while (stuff) { } } else { cheese(yes.cheese); } create.foo(); } public ConversionExcepti...
package com.github.loveandcode.accesslog; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; ...
/* * Copyright 2017 The Depan Project Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package br.ufrn.imd.learningspringboot2.util; import br.ufrn.imd.learningspringboot2.domain.Anime; import br.ufrn.imd.learningspringboot2.exception.ResourceNotFoundException; import br.ufrn.imd.learningspringboot2.repository.AnimeRepository; import org.springframework.http.HttpStatus; import org.springframework.stereo...
/* * Copyright 2013 Charles University in Prague * Copyright 2013 Vojtech Horky * * 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.bly.common.utils; import java.net.InetAddress; import java.net.UnknownHostException; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class WebUtil { private WebUtil(){} private static final Logger ...
public class IdleAction extends Action { public boolean perform(String action, Entity source) throws Exception { // expected pattern: ^\s*(wait|idle)(\s*for)?(\s*([-+]?\d+)\s*turns)?\s*$ this.source=source; String pattern = EZMatch.m_input_start+ EZMatch.m_spaces+ "(wait|idle)("+ EZMatch...
/* * REST API * Rockset's REST API allows for creating and managing all resources in Rockset. Each supported endpoint is documented below. All requests must be authorized with a Rockset API key, which can be created in the [Rockset console](https://console.rockset.com). The API key must be provided as `ApiKey <api_k...
/* * 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 ...
// This file was originally from https://github.com/Auburns/FastNoise_Java as: // FastNoise.java // // MIT License // // Copyright(c) 2017 Jordan Peck // // 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 ...
/** * 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 ...
package com.jayantkrish.jklol.tensor; import java.io.Serializable; /** * Basic tensor interface that only supports retrieving values * given a key. * * @author jayantk * */ public interface TensorHash extends Serializable { /** * Gets the value associated with {@code keyNum}, which is interpreted as a ...
package com.mycodefu.javacv.fun; import com.mycodefu.javacv.fun.classifiers.Classifier; import com.mycodefu.javacv.fun.classifiers.Classifiers; import org.opencv.core.Mat; import org.opencv.core.Rect; import java.util.List; import static org.opencv.imgcodecs.Imgcodecs.imread; import static org.opencv.imgcodecs.Imgco...
/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/net/DefaultServerSocketFactory.java,v 1.6 2001/11/30 23:00:45 remm Exp $ * $Revision: 1.6 $ * $Date: 2001/11/30 23:00:45 $ * * ==================================================================== * * The Apache Software Lice...
/** * */ package com.graphql_java_generator.plugin.language.impl; import java.util.ArrayList; import java.util.List; import com.graphql_java_generator.GraphqlUtils; import com.graphql_java_generator.plugin.PluginMode; import com.graphql_java_generator.plugin.language.Field; import lombok.Data; import lombok.Equal...
package com.hly.march.dao; import com.hly.march.entity.FileHelper; import com.hly.march.entity.FileHelperExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface FileHelperMapper { long countByExample(FileHelperExample example); int deleteByExample(FileHelperExample exampl...
// Copyright 2017 JanusGraph Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
/* * 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...
/** * Copyright to 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 law ...
// 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.Constants; import frc.r...
package com.hyomee.anonymous; public class AnonymousChild { // 인스턴스 멤버 public AnonymousClass action = new AnonymousClass(){ @Override public <T> String action(T t) { return "작업자 : " + t; } }; // 인스턴스 메서드 public String actionMethod(String worker) { AnonymousClass action = new Anonymous...
/* ==================================================================== Copyright 2002-2004 Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
package io.onemfive.did.dao; import io.onemfive.core.infovault.InfoVaultDB; import io.onemfive.core.infovault.LocalFSDAO; import io.onemfive.data.DID; import io.onemfive.data.util.JSONParser; import java.io.FileNotFoundException; import java.util.Map; import java.util.logging.Logger; public class LoadDIDDAO extends ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.mockserver.serialization; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.github.fge.jackson.JacksonUtils; import java.io.IOException; import java.util.ArrayList; import java.util.List; /*...
package gov.va.vinci.chartreview.model.schema; import static com.mysema.query.types.PathMetadataFactory.*; import com.mysema.query.types.path.*; import com.mysema.query.types.PathMetadata; import javax.annotation.Generated; import com.mysema.query.types.Path; import com.mysema.query.sql.ColumnMetadata; /** * Q...
/* * Copyright (c) 2010-2016 Osman Shoukry * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package org.greenplum.pxf.plugins.hdfs; /* * 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 Lice...
package ex; /* * Topic: 讓使用者輸入 一個正整數 n 然後顯示出下列圖形 (例 n = 4) * ** *** **** * Date: 2016/10/17 * Author: 105021046 賴沛錞 */ import java.util.Scanner; public class ex03_105021046 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scn = new Scanner(System.in); System.out....
package com.cloudbi.service.util; import org.apache.commons.lang3.RandomStringUtils; /** * Utility class for generating random Strings. */ public final class RandomUtil { private static final int DEF_COUNT = 20; private RandomUtil() { } /** * Generate a password. * * @return the ge...
package egovframework.com.cmm.service.impl; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import egovframework.com.cmm.service.FileVO; import god.test.GodTestAbstract; public class FileManageDAOTest_getMaxFileSN extends GodTestAbstract { @Autowired private FileMa...
/** * Copyright 2007-2008 University Of Southern California * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required b...
/* * Copyright (C) 2002-2017 Sebastiano Vigna * * 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...
package org.springframework.content.commons.repository.events; import java.io.Serializable; import org.springframework.content.commons.property.PropertyPath; import org.springframework.content.commons.repository.AfterStoreEvent; import org.springframework.content.commons.repository.ContentStore; public class AfterUn...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/security/privateca/v1beta1/service.proto package com.google.cloud.security.privateca.v1beta1; /** * <pre> * Request message for * [CertificateAuthorityService.ListReusableConfigs][google.cloud.security.privateca.v1beta1.Certificate...
package com.shawn.monitor; import lombok.extern.apachecommons.CommonsLog; import org.apache.commons.lang3.time.StopWatch; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.Signature; import org.aspectj.lang.annotati...
package de.upb.crypto.clarc.protocols.expressions.arith; import de.upb.crypto.clarc.protocols.expressions.GroupElementPolicyFacts; import de.upb.crypto.clarc.protocols.expressions.ZnElementPolicyFacts; import de.upb.crypto.math.interfaces.structures.GroupElement; import de.upb.crypto.math.interfaces.structures.GroupE...
/* * 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.adriens.github.caldochesApi.services; import com.adriens.github.caldochesApi.entities.Expression; import com.adriens.githu...
class Solution { public int[] corpFlightBookings(int[][] bookings, int n) { int[] res = new int[n]; for (int[] v : bookings) { res[v[0] - 1] += v[2]; if (v[1] < n) res[v[1]] -= v[2]; } for (int i = 1; i < n; ++i) res[i] += res[i - 1]; return r...
package com.randi.MQTT_example; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void...
/** * Copyright (c) 2016-2019 谷粒开源 All rights reserved. * <p> * https://www.guli.cloud * <p> * 版权所有,侵权必究! */ package com.atguigu.modules.sys.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.atguigu.modules.sys.dao.SysRoleMenuDao; import com.atguigu.modules...
package dev.fiki.forgehax.asm.patches; import dev.fiki.forgehax.api.asm.MapClass; import dev.fiki.forgehax.api.asm.MapMethod; import dev.fiki.forgehax.asm.hooks.ForgeHaxHooks; import dev.fiki.forgehax.asm.hooks.PushHooks; import dev.fiki.forgehax.asm.utils.ASMHelper; import dev.fiki.forgehax.asm.utils.ASMPattern; impo...
/* * 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.pgmmers.radar.controller; import com.pgmmers.radar.dal.bean.UserQuery; import com.pgmmers.radar.intercpt.ContextHolder; import com.pgmmers.radar.intercpt.JsonWebTokenService; import com.pgmmers.radar.intercpt.TokenBody; import com.pgmmers.radar.service.admin.UserService; import com.pgmmers.radar.service.c...
/* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package com.facebook.react; public final class R { private R() {} public static final class anim { private anim() {} ...
package com.ctrip.framework.apollo.exceptions; /** * @author Jason Song(song_s@ctrip.com) */ public class ApolloConfigStatusCodeException extends RuntimeException { private final int m_statusCode; public ApolloConfigStatusCodeException(int statusCode, String message) { super(String.format("[status ...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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...
/* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ----------------------------------------------...
// camel-k: property=location=files/ /* * 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, Ve...
/* * Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software F...
/* * Copyright MapStruct Authors. * * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package org.mapstruct.intellij.codeinsight.references; import java.util.function.Function; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.opena...
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.instrumentation.spring.autoconfigure; import io.opentelemetry.api.trace.Tracer; import io.opentelemetry.api.trace.TracerProvider; import io.opentelemetry.sdk.OpenTelemetrySdk; import io.opentelemetry.sdk.trac...
/* * 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...
package com.freezk; import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @EnableDubbo public class ConsumerApplication { public static void main(String[]...
package com.ssd.chatbar; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
package cn.jiguang.imui.messages; import android.content.Context; import androidx.annotation.Nullable; import androidx.appcompat.widgetDefaultItemAnimator; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.appcompat.widgetSimpleItemAnimator; impo...
import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ ...
package cn.bugstack.design.mediator; import java.sql.Connection; import java.util.Map; /** * 公众号 | bugstack虫洞栈 * 博 客 | https://bugstack.cn * Create by 小傅哥 @2020 */ public class Configuration { protected Connection connection; protected Map<String, String> dataSource; protected Map<String, XNode> map...
/* * This file was automatically generated by EvoSuite * Thu May 21 16:40:05 GMT 2020 */ package org.json; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import java.io.Reader; import java.io.StringReader; import org.evosuite.runtime.EvoRunner; import o...
/* * Copyright (c) 2018 Abex * Copyright (c) 2017, Kronos <https://github.com/KronosDesign> * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: *...
package nc.recipe.multiblock; import java.util.*; import nc.recipe.ProcessorRecipeHandler; public class FissionEmergencyCoolingRecipes extends ProcessorRecipeHandler { public FissionEmergencyCoolingRecipes() { super("emergency_cooling", 0, 1, 0, 1); } @Override public void addRecipes() { addRecipe(fluidS...
/* * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundat...
/* * 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) 2017-2018 THL A29 Limited, a Tencent company. 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 (c) 2018 Couchbase, 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 agr...
/* * Copyright 2016 The OpenYOLO 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 a...
/**Daan Huikeshoven - 11066628 * University of Amsterdam*/ package com.example.daan.kitesessiesnl; import android.content.Context; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.support.an...
package com.github.hussainderry.sample; import com.github.hussainderry.securepreferences.SecurePreferences; import com.github.hussainderry.securepreferences.model.DigestType; import com.github.hussainderry.securepreferences.model.SecurityConfig; import com.github.hussainderry.securepreferences.util.AsyncDataLoader; i...
package adris.altoclef.trackers; import adris.altoclef.Debug; import adris.altoclef.mixins.PersistentProjectileEntityAccessor; import adris.altoclef.trackers.blacklisting.EntityLocateBlacklist; import adris.altoclef.util.ItemTarget; import adris.altoclef.util.helpers.BaritoneHelper; import adris.altoclef.util.baritone...
import javax.swing.JOptionPane; public class Produto implements Imprimivel, Seguranca{ private String descricao; private int quantidade; public Produto(String d, int q) { this.setDescricao(d); this.setQuantidade(q); } public String getDescricao() { return des...
package de.fhl.ultimaster.gui.view.usermanagement; import org.pmw.tinylog.Logger; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.event.Events; import org.zkoss.zk.ui.util.GenericForwardComposer; import org.zkoss.zul.Checkbox; import org.zkoss.zul.Textbox; import de.fhl.ultimaster.gui.utils.NotificationManage...
package module0732_public_tests_more.a; import java.nio.file.*; import java.sql.*; import java.util.logging.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolo...
package com.opzpy123.product.service; import com.baomidou.mybatisplus.extension.service.IService; import com.opzpy123.common.utils.PageUtils; import com.opzpy123.product.entity.SpuCommentEntity; import java.util.Map; /** * 商品评价 * * @author opzpy123 * @email 1441120973@qq.com * @date 2021-01-09 17:44:32 */ publ...
package cn.nicolite.huthelper.view.activity; import android.content.Intent; import android.content.pm.ResolveInfo; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.webkit.WebChromeClient; import android.webkit.WebSettings...
package it.marteEngine.entity; import org.newdawn.slick.GameContainer; import org.newdawn.slick.SlickException; import org.newdawn.slick.geom.Vector2f; import org.newdawn.slick.util.Log; /** * this class only works with a fixed frame rate of 60. All calculations are * based on that assumption. It's okay for this li...
package de.adorsys.opba.protocol.facade.config.encryption; import org.bouncycastle.asn1.ASN1ObjectIdentifier; /** * CMS (Cryptographic Message Syntax) Encryption metadata / specification. */ public interface CmsEncSpec { String getKeyAlgo(); int getLen(); ASN1ObjectIdentifier getCipherAlgo(); }
package be.artisjaap.polyglot.core.action.journal; import be.artisjaap.common.utils.InfinitRandomDataStreamer; import be.artisjaap.document.action.GenerateDocument; import be.artisjaap.document.action.to.BriefConfigTO; import be.artisjaap.document.api.brieflocatie.BriefLocatieFactory; import be.artisjaap.document.api....
package nLayeredDemo.entities.concretes; import nLayeredDemo.entities.abstracts.Entity; public class Product implements Entity { private int id; private int categoryId; private String name; private double unitPrice; private int unitsInStock; public Product() {} public Product(int id, int categoryId, String ...
package com.employee.dao; import java.util.ArrayList; import java.util.List; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; import com.employee.model.Employee; @Component public class EmployeeDAO { // Dummy database. Initialize with some dummy values. private st...
package com.github.dakusui.actionunit.ut; import com.github.dakusui.actionunit.exceptions.ActionException; import org.junit.Test; public class ActionExceptionTest { @Test(expected = ActionException.class) public void givenCheckedException$whenWrap$thenActionExceptionThrown() { throw ActionException.wrap(new U...
package leetcode; import java.util.*; class Node { public int val; public List<Node> neighbors; public Node() { val = 0; neighbors = new ArrayList<Node>(); } public Node(int _val) { val = _val; neighbors = new ArrayList<Node>(); } public Node(int _val, Arr...
/** * Copyright (c) ObjectFabric Inc. All rights reserved. * * This file is part of ObjectFabric (objectfabric.com). * * ObjectFabric is licensed under the Apache License, Version 2.0, the terms * of which may be found at http://www.apache.org/licenses/LICENSE-2.0.html. * * This file is provided AS IS w...
package com.acrylic.universal.threads; import com.acrylic.time.Time; import org.jetbrains.annotations.NotNull; import java.util.concurrent.ExecutorService; public final class ScheduleTaskContext { private final boolean isAsync; public ScheduleTaskContext(boolean isAsync) { this.isAsync = isAsync; ...
/* * Copyright (C) 2010 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.atguigu.gmall.product.controller; import com.atguigu.gmall.common.result.Result; import com.atguigu.gmall.model.product.BaseSaleAttr; import com.atguigu.gmall.product.service.BaseSaleAttrService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.G...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/* * 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 co.edu.uniandes.quantum.biblioteca.persistence; import co.edu.uniandes.quantum.biblioteca.entities.ReservaEntity; import java....