text stringlengths 7 995k |
|---|
package com.gmail.jskapplications.seoulpicture.base;
import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.provider.Settings;
import android.support.annotation.Nullable;
import android.support.design.widget.NavigationView;
import android.support.v4.view.GravityCom... |
package io.github.merchantpug.toomanyorigins.power;
import io.github.apace100.origins.power.PowerType;
import io.github.apace100.origins.power.ValueModifyingPower;
import net.minecraft.entity.player.PlayerEntity;
public class ModifyDragonFireballPower extends ValueModifyingPower {
private final float minRadius;
... |
/*
* Licensed to the Technische Universität Darmstadt under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The Technische Universität Darmstadt
* licenses this file to you under the Apache License, Versio... |
/*
* 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.imlinlx.auth.web.support;
import org.apache.commons.lang.StringUtils;
import org.jasig.cas.web.support.AbstractThrottledSubmissionHandlerInterceptorAdapter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.BoundValueOperations;
import org.springframe... |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright 2002-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 ap... |
/*
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... |
package co.tton.qcloud.system.mapper;
import co.tton.qcloud.system.domain.TShopCoursesReplaced;
import co.tton.qcloud.system.domain.TShopCoursesReplacedModel;
import java.util.List;
/**
* 最近上新Mapper接口
*
* @author suiwb
* @date 2019-11-15
*/
public interface TShopCoursesReplacedMapper
{
//查询最近上新列表
pub... |
package com.csd;
public interface ApplicationContext {
public Object getBean(String id);
} |
package egovframework.com.auth.pattern;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit... |
package com.oldlie.zshop.zshopvue.service.init;
/**
* @author oldlie
* @date 2020/11/1
*/
public abstract class InitBase<T> {
/**
* 子类必须实现
* @return T
*/
public abstract T getEntity();
} |
/*
* 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... |
package Breccia.parser.plain;
// Changes to this file immediately affect the next build. Treat it as a build script.
/** A build target of the present project.
*/
public enum BuildTarget {
/** A software builder compiled from source code into Java class files.
* All other targets depend on this target... |
package com.example.uncledrew.musicplayer.pojo;
public class Song {
private String name;
private String path;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPath() {
return path;
}
public v... |
/*
* Copyright 2018 Anton Popov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2002 - 2009 JEuclid, http://jeuclid.sf.net
*
* 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 2017 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file ... |
package com.ssv.template.web.security;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Component;
import com.... |
package io.cdap.plugin.sink;
import com.google.common.base.Strings;
import io.cdap.cdap.api.annotation.Description;
import io.cdap.cdap.api.annotation.Macro;
import io.cdap.cdap.api.annotation.Name;
import io.cdap.cdap.api.data.schema.Schema;
import io.cdap.cdap.api.plugin.PluginConfig;
import io.cdap.cdap.etl.api.Fai... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2022, by David Gilbert and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/index.html
... |
package com.sleuth.network.schema;
import com.sleuth.core.storage.serialize.protostuff.ProtostrffSchema;
import io.protostuff.Message;
import io.protostuff.Schema;
/**
* 节点信息
*
* @author Jonse
* @date 2019年1月24日
*/
public abstract class NodeInfoSchema extends ProtostrffSchema implements Message<NodeInfo> {
@... |
package com.oleh.chui;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class TravelAgencySpringApplicationTests {
@Test
void contextLoads() {
}
} |
package fractional;
public class Fractional {
public static void main(String[] args) {
double value = 12.56;
double fractional_part = value % 1;
double integral_part = value - fractional_part;
System.out.print("\nOriginal value: "+value);
System.out.print("\nIntegral part... |
/*
* Copyright 2013 FasterXML.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 law or agreed t... |
package org.contentmine.norma.pdf;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.contentmine.cproject.files.CTree;
import org.contentmine.norma.image.ocr.HOCRConverter;
import org.contentmine.norma.uti... |
/*
* 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 tv.mapper.embellishcraft.data.gen;
import net.minecraft.data.DataGenerator;
import net.minecraft.data.ItemTagsProvider;
import net.minecraft.tags.BlockTags;
import net.minecraft.tags.ItemTags;
import net.minecraftforge.common.Tags;
import tv.mapper.embellishcraft.data.ECTags;
import tv.mapper.mapperbase.data.B... |
/*
* Copyright 2008-2012 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 app... |
/*
* Author: Mario Macias (Barcelona Supercomputing Center). 2014
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any late... |
package io.redskap.swagger.brake.runner;
import java.util.Arrays;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
@Getter
public enum ArtifactPackaging {
JAR("jar"), WAR("war");
private final String packaging;
public static ArtifactPackaging forPackaging(String pa... |
package im.goel.jreddit.MessageTest;
import im.goel.jreddit.message.Message;
import im.goel.jreddit.message.Messages;
import im.goel.jreddit.user.User;
import java.util.List;
public class inboxTest {
/**
* @param args
*/
public static void main(String[] args) {
User user = null;
try {
user = new Us... |
package novamachina.exnihilosequentia.common.registries;
import javax.annotation.Nonnull;
public class ExNihiloRegistries {
@Nonnull
public static final CompostRegistry COMPOST_REGISTRY = new CompostRegistry();
@Nonnull
public static final CrookRegistry CROOK_REGISTRY = new CrookRegistry();
@Nonnull
publ... |
/*
* Copyright (c) 2018-2021 VMware 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.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... |
package ru.stqa.pft.addressbook.tests;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.ContactData;
import ru.stqa.pft.addressbook.model.GroupData;
import java.util.Arrays;
import java.util.stream.Collectors;
import static org.hamcrest.CoreMatchers... |
/*
* 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 ... |
public class Operator {
public final String operator;
public Operator() {
this("+");
}
public Operator(String operator) {
this.operator = operator;
}
public boolean matches(String toCheckFor) {
return this.operator.equals(toCheckFor);
}
public double operate(... |
/*
* Copyright 2001-2004 The 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.planetpeopleplatform.freegan.utils;
public interface ItemTouchHelperAdapter {
void onItemDismiss(int position);
} |
package org.ovirt.engine.ui.webadmin.section.main.view.popup.host.panels;
import java.util.Collections;
import java.util.List;
import com.google.gwt.user.client.ui.VerticalPanel;
public class SimpleNetworkItemsPanel<T extends NetworkItemPanel<?>> extends UnassignedNetworksPanel<T> {
private VerticalPanel itemsP... |
package com.codahale.dropwizard.jersey.jackson;
import com.codahale.dropwizard.logging.LoggingFactory;
import com.google.common.collect.ImmutableList;
import com.sun.jersey.api.client.UniformInterfaceException;
import com.sun.jersey.test.framework.AppDescriptor;
import com.sun.jersey.test.framework.JerseyTest;
import ... |
package som.interpreter.transactions;
import som.interpreter.nodes.dispatch.AbstractDispatchNode;
import som.interpreter.nodes.dispatch.CachedSlotWrite;
import som.interpreter.nodes.dispatch.DispatchGuard.CheckSObject;
import som.interpreter.nodes.dispatch.TypeCheckNode;
import som.vmobjects.SObject;
import som.vmobje... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensi... |
package headfirst.command.fernsteuerung;
public class GaragenTor {
String ort;
public GaragenTor(String ort) {
this.ort = ort;
}
public void hoch() {
System.out.println(ort + ": Garagentor ist offen");
}
public void runter() {
System.out.println(ort + ": Garagentor ist geschlossen");
}
public void ha... |
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.onnx;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.onnx.global.onnx.*;
@Namespace("onnx") @Opaque... |
package pack.java.prog.sandbox;
/**
* Created by Оля on 05.08.2016.
*/
public class Primes {
public static boolean isPrime(int n) {
for (int i = 2; i < n; i++) {
if (n % i == 0) {
return false;
}
}
return true;
}
public static boolean isPrimeFast(int n) {
int m = (int) Mat... |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.core.marketdatasnapshot.impl;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.fudgemsg.FudgeField... |
package com.ibm.airlock.common.util;
public class Strings {
public static StringBuilder escapeCharactersForJSON(String aText) {
final StringBuilder result = new StringBuilder();
for (int i = 0; i < aText.length(); i++) {
char character = aText.charAt(i);
if (character == '\... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_Cleartext_Tx_Sensitive_Info__listen_tcp_driverManager_81a.java
Label Definition File: CWE319_Cleartext_Tx_Sensitive_Info.label.xml
Template File: sources-sinks-81a.tmpl.java
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSourc... |
package m.co.rh.id.a_news_provider.base.dao;
import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Transaction;
import m.co.rh.id.a_news_provider.base.entity.AndroidNotification;
@Dao
public abstract class AndroidNotificationDao {
@Query("SELECT * FROM android_n... |
package cn.wizzer.app.sys.modules.models;
import cn.wizzer.app.base.modules.models.base_airport;
import cn.wizzer.framework.base.model.BaseModel;
import org.nutz.dao.DB;
import org.nutz.dao.entity.annotation.*;
import java.io.Serializable;
/**
* Created by wizzer on 2016/6/21.
*/
@Table("sys_dict")
@TableIndexes({... |
/**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package com.joaoiora.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
/**
* @author João Iora
*/
@Controller
public class LoginController {
/**
* @return
*/
@GetMapping(value = "/showLoginPage")
public String showLoginPage() {
... |
/*
* Copyright (C) 2017-2022 Objectos Software LTDA.
*
* 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 ... |
/*
* 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 info.novatec.testit.webtester.mouse;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Before;
import org.junit.Test;
import utils.integration.BaseIntTest;
import utils.events.EventCaptor;
import info.novatec.testit.webtester.events.pagefragments.ClickedEvent;
import info.novatec.te... |
package lambdasinaction.chap8;
import java.util.Arrays;
import java.util.List;
/**
* Created with IntelliJ IDEA.
* Description:
*
* @author lujiang
* @date 2019-02-09 23:01
*/
public class Debugging {
public static void main(String[] args) {
List<Point> points = Arrays.asList(new Point(12, 2), null... |
package org.ihtsdo.buildcloud.rest.controller;
import org.ihtsdo.buildcloud.rest.controller.helper.IntegrationTestHelper;
import org.ihtsdo.otf.dao.s3.S3Client;
import org.ihtsdo.otf.dao.s3.TestS3Client;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
pub... |
package org.recap.model.jpa;
import org.junit.Test;
import org.recap.BaseTestCase;
import java.util.Date;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertEquals;
/**
* Created by hemalathas on 22/6/16.
*/
public class CollectionGroupEntityUT extends BaseTestCase{
@Test
... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
package com.microsoft.appcenter.sasquatch.activities.utils;
import android.app.Activity;
import androidx.annotation.StringRes;
import androidx.test.espresso.NoMatchingRootException;
import androidx.test.espresso.NoM... |
package com.github.microkibaco.mildom.adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import com.github.microkibaco.mildom.R... |
package android.coolweather.com.coolweather.db;
import org.litepal.crud.DataSupport;
/**
* Created by Yvan on 2017/12/4.
*/
public class County extends DataSupport {
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getId(){
return id;
... |
package AsposeCellsExamples.TechnicalArticles;
import com.aspose.cells.Scenario;
import com.aspose.cells.ScenarioInputCellCollection;
import com.aspose.cells.Workbook;
import com.aspose.cells.Worksheet;
import AsposeCellsExamples.Utils;
public class CreateScenariosfromWorksheets {
public static void main(String[] ar... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package io.smallrye.mutiny.vertx.codegen.lang;
import io.smallrye.mutiny.vertx.TypeArg;
import io.vertx.codegen.ClassModel;
import io.vertx.codegen.Helper;
import io.vertx.codegen.TypeParamInfo;
import java.io.PrintWriter;
import java.util.List;
import static java.util.stream.Collectors.joining;
public class Delega... |
package math;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
*
* @author minchoba
* 백준 1193번: 분수찾기
*
* @see https://www.acmicpc.net/problem/1193/
*
*/
public class Boj1193 {
public static void main(String[] args) throws Exception{
// 버퍼를 통한 값 입력
BufferedReader br = new BufferedReade... |
package name.vtuber.vtubername.service;
import name.vtuber.vtubername.dao.BiliDdUserRepository;
import name.vtuber.vtubername.dto.DdVo;
import name.vtuber.vtubername.entity.BiliDdUser;
import name.vtuber.vtubername.entity.BiliUser;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.a... |
package jarek;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.OutputStreamWriter;
import java.net.URL;
import java.... |
package com.aadimator.android.androidlibrary;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
public class JokeActivity extends AppCompatActivity {
TextView mJokeTextView;
@Override
protected void onCreate(Bundle s... |
// This is a generated file. Not intended for manual editing.
package org.rust.devkt.lang.core.psi.impl;
import org.jetbrains.annotations.*;
import org.jetbrains.kotlin.com.intellij.psi.PsiElement;
import org.jetbrains.kotlin.com.intellij.psi.PsiElementVisitor;
import static org.rust.devkt.lang.core.psi.RsElementType... |
package org.pzy.opensource.domain.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.pzy.opensource.domain.GlobalConstant;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.Loc... |
package mage.cards.s;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.effects.common.CouncilsDilemmaVoteEffect;
import mage.cards.*;
import mage.constants.CardType;
import mage.constants.Outcome;
import mage.constants.Zone;
import mage.filter.common.FilterPermanentCard;
import mage.game.Gam... |
package org.jboss.weld.tests.builtinBeans.ee;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Foo {
@Id
@GeneratedValue
private int id;
} |
/*
* 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 applicable law or agreed t... |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.util.timeseries;
import static org.testng.AssertJUnit.assertEquals;
import javax.time.calendar.LocalDate;
import org.testng.annotations.Test;
/**
* Test {@... |
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package com.atguigu.gulimall.order.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 订单退货申请
*
* @author ChaoliTan
* @email ctan7749@gmail.com... |
/*
* The MIT License
*
* Copyright (c) 2013 Chris Frohoff
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
package me.zhengjie.uma_mes.service.dto;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
@Data
public class ChemicalFiberDeliveryDetailSalesReportDTO implements Serializable {
// 出库单号
private String scanNumber = "";
// 客户名称
private String customerName = "";
// 色号
... |
package org.woo.mservice.metadata; |
package module101packageJava0;
import java.lang.Integer;
public class Foo25 {
Integer int0;
Integer int1;
public void foo0() {
new module101packageJava0.Foo24().foo8();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
/*
Copyright (c) 2016 Robert Atkinson
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted (subject to the limitations in the disclaimer below) provided that
the following conditions are met:
Redistributions of source code must retain the above copyright... |
// "Replace explicit type with 'var'" "true"
class Main {
{
var str = m("hello, world");
}
static <T> T m(T t) {return t;}
} |
package com.kqp.ezpas.block.entity.pullerpipe;
import com.kqp.ezpas.init.Ezpas;
public class EnderPullerPipeBlockEntity extends PullerPipeBlockEntity {
public EnderPullerPipeBlockEntity() {
super(Ezpas.ENDER_PP_BLOCK_ENTITY, 10, 64, 1);
}
} |
package pl.cba.reallygrid.lbc.phys.model;
import pl.cba.reallygrid.lbc.phys.math.Vector2D;
import pl.cba.reallygrid.util.ShapePosition;
import pl.cba.reallygrid.util.ShapeSize;
import java.awt.Point;
import java.awt.geom.Point2D;
import java.util.Objects;
public class DynamicBall implements ShapePosition, ShapeSize ... |
/*
* Copyright 2017 michael-simons.eu.
*
* 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 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package org.jboss.resteasy.test.resource.request;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.test.core.basic... |
package com.catic.test.prepexpress.pages.createnewfile;
import com.catic.test.prepexpress.pages.navbar.GenericCreateNewFileNavBarFragment;
import com.catic.test.prepexpress.pages.navbar.GenericCreateNewFileNavBarFragment.ActionsMenu;
import net.serenitybdd.core.pages.PageObject;
public class HUDPage extends PageObje... |
package com.github.geniusgeek.trupple_mvp.view;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android... |
/*
* Copyright 2017 ThoughtWorks, 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... |
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Common Public
* License Version 1.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/cpl-v... |
// ----------------------------------------------------------------------------
// Copyright 2007-2014, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... |
/*******************************************************************************
* Copyright (c) 2020 Microsoft Research. All rights reserved.
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "S... |
package org.colorcoding.ibas.bobas.data.measurement;
import javax.xml.bind.annotation.XmlType;
import org.colorcoding.ibas.bobas.MyConsts;
import org.colorcoding.ibas.bobas.data.Decimal;
import org.colorcoding.ibas.bobas.mapping.DbValue;
/**
* 体积单位
*/
@XmlType(name = "emVolumeUnit", namespace = MyConsts.NAMESPACE_... |
package tw.edu.ntu.csie.mhci.tapassist.utils;
import android.app.Activity;
import android.graphics.Rect;
import android.util.Log;
import android.view.Window;
public class Layout {
public static int getStatusBar(Activity activity) {
Rect rectgle = new Rect();
Window window = activity.getWindow();
window.getDec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.