text stringlengths 7 995k |
|---|
package com.shengsiyuan.exception;
public class ExceptionTest
{
public static void main(String[] args)
{
int c = 0;
try
{
int a = 3;
int b = 0;
c = a / b;
System.out.println("hello world");
}
catch(ArithmeticException e)
{
e.printStackTrace();
}
finally
{
System.out.pri... |
package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class PowerStatusBaremetalHostAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParamete... |
package com.example.music59.views;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.View;
impo... |
package com.tianlai.sample;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.naivor.adapter.AdapterOperator;
import com.naivor.adapter.RecyAdapter;
import com.naivor.adapter.RecyHolder;
import butterknife.Bind;
import ... |
package dev.gegy.noise;
import dev.gegy.noise.op.NoiseOps;
public interface Noise {
static Noise constant(double value) {
return new ConstantNoise(value);
}
static Noise sum(Noise... terms) {
return NoiseOps.sum(terms);
}
static Noise product(Noise... terms) {
return Nois... |
package com.example.krrishdholakia.martaview5;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTe... |
/*
* 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.naiveui.view.chat;
import com.example.naiveui.view.UIObject;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.control.TextArea;
import javafx.scene.image.Image;
import javafx.scene.paint.Color;
import javafx.stage.StageStyle;
import java.io.IOException;
public abstrac... |
package fr.project.multimodule.data.entities;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Entity
public class SampleEntity {
@Id
@GeneratedValue(strategy = GenerationType.AUTO, generator = "native")
@GenericGenerator(name = "native", strategy = "native")
@Column(nu... |
/*
* 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")... |
/*
* Copyright (c) 2010-2017 Nathan Rajlich
*
* 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, modify... |
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package org.cloudbus.foggatewaylib.camera;
import android.hardware.Camera;
import android.util.Log;
import org.cloudbus.foggatewaylib.core.AndroidProvider;
import org.cloudbus.foggatewaylib.core.VoidData;
import java.util.HashMap;
import static org.cloudbus.foggatewaylib.camera.CameraUtils.getCameraInstance;
/**
... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_3760 {
} |
package bll;
import java.util.ArrayList;
import dalabstract.IUsersRepository;
import entities.Users;
import interfaces.IUsers;
public class UsersManager implements IUsers {
IUsersRepository userRepository;
public UsersManager(IUsersRepository usersRepository) {
// TODO Auto-generated constructor stub
super(... |
/*
* Copyright 2004-2010 the Seasar Foundation and the 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 required ... |
/*
* (C) Copyright IBM Corp. 2019
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.model.resource;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
import com.ibm.fhir.model.a... |
/*
* Copyright 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 applica... |
package com.servissoft.holebook.libs;
import android.util.Log;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPo... |
package org.pushingpixels.radiance.demo.theming.main.check.svg.filetypes;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilitie... |
package com.a41.invoice.order.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxm... |
package one.edee.oss.proxycian.javassist;
import one.edee.oss.proxycian.MethodClassification;
import one.edee.oss.proxycian.PredicateMethodClassification;
import one.edee.oss.proxycian.model.traits.GenericBucket;
import org.junit.jupiter.api.Test;
import java.lang.annotation.Documented;
import java.lang.annotation.El... |
package com.github.chen0040.tensorflow.recommenders.models;
import com.github.chen0040.tensorflow.search.models.ImageSearchEntry;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ImageRank {
private String imagePath;
private double distance1;
private double distance2;
private d... |
/* Copyright (c) 2000-2004 jMock.org
*/
package test.jmock.expectation;
import junit.framework.AssertionFailedError;
import junit.framework.TestCase;
import org.jmock.expectation.ReturnValue;
public class ReturnValueTest extends TestCase
{
private ReturnValue value;
protected void setUp() throws Exception... |
package module1211packageJava0;
import java.lang.Integer;
public class Foo17 {
Integer int0;
public void foo0() {
new module1211packageJava0.Foo16().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
} |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
package com.microsoft.graphdataconnect.skillsfinder.exceptions;
public class GatewayTimeoutException extends RuntimeException {
public GatewayT... |
/*
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
***** BEGIN LICENSE BLOCK *****
* Version: EPL 2.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* 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.eclipse.org/legal/e... |
package com.example.drivezy;
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 ad... |
/*
*
* * Copyright 2020 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.newrelic.agent.tracers.jasper;
// a proxy to org/apache/jasper/compiler/Node$TemplateText
public interface TemplateText {
String getText() throws Exception;
void setText(String... |
//----------------------------------------------------
// The following code was generated by CUP v0.11a beta 20060608
// Tue Mar 14 21:13:21 CST 2017
//----------------------------------------------------
package org.compi2.codigo3d.parser;
import java_cup.runtime.Symbol;
/** CUP v0.11a beta 20060608 generated pars... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* 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 2004 - 2012 Mirko Nasato and contributors
* 2016 - 2017 Simon Braconnier and contributors
*
* This file is part of JODConverter - Java OpenDocument Converter.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lic... |
package com.core.service;
import com.core.dto.LanguageResponseDto;
import com.core.dto.product.*;
import com.core.exception.NotFoundResourceException;
import com.core.model.Language;
import com.core.model.product.Product;
import com.core.model.product.ProductDescription;
import com.core.model.product.ProductFeature;
i... |
package com.atguigu.gmall.pms.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品评价
*... |
/*
* 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.docuware.dev.schema._public.services.platform;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.net.URI;
import com.docuware.dev.Extensions.*;
import java.util.concurrent.CompletableFuture;
import java.util.*;
import com.docuware.dev.schema._public.services.Link;
import com.docuwar... |
package exceptionExercises;
public class CustomException extends Exception{
public CustomException(String error) {
super(error);
}
} |
/*
* 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... |
/*
* Copyright 2019 The RoboZonky Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package ast;
import visitor.Visitor;
public interface Exp {
public void accept(Visitor v);
} |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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... |
/*
* 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 2007 - 2016 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 ... |
/* */ package lrg.metrics.methods;
/* */
/* */ import java.util.ArrayList;
/* */ import java.util.HashSet;
/* */ import lrg.memoria.core.Call;
/* */ import lrg.memoria.core.Class;
/* */ import lrg.memoria.core.Method;
/* */ import lrg.memoria.core.ModelElementList;
/* */ import lrg.... |
/*
*
* Copyright (C) 2017 Aaron Powers
*
* 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_getCookies_Servlet_multiply_72a.java
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-72a.tmpl.java
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: getCookies_Servlet Read data from t... |
package com.tencent.qcloud.tim.uikit.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
impor... |
package ru.job4j.professions;
/**
* @author Maksim Yunusov (mailto:cortezzz1987@gmail.com)
* @version $Id$
* @since 0.1
*/
public class Student {
String name;
public Student(String name) {
this.name = name;
}
} |
/*
* 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... |
/*
* Zeebe Workflow Engine
* Copyright © 2017 camunda services GmbH (info@camunda.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... |
package br.com.luizalabs.favoriteproducts.product.controller.mapper;
import br.com.luizalabs.favoriteproducts.product.controller.dto.ProductResponse;
import br.com.luizalabs.favoriteproducts.product.domain.Product;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.apache.commons.collections.Collec... |
package com.ninggc.gp.data;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.ninggc.gp.util.AboutExcel.ExcelUser;
import java.sql.Timestamp;
public class User extends IEntity {
@Excel(name = "账号", width = 20)
private String account;
/**
* 计算后的md5
*/
@Excel(name = "密码")
pri... |
package com.hedera.contracts;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.spec.InvalidKeySpecException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hedera.account.AccountCreate;
import com.hedera.file.FileCreate;
import com... |
package com.qingyu.spring.set;
public class Computer {
private String cpu;
private String hdd;
private String mainbord;
public String getCpu() {
return cpu;
}
public void setCpu(String cpu) {
this.cpu = cpu;
}
public String getHdd() {
return hdd;
}
... |
/*
* Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. 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
*
* U... |
package com.zgy.learn.tx.xml;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.SingleColumnRowMapper;
/**
* @Author: renjiaxin
* @Despcription:
* @Date: Created in 2019/10/13 1:09
* @Modified by:
*/
public class BookDao {
... |
/*
* 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 org.crown.project.monitor.quartz.common;
import static org.quartz.TriggerBuilder.newTrigger;
import java.util.Date;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import org.crown.common.cons.QuartzCons;
import org.crown.framework.exception.Crown2Exception;
import org.crown... |
/*
* Copyright (c) 2019, gazivodag <https://github.com/gazivodag>
* 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. Redistributions of source code must retain the above copyright notic... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package com.redhat.ceylon.compiler.typechecker.io;
/**
* @author Emmanuel Bernard <emmanuel@hibernate.org>
*/
public interface ClosableVirtualFile extends VirtualFile {
public void close();
} |
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.servlet.RequestDispatcher;
import javax.servlet.Serv... |
// Generated from XMLParser.g4 by ANTLR 4.5.3
import org.antlr.v4.runtime.tree.ParseTreeListener;
/**
* This interface defines a complete listener for a parse tree produced by
* {@link XMLParser}.
*/
public interface XMLParserListener extends ParseTreeListener {
/**
* Enter a parse tree produced by {@link XMLPar... |
package org.acme.workloads.Reservation;
import javax.enterprise.context.ApplicationScoped;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import java.util.List;
@ApplicationScoped
public class ReservationRepoImpl implements ReservationRepo{
private final EntityManager entityManager;... |
package edu.anadolu.datasets;
import org.clueweb09.tracks.Track;
import org.clueweb09.tracks.WWW13;
import org.clueweb09.tracks.WWW14;
import org.clueweb09.tracks.WWW15;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* The NTCIR-13 We Want Web-1 (WWW) Task!
* http://www.thuir.cn/ntcirwww/
* <p>
* Th... |
package com.epicness.main.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.epicness.main.Renderer;
public class DesktopLauncher {
public static void main(String[] arg) {
LwjglApplicationConfiguration config =... |
package dao;
import models.Department_News;
import models.Departments;
import models.News;
import models.Users;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Test;
import org.sql2o.Connection;
import org.sql2o.Sql2o;
import static org.junit.Assert.*;
public class Sql2... |
package com.devarchi33.config;
import com.devarchi33.aws.service.EC2GetStatus;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Created by donghoon on 2016. 2. 2..
*/
@Configuration
public class UtilConfig {
@Bean(name = "EC2GetStatus")
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*******************************************************************************
* Copyright 2016, 2017 vanilladb.org 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
*
* ... |
package dev.kxxcn.app_squad;
import android.app.Application;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
/**
* Created by kxxcn on 2018-04-26.
*/
public class SquadApplication extends Application {
public static boolean DEBUG = false;
@Ove... |
/*
* PermissionsEx
* Copyright (C) zml and PermissionsEx 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 re... |
/*
Copyright (c) 2018 Niklas Schultz
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, modify, merge, publish, distribute, s... |
/*
* Copyright 2006-2012 The Scriptella Project Team.
*
* 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 appli... |
package ru.geekbrains.springmarket.entities.jwt;
import lombok.Data;
@Data
public class JwtRequest {
private String username;
private String password;
} |
package com.example.Eshop.controllers;
import com.example.Eshop.entities.Brand;
import com.example.Eshop.services.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web... |
/*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2021 Fabian Prasser and 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/LICE... |
package com.atguigu.gulimall.pms.dao;
import com.atguigu.gulimall.pms.entity.SkuImagesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* sku图片
*
* @author leifengyang
* @email lfy@atguigu.com
* @date 2019-08-02 18:39:05
*/
@Mapper
public interface... |
/*
* jEdit - Programmer's Text Editor
* :tabSize=8:indentSize=8:noTabs=false:
* :folding=explicit:collapseFolds=1:
*
* Copyright © 2011 jEdit contributors
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free S... |
package com.squareup.picasso3;
import android.content.ContentResolver;
import android.content.Context;
import android.graphics.Bitmap;
import android.net.Uri;
import android.support.annotation.NonNull;
import com.squareup.picasso3.RequestHandler.Result;
import org.junit.Before;
import org.junit.Test;
import org.junit.... |
/*
* Copyright 2019 - JCoder Ltd
*/
package io.jcoder.tutorials.ch05.inheritance.basics;
/**
* Basic example of a class representing an CommercialAirplane (used for Chapter 5).
*
* <p>
* https://jcoder.io/content/course/java/beginners/ch05/inheritance
* </p>
*
* @author Camilo Gonzalez
*/
public class Comm... |
package voldemort.store.compress;
import java.io.IOException;
/**
* Implementations of this interface provide a strategy for compressing and
* uncompressing data.
*/
public interface CompressionStrategy {
/**
* The type of compression performed.
*/
String getType();
/**
* Uncompresses ... |
package ca.on.oicr.gsi.shesmu.cerberus;
import ca.on.oicr.gsi.cerberus.fileprovenance.ProvenanceRecord;
import ca.on.oicr.gsi.shesmu.gsicommon.IUSUtils;
import ca.on.oicr.gsi.shesmu.plugin.Tuple;
import ca.on.oicr.ws.dto.SampleProvenanceDto;
import java.util.Collections;
import java.util.Optional;
import java.util.Set... |
// Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.calendar.v4.model;
import com.google.gson.annotations.SerializedName;
public class CalendarEventGetResult {
@SerializedName("event")
private CalendarEvent event;
public CalendarEvent getEvent() {
return this.event;
... |
package com.chaomeng.fluttermodule.host;
import android.os.Bundle;
import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;
import io.flutter.plugins.GeneratedPluginRegistrant;
public class MainActivity extends FlutterActivity {
@Over... |
package com.example.qrscanner.data;
import com.google.gson.annotations.SerializedName;
// Client가 서버에 요청시 body에 첨부할 데이터
public class RequestDTO {
@SerializedName("requestURL")
String requestURL;
@SerializedName("c_index")
Integer c_index;
@SerializedName("d_index")
Integer d_index;
@Ser... |
package aQute.tester.plugin;
import java.util.*;
import aQute.bnd.build.*;
import aQute.bnd.osgi.*;
import aQute.bnd.service.*;
import aQute.junit.constants.*;
public class ProjectTesterImpl extends ProjectTester implements TesterConstants, EclipseJUnitTester {
int port = -1;
String host;
Project projec... |
/*
* Copyright 2011 Azwan Adli Abdullah
*
* 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 ag... |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.connector.postgresql;
import static io.debezium.connector.postgresql.PostgresConnectorConfig.SnapshotMode;
import static io.debezium.connector... |
/*
* Copyright 2000-2020 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import org.opencv.core.Mat;
import org.opencv.core.TermCriteria;
// C++: class SVM
//javadoc: SVM
public class SVM extends StatModel {
protected SVM(long addr) { super(addr); }
public static final int
C_SVC = 1... |
package crazypants.enderio.item.darksteel.upgrade;
import org.lwjgl.opengl.GL11;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minec... |
package org.jesperancinha.java11.mastery2dot1.animals;
import static org.jesperancinha.console.consolerizer.common.ConsolerizerColor.GREEN;
public class BirdCharacter extends Bird {
public BirdCharacter(String name) {
super("Flute");
this.name = name;
}
@Override
public void saySomet... |
package io.rancher.type;
import io.rancher.base.AbstractType;
import java.util.Map;
public class KubernetesService extends AbstractType {
private String accountId;
private String created;
private Map<String, Object> data;
private String description;
private String environm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.