text
stringlengths
7
995k
package com.mapzen.tangram; import android.graphics.PointF; import java.util.Map; public class FeaturePickResult { private Map<String, String> properties; private PointF screenPosition; FeaturePickResult(Map<String, String> properties, float screenX, float screenY) { this.properties = propertie...
/* * 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 n...
package scraper.db; import java.time.Instant; import java.time.ZoneOffset; import java.time.ZonedDateTime; /** * The crawl record, including the crawl time as well as the time range of * changes * * @author leizh * */ public class CrawlRecordDoc extends AbstractDocument { public long crawlTime; public long ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.management.resources.models; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.azure.core.annotati...
package org.testng.xml; import org.testng.TestNGException; import org.xml.sax.SAXException; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; public class SuiteXmlParser extends XMLParser<XmlSuite> { @Override public XmlSuite parse(String currentFile, InputStream inpu...
/** * 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 under ...
/** * 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.harvest.web.service.impl; import java.util.List; import org.harvest.web.bean.Processor; import org.harvest.web.dao.IProcessorDao; import org.harvest.web.service.IProcessorService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service 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 ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package stallone.doubles; import stallone.api.doubles.IDoubleIterator; import stallone.api.doubles.IDoubleArray; import stallone.api.doubles.IDoubleElement; /** * * @author noe */ public class SparseVectorNonzeroIt...
/* * MIT License * * Copyright (c) 2019 blombler008 * * 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, modi...
/* * Copyright (C) 2018 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...
/** * 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.alipay.api.domain; import java.util.Date; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 业管平台立项信息DTO * * @author auto create * @since 1.0, 2021-10-14 10:49:26 */ public class GrmPr...
package com.ericyl.example; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void add...
package de.tobiasroeser.lambdatest; /** * A function with a parameter and a return value. * * @param <P> * The parameter type. * @param <R> * The return type. */ public interface F1<P, R> { public R apply(P param); public class Identity<I> implements F1<I, I> { public I apply(I para...
package org.petitparser.tools; import org.petitparser.context.Context; import org.petitparser.context.Result; import org.petitparser.parser.Parser; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Se...
package com.vladmihalcea.book.hpjp.hibernate.binding; import com.vladmihalcea.book.hpjp.util.AbstractTest; import com.vladmihalcea.book.hpjp.util.exception.DataAccessException; import com.vladmihalcea.book.hpjp.util.providers.entity.BlogEntityProvider; import org.junit.Test; import java.sql.PreparedStatement; import ...
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package me.leckie.demo.bean; import java.io.Serializable; /** * @author leckie * @date 6/23/15 */ public class NewsBean implements Serializable { private String newsIconUrl; private String newsTitle; private String newsContent; public String getNewsIconUrl() { return newsIconUrl; } ...
/* * 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 under t...
package org.corfudb.universe.scenario; import org.corfudb.runtime.collections.CorfuTable; import org.corfudb.universe.GenericIntegrationTest; import org.corfudb.universe.group.cluster.CorfuCluster; import org.corfudb.universe.node.client.ClientParams; import org.corfudb.universe.node.client.CorfuClient; import org.cor...
package org.jeecg.modules.demo.medicinebsale.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger...
package com.natia.secretmod.utils; import java.io.File; import java.io.IOException; import java.net.URL; import java.net.URLClassLoader; import java.util.*; import java.util.jar.JarEntry; import java.util.jar.JarFile; public class JarFileReader { public static List<Class> getClassesFromJarFile(File jarFile) throw...
package org.opensingular.flow.core.renderer; import org.apache.commons.lang3.builder.HashCodeBuilder; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util...
package com.raysmond.blog.forms; import lombok.Data; import javax.validation.constraints.NotNull; /** * @author Raysmond<i@raysmond.com>. */ @Data public class UserForm { @NotNull private String password; @NotNull private String newPassword; }
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.client.editor.simple.components; /** * Helper cla...
package sc.rocketmq.service; import java.io.UnsupportedEncodingException; import java.util.List; import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyStatus; import org.apache.rocketmq.client.exception.MQClientException; import org.apache.rocketmq.common.message.MessageExt; import org.slf4j.Logger; ...
package com.joolun.framework.web.service; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.sec...
/* * Copyright 2014 OpenMarket Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package module269packageJava0; import java.lang.Integer; public class Foo123 { Integer int0; Integer int1; public void foo0() { new module269packageJava0.Foo122().foo5(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public v...
package javax.xml.validation; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; import java.security.PrivilegedActionExcept...
/* * MIT License * * Copyright (c) 2020-2022 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors * * 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 r...
package com.example.musicplayerdome.main.adapter; import android.content.Context; import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; import com.android.liuzhuang.rcimageview.RoundCornerImageView; import com.bumptech.glide.Glide; import com.example.musicplayerdom...
package org.bhavaya.util; /** * Description * * @author Brendon McLean * @version $Revision: 1.1 $ */ public interface Condition { public boolean isTrue(); }
package com.hanks.library; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright (c) 2016 Uber Technologies, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
package com.example.examenfinal2; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; public class AdminSQLite extends SQLiteOpenHelper{ public AdminSQLite(Context context, String...
/* * Copyright 2013 Thomas Bocek * * 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 ...
/******************************************************************************* * 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...
/* * Copyright (c) 2020 sthlike.com. */ package com.sthlike.java.review.thread.lock; import java.util.Random; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; public class ShowReadWriteLock { private static ReadWr...
/* $Id: f74705961981f3f2c12cdfacd567e18043f02c61 $ * * Part of ZonMW project no. 50-53000-98-156 * * @license * 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.o...
package org.basex.query.scope; import org.basex.query.*; import org.basex.query.func.*; import org.basex.query.var.*; import org.basex.util.*; import org.basex.util.hash.*; /** * An XQuery module. * * @author BaseX Team 2005-14, BSD License * @author Leo Woerteler */ public abstract class AModule extends Static...
/* * 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...
/* * Copyright 2013-2018 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...
import com.guseyn.broken_xml.ParsedXML; import com.guseyn.broken_xml.XmlDocument; import java.io.IOException; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; class JustXmlHeadTest extends XmlSource { @Test public void test() throws IOException { final Par...
/* * The MIT License (MIT) * * Copyright (c) 2019 Twineworks GmbH * * 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 u...
/* * #%L * de.metas.externalsystem * %% * Copyright (C) 2021 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * License, or (at your option) any l...
package com.icedevcloud.learn.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableId; import java.io.Serializable; import io.swagger.annotations.ApiModel; import io.swagger.annotations.Ap...
/* * Copyright (c) 2018, http://www.snakeyaml.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.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...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ie.philb.orderingws.service.impl; import ie.philb.orderingws.dao.DaoException; import ie.philb.orderingws.dao.NoSuchEntityDaoE...
package net.neoremind.fountain.datasource; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.util.concurrent.TimeoutException; /** * ha场景下选择数据源后初始化数据源或者读取数据的回调 * @author hexiufeng * * @param <T> */ public interface DatasourceChooseCallbackHandler<T> { /** * 对数据源进行初始化...
/* * Copyright 2017 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 to ...
package eu.justas.werckerdemo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class WerckerDemoApplication { public static void main(String[] args) { SpringApplication.run(WerckerDemoApplication.class, args); }...
package solved; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.funct...
package FirstCourse.Some_Package; import java.util.*; public class Bowling { HashMap<String, Integer> players; Bowling() { players = new HashMap<String, Integer>(); } public void addPlayer(String name, int p) { players.put(name, p); } public void getWinner(HashMap players) { int max = 0; S...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.facebook.react.views.text; import android.annotation.TargetApi; import android.graphics.Color; import android.graph...
/* * The MIT License (MIT) * * Copyright (c) 2017-2019 Yegor Bugayenko * * 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 2000-2016 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 (c) 2001-2018 Mathew A. Nelson and Robocode contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * https://robocode.sourceforge.io/license/ep...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 ...
package com.service; import com.common.ServerResponse; import com.entity.BusinessTrip; import com.entity.User; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; /** * @Author:EdenJia * @Date:create in 11:28 2017/1...
/* * 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...
/* * generated by Xtext 2.25.0 */ package org.xtext.scoping; import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider; public abstract class AbstractAgenScopeProvider extends DelegatingScopeProvider { }
/* * Janssen Project software is available under the Apache License (2004). See http://www.apache.org/licenses/ for full text. * * Copyright (c) 2020, Janssen Project */ package io.jans.model.security; /** * Represents a user role. A conditional role is a special type of role that is * assigned to a user based ...
package gr.uom.java.xmi; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import javax.swing.tree.DefaultMutableTreeNode; import...
/* * 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 may...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2021 Haulmont. * * 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...
package dependencyinjection.processing.impl.tasks.objects; import java.lang.reflect.Method; import dependencyinjection.DependencyInjectionObject; import dependencyinjection.DependencyInjectionTask; import reflection.methods.access.ReflectionMethodAccessService; import reflection.methods.access.impl.ReflectionMethodAcc...
/* * Copyright (c) 2005-2021 Radiance Kirill Grouchnikov. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * th...
/******************************************************************************* * Copyright 2015 The MITRE Corporation * and the MIT Kerberos and Internet Trust Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
/* * 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 cz.zr.browser.dto.response; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import java.util.Collection; @Data @Builder @AllArgsConstructor @ApiModel public class TablesResponseDto { @ApiMo...
package br.com.zup.propostas.feign.cartao; public class NovaCarteiraResponse { private String id; private String resultado; public String getId() { return id; } public String getResultado() { return resultado; } }
package com.example.mongodbexamples; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MongodbExamplesApplication { public static void main(String[] args) { SpringApplication.run(MongodbExamplesApplic...
package Alerts; import base.BaseTests; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; public class FileUploadTests extends BaseTests { @Test public void testFileUpload() { var uploadPage = homePage.clickFileUpload(); uploadPage.uploadFile("D:\\Mohannad's Re...
/* * @(#)Application.java 1.0 2020/3/17 * * Copyright (c) 2019 JDD. All rights reserved. * PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package dsf.docrepository; /** * TODO * * @author dongshaofei3 * @version 1.0 * @since 1.0 */ public class Application { }
package org.adorsys.forge.plugins.format; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.adorsys.javaext.format.NumberType; import org.jboss.forge.shell.completer.SimpleTokenCompleter; public class NumberTypeCompleter extends SimpleTokenCompleter { private final Class<? ext...
/* * 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 under t...
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NO...
package com.pauwels.nova.commands; import com.pauwels.nova.data.NovaTypeEnum; import com.pauwels.nova.data.NovaVariable; public class CommandLeituraImpl implements Command { private final String id; private final NovaVariable var; public CommandLeituraImpl(String id, NovaVariable var) { this.id =...
/* * Copyright (C) 2006 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 applicable l...
package com.appleframework.boot.core.logging.log4j; import org.apache.log4j.Level; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; public class Log4jUtils { public static Level getRootLoggerLevel() { Logger logger = LogManager.getLoggerRepository().getRootLogger(); return logger.getLevel(); ...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
/* * Copyright 2020 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 a...
/* * The MIT License (MIT) * * Copyright (c) 2015 Essence <http://essencemc.org> * Copyright (c) 2015 contributors * * 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 restrictio...
/* * Copyright (C) 2018 Phil Gaiser * * 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...
/* * Copyright (c) 2017 San Jose State University. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
/* * 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")...
package chapter4_factory_pattern.pizzas; public class ClamPizza extends Pizza { public ClamPizza() { name = "Clam Pizza"; dough = "Thin crust"; sauce = "White garlic sauce"; toppings.add("Clams"); toppings.add("Grated parmesan cheese"); } }
package at.outdated.bitcoin.exchange.api.jaxb; import at.outdated.bitcoin.exchange.api.market.OrderType; import javax.xml.bind.annotation.adapters.XmlAdapter; /** * Created by ebirn on 08.02.14. */ public class OrderTypeAdapter extends XmlAdapter<String,OrderType> { @Override public OrderType unmarshal(St...
/* * Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io> * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package io.proleap.cobol.asg.metamodel.procedure.move; import java.util.List; import io.pro...
package net.fs.netty.proxy; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.Channel; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.util.ReferenceCountUtil; import org.apache.commons.logging.Log; import org...
/* * Copyright 2020 OPPO ESA Stack Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2013-2020 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...