text
stringlengths
7
995k
package com.github.nhirakawa; import static org.assertj.core.api.Assertions.assertThat; import com.github.nhirakawa.models.OpCode; import com.github.nhirakawa.models.OpCodeType; import org.junit.Test; public class JipUtilsTest { @Test public void itGetsOpCodeType() { int op1 = 0x00; int op2 = 0xE0; ...
package com.eu.habbo.plugin.events.users; import com.eu.habbo.habbohotel.rooms.RoomTile; import com.eu.habbo.habbohotel.users.Habbo; import com.eu.habbo.habbohotel.users.HabboItem; public class UserRolledEvent extends UserEvent { /** * The roller the RoomUnit has been rolled by. */ public final Habb...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.nem.nis.validators.transaction; import org.hamcrest.MatcherAssert; import org.hamcrest.core.IsEqual; import org.junit.*; import org.mockito.Mockito; import org.nem.core.model.*; import org.nem.core.model.namespace.*; import org.nem.core.model.primitive.*; import org.nem.core.test.Utils; import org.nem.core...
package com.sevenmindev.middach.util; import android.app.Application; import android.content.pm.ApplicationInfo; import android.util.Log; import javax.inject.Inject; /** * Originally from RoboGuice: * https://github.com/roboguice/roboguice/blob/master/roboguice/src/main/java/roboguice/util/Ln.java * <p/> * A m...
package com.huaweicloud.sdk.vpc.v2.model; import com.huaweicloud.sdk.core.SdkResponse; import java.util.function.Consumer; import java.util.Objects; /** * Response Object */ public class DeleteVpcRouteResponse extends SdkResponse { @Override public boolean equals(java.lang.Object o) { if (this ...
/** * **************************************************************************** * 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 t...
package panda.el.opt.arithmetic; import panda.el.ELContext; import panda.el.opt.AbstractTwoOpt; /** * "/" */ public class DivOpt extends AbstractTwoOpt { public int getPriority() { return 3; } public Object calculate(ELContext ec) { Number lval = (Number)getLeft(ec); Number rval = (Number)getRight(ec); ...
package us.ihmc.robotics.partNames; import org.apache.commons.lang3.tuple.ImmutablePair; import us.ihmc.robotics.geometry.RigidBodyTransform; import us.ihmc.robotics.robotSide.RobotSide; public interface HumanoidJointNameMap extends JointNameMap { public ImmutablePair<RobotSide, LegJointName> getLegJointName(Stri...
package com.jurua.api.crowdshare.model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * @author 张博【zhangb@lianliantech.cn】 * @since 2018/4/23 下午1:44 */ @ApiModel(value = "鱼泡表") public cla...
/// usr/bin/env jbang "$0" "$@" ; exit $? //DEPS org.assertj:assertj-core:3.21.0 //DEPS org.apache.commons:commons-math3:3.6.1 package edu.jab.math; import static org.assertj.core.api.Assertions.assertThat; import org.apache.commons.math3.util.FastMath; public class Problem20220113 { public static void main(St...
package raytracer; import static com.google.common.truth.Truth.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public class IntersectionsTest { @Test public void hitTestPositives() { Sphere s = new Sphere(); Intersection i1 = In...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.datatransfer; import java.io.ByteArrayInputStream; import java.io.CharArrayReader; im...
package uk.co.littlemike.editree.text.statements; import org.junit.Before; import org.junit.Test; import uk.co.littlemike.editree.language.expressions.BooleanConstant; import uk.co.littlemike.editree.language.statements.VariableDeclaration; import uk.co.littlemike.editree.language.statements.control.WhileLoop; import ...
/* * Copyright (c) 2018, 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/l...
package thinkinjava.enumerated;//: enumerated/BigEnumSet.java import sun.misc.SharedSecrets; import java.util.EnumSet; public class BigEnumSet { enum Big { A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A26, A27, A28, A29, A30, A31, A...
/* * Copyright 2022 Deep Learning on Flink Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package com.commercetools.api.models.zone; import java.time.*; import java.util.*; import java.util.function.Function; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** * <...
package Listas; public class Nodo<E extends Comparable> { protected E key; protected Nodo<E> next; public Nodo() { super(); } public Nodo(E key) { super(); this.key = key; } public E getKey() { return key; } public void setKey(E key) { this.key = key; } public Nodo<E> getNext() { return ...
package io.sharq.platform.kvs.kafka; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; import java.util.stream.StreamSupport; import javax.enterprise.context.ApplicationScoped; import jav...
package ij.process; import java.awt.*; import java.awt.image.*; import ij.*; import ij.gui.*; import ij.measure.*; /** This class does stack type conversions. */ public class StackConverter { ImagePlus imp; int type, nSlices, width, height; public StackConverter(ImagePlus imp) { this.imp = imp; type = imp.get...
/** * 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.example.lottery.service; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import java.util.stream.IntStream; import org.springframework.stereotype.Service; @Service public class LotteryService { public List<Integer> draw(int max, int size){ return ThreadLocalRandom.current() ...
/* * This file is part of intellij-useful. It is subject to the licence terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/KisanHub/intellij-useful/master/COPYRIGHT. No part of intellij-orogeny, including this file, may be copied, modified, propag...
/* * Copyright 2015-2020 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 com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.CPAliveBillEntrySet; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.eco.cplife.bill.delete response. * * @auth...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 行业二级分类预测 * * @author auto create * @since 1.0, 2021-03-22 10:27:13 */ public class ZhimaOpenAppHylabeltwoQueryModel extends AlipayObject { private static final long serialVersionUID = 53742...
package frc.robot.simulator; import java.util.*; import com.ctre.phoenix.motorcontrol.can.*; /** * Manages physics simulation for CTRE products. */ public class CTREPhysicsSim { private static final CTREPhysicsSim sim = new CTREPhysicsSim(); /** * Gets the robot simulator instance. */ public ...
/* * 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.ruoyi.asset.mapper; import java.util.List; import com.ruoyi.asset.domain.AssetSales; /** * 资产租售Mapper接口 * * @author yepanpan * @date 2021-03-05 */ public interface AssetSalesMapper { /** * 查询资产租售 * * @param id 资产租售ID * @return 资产租售 */ public AssetSales selectAssetS...
package test; import model.*; import org.junit.Before; import org.junit.Test; import java.awt.event.KeyEvent; import java.util.List; import static org.junit.Assert.*; public class GameTest { private Game game; @Before public void runBefore() { game = new Game(); } @Test public voi...
/* * Copyright (c) 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * 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.neway6655.parallel.executor; import com.google.common.collect.Lists; import com.neway6655.parallel.executor.task.ParallelTask; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; import java.util.concurrent.*; /** * Created by neway on 12/7/15. */ public class ParallelExecut...
/** * Copyright (c) 2015 Intel 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 ...
package algorithm.design.creation.FactoryPattern.FactoryTrans.mode.impl; import algorithm.design.creation.FactoryPattern.FactoryTrans.mode.TransportMode; import algorithm.design.creation.FactoryPattern.transportation.Bus; /** * Title:公交车子类 * Desc: * * @Author: Songlin * @create: 2020/12/17-19:19 */ public class...
package br.unicamp.ic.lsd.mercurius.creditcardmgr.spec.prov; import java.math.BigDecimal; import br.unicamp.ic.lsd.mercurius.datatype.Payment; import br.unicamp.ic.lsd.mercurius.datatype.PaymentMethod; import br.unicamp.ic.lsd.mercurius.datatype.PaymentNotification; public interface CreditCardMgt { /** * Returns...
package registofatura.ws.domain; import org.joda.time.DateTime; public class Serie extends Serie_Base { private final pt.registofatura.ws.Serie stubSerie; public Serie(int nifEmissor, int numSerie, DateTime validoAte) { super(); this.stubSerie = new pt.registofatura.ws.Serie(); ...
/* * Copyright 2014 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 applica...
package com.ruoyi; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; /** * 启动程序 * * @author ruoyi */ @SpringBootAp...
package com.github.mfatihercik.dsb.json; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.mfatihercik.dsb.expression.ExpressionResolver; import com.github.mfati...
package seedu.address.model.appointment; import java.util.List; import java.util.function.Predicate; /** * Tests that an {@code Appointment}'s {@code Id} matches any of the keywords given. */ public class AppointmentContainsIdPredicate implements Predicate<Appointment> { private final List<Integer> keywords; ...
/* * Copyright © 2016-2018 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright 2016-2019 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://ww...
/* * 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 ...
package io.swagger.model.pheno; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModelProperty; import io.swagger.model.GeoJSONSearchArea; import io.swagger.model.SearchRequest; import io.swagger.model.SearchRequestParametersPaging; import java.util.Arr...
package com.event.discovery.agent.framework.model; import java.util.List; import java.util.Map; public interface NormalizedEvent { String getChannelName(); String getChannelType(); // Include the schema if its available String getSchema(); void setSchema(String schema); SchemaType getSche...
package athena.party.event.member.connection; import athena.json.JsonSearch; import athena.party.event.member.StandardMemberEvent; import javax.json.JsonObject; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneOffset; /** * An event used to notify when a party member has disconnected. ...
/* * 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 * "Lic...
/* * 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 cortana.gui; import sleep.runtime.*; import sleep.bridges.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class ScriptedMenuItem extends JMenuItem implements ActionListener { protected String label; protected SleepClosure code; protected MenuBridge bridge; protected...
package com.google.android.gms.internal.ads; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ final /* synthetic */ class zzczb implements Runnable { private final zzcza zzgsd; zzczb(zzcza zzcza) { this.zzgsd = zzcza; } public final void run() { this.zzgsd.zzaqr()...
/* * Copyright 2017 AppDirect, 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 applicable law ...
package com.nateshao.dao.impl; import com.nateshao.dao.CustomerDao; import com.nateshao.po.Customer; import org.mybatis.spring.support.SqlSessionDaoSupport; /** * @date Created by 邵桐杰 on 2021/10/26 15:02 * @微信公众号 程序员千羽 * @个人网站 www.nateshao.cn * @博客 https://nateshao.gitee.io * @GitHub https://github.com/nateshao ...
package org.nearbyshops.DAOPreparedOrders; import com.zaxxer.hikari.HikariDataSource; import org.nearbyshops.Globals.Globals; import org.nearbyshops.Model.Order; import org.nearbyshops.Model.OrderItem; import org.nearbyshops.ModelDelivery.DeliveryAddress; import org.nearbyshops.ModelEndpoint.OrderEndPoint; import org....
package org.vivecraft.api; import net.minecraft.entity.player.PlayerEntity; import net.optifine.Config; import net.optifine.http.FileDownloadThread; import org.vivecraft.render.PlayerModelController; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.LinkedList; import java.util.List...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/** * Copyright (c) 2016-2019 蜂鸟开源 All rights reserved. * * https://www.hummingbird.io * * 版权所有,侵权必究! */ package io.hummingbird.entity; import java.util.List; /** * 表数据 * * @author Top */ public class TableEntity { //表的名称 private String tableName; //表的备注 private String comments; //表的主键 private Column...
/* * Copyright © 2021-present Arcade Data Ltd (info@arcadedata.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 requ...
package architecture; import com.tngtech.archunit.core.importer.ImportOption; import com.tngtech.archunit.junit.AnalyzeClasses; import com.tngtech.archunit.junit.ArchTest; import com.tngtech.archunit.lang.ArchRule; import static architecture.ArchitectureConstants.DEFAULT_PACKAGE; import static com.tngtech.archunit.li...
/* * Copyright 2017-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 a...
package com.roncoo.education.course.service.pc.req; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; /** * 课程分类-查看 * * @author wujing */ @Data @Accessors(chain = true) public class CourseCategoryViewREQ implements Serializable ...
/* * (C) Copyright IBM Corp. 2019, 2021 * * 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.m...
/* * Copyright 2012-2017 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 dijkspicy.ms.base.errors; import dijkspicy.ms.base.XXXException; /** * SystemServerException * * @author dijkspicy * @date 2018/7/17 */ public class SystemServerException extends XXXException { private static final long serialVersionUID = 345649981650571902L; public SystemServerException(String...
@interface Annotation { Class foo () default String.class; int field; void m() {} class C {} interface I {} }
/******************************************************************************* * Copyright (c) 2011, 2012 Red Hat, Inc. * All rights reserved. * This program is made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse....
package org.drools.games.pong; import org.kie.definition.type.PropertyReactive; @PropertyReactive public class Player { private PlayerId id; private int score; private Bat bat; public Player(PlayerId id, Bat bat) { this.id = id; this.bat = bat; ...
/* * Copyright 2000-2009 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 com.example.jinjinz.concertprev.databases; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.Uri; /** * Created ...
// The MIT License (MIT) // Copyright © 2015 AppsLandia. All rights reserved. // 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 ...
/* * Copyright (c) 2016 to Adam van der Kruk (Zehavi) AKA TacB0sS - Nu-Art * * Restricted usage under specific license * */ package com.nu.art.http; import com.nu.art.belog.consts.LogLevel; import com.nu.art.core.exceptions.runtime.BadImplementationException; import com.nu.art.core.generics.Processor; import com...
package aQute.bnd.component; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import aQute.bnd.osgi.WriteResource; import aQute.lib.tag.Tag; public class TagResource extends WriteResource { final Tag tag; public TagResource(Ta...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.hazelcast.protocol; import org.junit.Test; import org.hazelcast.ProtocolTest; public class TopflytechProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { TopflytechProtocolDecoder decoder = new TopflytechProtocolDecoder(null); verifyPositi...
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * 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 ...
/********************************************************************************* * * * The MIT License (MIT) * * ...
package xyz.shirokuro.scriptblockimproved.listener; import xyz.shirokuro.scriptblockimproved.ActionQueue; import xyz.shirokuro.scriptblockimproved.BlockPosition; import xyz.shirokuro.scriptblockimproved.ScriptBlockImproved; import xyz.shirokuro.scriptblockimproved.ScriptHandler; import xyz.shirokuro.scriptblockimprove...
/* * Copyright 2017 Pavel Fatin, https://pavelfatin.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 applicab...
/* * Copyright 2019 WeBank * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
package online.damfood.damfood.penjual; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import java.util.ArrayList; import java.util.Arrays; import online.damfood.dam...
package com.lzy.imagepicker.imageloader; import android.app.Activity; import android.content.Context; import android.net.Uri; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.load.engine.DiskCacheStrategy; import com.lzy.imagepicker.R; import com.lzy.imagepicker.loader.Image...
/* * Copyright 2016 Google LLC * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following discl...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package strategy; public class ContextFinal { private Strategy strategy; public ContextFinal(String str) { switch (str) { case "A": strategy = new ConcreteStrategyA(); break; case "B": strategy = new ConcreteStrategyB(); ...
package io.swagger.codegen; import com.sun.org.apache.xpath.internal.operations.Mod; import io.swagger.models.*; import io.swagger.models.parameters.BodyParameter; import io.swagger.models.parameters.Parameter; import io.swagger.models.parameters.RefParameter; import io.swagger.models.properties.*; import io.swagger.u...
package com.exercise.mysys.dao; import com.exercise.mysys.domain.Customer; import com.exercise.mysys.domain.SysUser; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; /** * @ProjectName 食品企业订货销售系统 * @Author 朱向阳 * @Date 2018/7...
/* * 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 ...
/* ==================================================================== 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 Y...
package ru.job4j.lambda; import java.util.Set; /** *Class Student хранит имена студентов. *@author chupin *@since 28.04.2020 */ public class Student { private String name; private Set<String> units; public Student(String name, Set<String> units) { this.name = name; this.units = units...
/* * $Id: BaseStructure.java 3807 2014-11-22 06:53:49Z pspeed $ * * Copyright (c) 2014, Simsilica, LLC * 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 sou...
/* * 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 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.resolve.lazy.descriptors; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiNameIdentifierOwner; import kotlin.an...
package com.ethlisbon.blsit.controllers; import com.ethlisbon.blsit.model.SignatureRequest; import com.ethlisbon.blsit.model.SignatureResponse; import org.apache.tuweni.bytes.Bytes; import org.apache.tuweni.bytes.Bytes32; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.MediaT...
package clube.model.security; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persi...
/* * Copyright 2009 The Closure Compiler 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...