text stringlengths 7 1.01M |
|---|
package com.atguigu.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* spu属性值
*
* @author bit3tbb
* @email bit3tbb@gmail.com
* @date 2022-01-06 15:16:21
... |
/*
* Copyright (c) 2003-2012 Fred Hutchinson Cancer Research Center
*
* 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 requ... |
package rocks.cleanstone.endpoint.minecraft.vanilla.net.packet.enums;
public enum Direction {
SOUTH(0),
WEST(1),
NORTH(2),
EAST(3);
private final int directionID;
Direction(int directionID) {
this.directionID = directionID;
}
public static Direction fromDirectionID(int direct... |
package lambdasinaction.chap11;
import java.util.concurrent.Future;
public class AsyncShopClient {
public static void main(String[] args) {
AsyncShop shop = new AsyncShop("BestShop");
long start = System.nanoTime();
Future<Double> futurePrice = shop.getPrice("myPhone");
long incocationTime = ((System.nanoTi... |
/*
* 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 ... |
/**
* $URL$
* $Id$
*
* Copyright (c) 2006-2009 The Sakai Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses... |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 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... |
package org.egov.echallan.web.models.calculation;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import org.egov.echallan.model.Challan;
import org.hibernate.validator.constraints.SafeHtml;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotNull... |
package com.example.bibek.myapplication;
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 {
... |
/*
* The MIT License
* Copyright © 2014-2021 Ilkka Seppä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, copy... |
package io.metadew.iesi.metadata.definition.script.result;
import io.metadew.iesi.connection.elasticsearch.ElasticSearchDocument;
import org.apache.logging.log4j.Marker;
import org.apache.logging.log4j.MarkerManager;
import java.time.LocalDateTime;
public class ScriptResultElasticSearch implements ElasticSearchDocum... |
package me.shaohui.advancedlubanexample;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.provider.OpenableColumns;
import android.support.v7.app.AppCompatActivity;
import android.text.format.Formatter;
i... |
package com.sun.corba.se.spi.activation;
/**
* com/sun/corba/se/spi/activation/ORBPortInfoListHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u191/11896/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.id... |
package com.github.hachimann.mlkit_barcode_scanning.barcodedetection;
import android.os.Parcel;
import android.os.Parcelable;
public class BarcodeField implements Parcelable {
String label;
String value;
public BarcodeField(String label, String value) {
this.label = label;
this.value = va... |
/*
============================================================================
The Apache Software License, Version 1.1
============================================================================
Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
Redistribution and ... |
package ch.deletescape.lawnchair.widget;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnLayoutChangeListener;
import android.view.ViewGroup;
import android.widget.LinearLayout;
impor... |
package org.hisp.dhis.importexport.importer;
/*
* Copyright (c) 2004-2012, 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 ... |
/*
* (C) Copyright 2006-2017 Nuxeo (http://nuxeo.com/) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.48
* Generated at: 2021-08-27 03:07:46 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.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
* "Licens... |
package com.github.e2point718.eclipse.diagramview;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.ec... |
package lucene.spec;
import java.util.Map;
import util.IndexUtils;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.github.ddth.commons.utils.DPathUtils;
import com.github.ddth.dao.BaseBo;
/**
* Spec for a field.
*
* @author Thanh Nguyen <btnguyen2k@gmail.com>
* @since 0.1.0
*/
public class Fiel... |
package com.stylefeng.guns.rest.common.persistence.dao;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.rest.modular.order.vo.OrderVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface OrderVOMapper extends BaseMapper<OrderVO> {
List<OrderVO... |
package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... |
package com.rbkmoney.fraudbusters.converter;
import org.springframework.core.convert.converter.Converter;
import java.util.List;
import java.util.stream.Collectors;
public interface BatchConverter<T, U> extends Converter<T, U> {
default List<U> convertBatch(List<T> fraudResults) {
return fraudResults.st... |
/*
* 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
... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/keyword_plan_common.proto
package com.google.ads.googleads.v10.common;
/**
* <pre>
* The aggregate metrics specification of the request.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v10.common.Keyword... |
/*
* 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.strandls.naksha.utils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
impo... |
/*
* 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 applica... |
package crazypants.enderio.base.loot;
import javax.annotation.Nonnull;
import com.enderio.core.common.util.NullHelper;
import crazypants.enderio.base.EnderIO;
import crazypants.enderio.base.fluid.Fluids;
import crazypants.enderio.base.init.ModObject;
import crazypants.enderio.base.material.alloy.Alloy;
import crazyp... |
/**
* Copyright 2007-2015, Kaazing Corporation. 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 require... |
/*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
package com.fairy.cloud.portal.service;
import com.fairy.cloud.common.api.CommonResponse;
import com.fairy.cloud.mbg.model.po.PmsComment;
import com.fairy.cloud.mbg.model.po.PmsCommentReplay;
import org.springframework.transaction.annotation.Transactional;
public interface PortalProductCommentService {
/**
... |
package com.koch.ambeth.util.io;
/*-
* #%L
* jambeth-util
* %%
* Copyright (C) 2017 Koch Softwaredevelopment
* %%
* 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/... |
package de.tudresden.inf.st.mquat.benchmark;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.File;
import java.io.IOException;
import java.net.URL;
public class Utils {
static ObjectMapper getMapper() {
ObjectMapper mapper = new ObjectMapper();
... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.security.authc;
import org.apache.logging.lo... |
/*
Copyright 2010-2017 BusinessCode GmbH, Germany
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... |
/*
* 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... |
/*L
* Copyright Georgetown University, Washington University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cab2b/LICENSE.txt for details.
*/
package edu.wustl.cab2b.server.util;
import static edu.wustl.cab2b.common.errorcodes.ErrorCodeConstants.DE_0003;
impo... |
/*
* TopStack (c) Copyright 2012-2013 Transcend Computing, 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 top.jshanet.scorpio.framework.status;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface StatusPrefix {
String value... |
package water.parser;
import org.apache.commons.io.IOUtils;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import water.*;
import water.api.schemas3.ParseSetupV3;
import wa... |
/*
* Copyright (C) 2013 Sean J. Barbeau
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package com.identity.auth.business.resource;
import lombok.Data;
import javax.validation.constraints.Size;
@Data
public class UserCredentials implements Identifiable {
@Size(min = 8, max = 30)
private String userName;
@Size(min = 8, max = 30)
private char[] password;
private Long id;
@Over... |
package com.mapswithme.maps.dialog;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.DialogInterface;
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.Aler... |
/*
* Copyright 2018 The Error Prone 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) 2017 org.hrodberaht
*
* 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... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frm_Doktor.java
*
* Created on Dec 23, 2011, 6:44:11 AM
*/
package PBS;
/**
*
* @author Nano
*/
public class Frm_Doctor_Screen extends javax.swing.JFrame {
/** Creates new form Frm_Doktor */
public... |
package com.symphony.bdk.workflow.engine.executor.room;
import com.symphony.bdk.gen.api.model.Stream;
import com.symphony.bdk.gen.api.model.V3RoomAttributes;
import com.symphony.bdk.gen.api.model.V3RoomDetail;
import com.symphony.bdk.workflow.engine.executor.ActivityExecutor;
import com.symphony.bdk.workflow.engine.ex... |
package com.github.braisdom.objsql.intellij;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.*;
import com.intellij.psi.impl.source.SourceJavaCodeReference;
import com.intellij.util.ArrayUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains... |
package io.prashanth.scrappy;
import io.prashanth.scrappy.extensions.ExcelRead;
import io.prashanth.scrappy.extensions.ExcelWrite;
import io.prashanth.scrappy.extensions.SMPTHandler;
import java.io.IOException;
public class GoogleScrappingEngine {
public static boolean DriverInfo = false;
public static void main... |
package com.migs.cosmodemo.config;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoDatabase;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import java.net.UnknownHostException... |
/*
* 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 not u... |
package com.pisces.core.converter;
import com.pisces.core.entity.BaseDeserializer;
import com.pisces.core.entity.Property;
public class BooleanDeserializer extends BaseDeserializer<Boolean> {
@Override
public Boolean deserialize(Property property, String value) {
return Boolean.valueOf(value);
}
}
... |
package net.shadersmod.client;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.imag... |
package org.openstreetmap.atlas.geography.atlas.command;
import java.io.PrintStream;
import java.util.Collections;
import java.util.Optional;
import org.apache.commons.io.FilenameUtils;
import org.openstreetmap.atlas.geography.MultiPolygon;
import org.openstreetmap.atlas.geography.atlas.Atlas;
import org.openstreetma... |
/*
* 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... |
/*
* Copyright (c) 2008 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package br.com.qintess.projetovisualizarvideo14a;
public class Visualizacao {
// atributos
private Gafanhoto espectador;
private Video filme;
//construtor
public Visualizacao(Gafanhoto espectador, Video filme) {
this.espectador = espectador;
this.filme = filme;
this.espectador.setTotAssistindo(this.espectador... |
package com.alimuzaffar.newvolleyproject;
import android.util.Log;
import com.android.volley.AuthFailureError;
import com.android.volley.Request;
import com.android.volley.Request.Method;
import com.android.volley.toolbox.HttpStack;
import java.io.IOException;
import java.security.SecureRandom;
import java.security.... |
/*
* Copyright (c) 2016. 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... |
/**
* 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.jasongj.proxy.staticproxy;
import com.jasongj.subject.ISubject;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.lang.reflect.UndeclaredThrowableException;
public final class $Proxy17 extends Proxy implements ISubject {
private stat... |
/*
* Copyright 2017-present Open Networking 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 appli... |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal;
import static org.mockito.internal.exceptions.Reporter.missingMethodInvocation;
import static org.mockito.internal.exceptions.Reporter.mocksHaveToBePassedToVerifyNoMoreI... |
package uk.gov.justice.probation.courtcaseservice.service.mapper;
import java.util.List;
import java.util.Objects;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import uk.gov.justice.probation.courtcaseservice.jpa.entity.BaseImmutableEntity;
import uk.gov.justice.probation.courtcaseservic... |
/*
* 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... |
package com.mapfinal.geometry;
import java.util.List;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.Envelope;
import org.locationtech.jts.geom.Geometry;
import org.locationtech.jts.geom.LineString;
import org.locationtech.jts.geom.LinearRing;
public class GeoPolygon implements Geom {
... |
package com.dihanov.musiq.data.usecase;
import com.dihanov.musiq.data.network.LastFmApiClient;
import com.dihanov.musiq.data.repository.user.UserSettingsRepository;
import com.dihanov.musiq.models.UserInfo;
import com.dihanov.musiq.util.Constants;
import com.dihanov.musiq.util.SigGenerator;
import javax.inject.Inject... |
/**
* Copyright 2011-2021 Asakusa Framework 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 applicable... |
package alexmog.rulemastersworld.server;
import alexmog.rulemastersworld.AccountConnection;
import alexmog.rulemastersworld.Game;
import alexmog.rulemastersworld.MyEntry;
import alexmog.rulemastersworld.packets.DisconnectedPacket;
import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Lis... |
package guru.springframework.sfgpetclinic.fauxspring;
import java.util.HashMap;
import java.util.Map;
public class ModelMapImpl implements Model{
Map<String, Object> map = new HashMap<>();
@Override
public void addAttribute(String key, Object o) {
map.put(key, o);
}
@Override
publi... |
package oeg.feather.keygen;
public class TimeService {
public TimeService() {
}
public long getCurrentMillis() {
return System.currentTimeMillis();
}
}
|
package fi.om.municipalityinitiative.dto.user;
import fi.om.municipalityinitiative.dto.service.Municipality;
public class OmLoginUser extends User {
private final String name;
OmLoginUser(String name) {
this.name = name;
}
@Override
public boolean tooYoungForVerifiedParticipation() {
... |
package net.sf.f3270;
/**
* Defines the host code page, used by the terminal emulator.
*
* @author kdoerges
*
*/
public enum HostCharset {
BELGIAN("belgian", "500"),
BELGIAN_EURO("belgian-euro", "1148"),
BRACKET("bracket", "037"),
BRAZILIAN("brazilian", "275"),
CHINESE_GB18030("chinese-gb180... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* 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... |
/*
* Copyright 2019 EIS Ltd and/or one of 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 ... |
package edu.uchicago.nmaheshwari.vaadin.views.main;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.ComponentUtil;
import com.vaadin.flow.component.applayout.AppLayout;
import com.vaadin.flow.component.applayout.DrawerToggle;
import com.vaadin.flow.component.avatar.Avatar;
import com.vaadi... |
/*
* 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... |
package pack;
import java.util.ArrayList;
/**
* Controller class, where all the logic of the program is computed
*
* @author Victtor da Silva Mendes
*/
public class Controller {
/**
*
* @param user the user that is going to use the program
*/
public Controller(User user) {
coins = ... |
package robotics.mbe60_network_messages;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumAction;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Ac... |
package com.juncoder.aggregationnews.module.bean;
import java.util.List;
/**
* Created by zhongjuncoder on 2017/9/11.
* email:1247660633@qq.com
* <p>
*/
public class MeiZi {
private boolean error;
private List<ResultsBean> results;
public boolean isError() {
return error;
... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2016, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... |
package com.github.sider.javasee;
import com.github.sider.javasee.ast.AST;
import com.github.sider.javasee.parser.JavaSeeParser;
import com.github.sider.javasee.parser.ParseException;
import org.junit.jupiter.api.Test;
import org.yaml.snakeyaml.Yaml;
import java.io.File;
import java.io.StringReader;
import java.util.... |
package com.simibubi.create.modules.schematics.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.material.Material;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShape... |
/*
* Copyright 2002-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 ap... |
package com.github.marschall.threeten.jpa.oracle;
import java.time.Period;
import javax.persistence.AttributeConverter;
import javax.persistence.Converter;
import com.github.marschall.threeten.jpa.oracle.impl.IntervalConverter;
import oracle.sql.INTERVALYM;
/**
* Converts {@link INTERVALYM} to {@link Period} and ... |
package br.com.carloswgama.firebase;
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... |
package com.alias.custompulltorefresh.widget;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.TypedArray;
import android.os.AsyncTask;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import a... |
package com.ossez.suites;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.platform.suite.api.SelectPackages;
import org.junit.runner.RunWith;
@RunWith(JUnitPlatform.class)
@SelectPackages("com.baeldung")
// @SelectClasses({AssertionTest.class, AssumptionTest.class, ExceptionTest.class})
public class ... |
/*
* Copyright (c) 2019-2021 GeyserMC. http://geysermc.org
*
* 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,... |
// Generated by view binder compiler. Do not edit!
package com.codepath.apps.restclienttemplate.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.GridLayout;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import andro... |
package com.github.bjlhx15.xgen.util.readxml;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.w3c.dom.Element;
public class ElementsTerminalExpression
extends ReadXmlExpression
{
private String eleName = "";
private String condition = "";
public ElementsTerminalE... |
package b.g.a.e;
import android.text.TextUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class e {
public String a;
public e(Map<String, Object> map) {
String str;
ArrayList arrayList = new ArrayList();
for (Map map2 : (List) map.get("rules")) {
... |
package com.zhongshi.mvc.config.rest;
import java.io.IOException;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.client.ClientHttpResponse;
import org.spring... |
package org.xmlcml.cproject.args.log;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
public class CMineLogRecord {
private static final Logger LOG = Logger.getLogger(CMineLogRecord.class);
static {
LOG.setLevel(Level.DEBUG);
}
private List<St... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.